-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
89 additions
and
73 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,7 @@ | |
const props = defineProps({ | ||
active: { | ||
type: Boolean, | ||
required: true | ||
} | ||
required: true, | ||
}, | ||
}); | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,8 +20,8 @@ | |
const props = defineProps({ | ||
rank: { | ||
type: String, | ||
required: true | ||
} | ||
required: true, | ||
}, | ||
}); | ||
</script> | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
import Vue3Toastify, { Options, toast } from 'vue3-toastify'; | ||
import Vue3Toastify, { type Options, toast } from 'vue3-toastify'; | ||
import { defineNuxtPlugin } from '#app'; | ||
import 'vue3-toastify/dist/index.css'; | ||
|
||
export default defineNuxtPlugin((nuxtApp) => { | ||
nuxtApp.vueApp.use(Vue3Toastify, { | ||
theme: 'dark', | ||
position: 'bottom-right' | ||
} as Options as any); | ||
position: 'bottom-right', | ||
} as Options); | ||
|
||
return { | ||
provide: { toast } | ||
provide: { toast }, | ||
}; | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,70 +1,70 @@ | ||
export interface Member { | ||
name: string; | ||
rank: string; | ||
uuid: string; | ||
kills: number; | ||
deaths: number; | ||
wins: number; | ||
name: string; | ||
rank: string; | ||
uuid: string; | ||
kills: number; | ||
deaths: number; | ||
wins: number; | ||
} | ||
|
||
export interface Modifier { | ||
name: string; | ||
enabled: boolean; | ||
material: string; | ||
description: string[]; | ||
web: string[]; | ||
name: string; | ||
enabled: boolean; | ||
material: string; | ||
description: string[]; | ||
web: string[]; | ||
} | ||
|
||
export interface Team { | ||
name: string; | ||
colors: number[]; | ||
name: string; | ||
colors: number[]; | ||
} | ||
|
||
export interface Game { | ||
id: number; | ||
name: string; | ||
type: string; | ||
status: string; | ||
alive: string[]; | ||
players: string[]; | ||
modifiers: string[] | undefined; | ||
logs: string[]; | ||
moles: string[] | undefined; | ||
teams: Team[] | undefined; | ||
events: string[] | undefined; | ||
playerRoles: Record<string, string> | undefined; | ||
playerTeams: Record<string, string> | undefined; | ||
finalTeams: Record<string, string> | undefined; | ||
hours: number; | ||
minutes: number; | ||
seconds: number; | ||
startDate: number; | ||
scheduleDate: number; | ||
archiveDate: number; | ||
id: number; | ||
name: string; | ||
type: string; | ||
status: string; | ||
alive: string[]; | ||
players: string[]; | ||
modifiers: string[] | undefined; | ||
logs: string[]; | ||
moles: string[] | undefined; | ||
teams: Team[] | undefined; | ||
events: string[] | undefined; | ||
playerRoles: Record<string, string> | undefined; | ||
playerTeams: Record<string, string> | undefined; | ||
finalTeams: Record<string, string> | undefined; | ||
hours: number; | ||
minutes: number; | ||
seconds: number; | ||
startDate: number; | ||
scheduleDate: number; | ||
archiveDate: number; | ||
} | ||
|
||
export interface GameResponse { | ||
games: Game[]; | ||
archivedGames: Game[]; | ||
games: Game[]; | ||
archivedGames: Game[]; | ||
} | ||
|
||
export interface Stats { | ||
games: number; | ||
members: number; | ||
modifiers: number; | ||
games: number; | ||
members: number; | ||
modifiers: number; | ||
} | ||
|
||
export interface DiscordProfile { | ||
id: number; | ||
username: string; | ||
id: number; | ||
username: string; | ||
} | ||
|
||
export interface MinecraftProfile { | ||
uuid: string; | ||
username: string; | ||
uuid: string; | ||
username: string; | ||
} | ||
|
||
export interface User { | ||
discordProfile: DiscordProfile; | ||
minecraftProfile: MinecraftProfile; | ||
discordProfile: DiscordProfile; | ||
minecraftProfile: MinecraftProfile; | ||
} |