Updates and more
This commit is contained in:
@@ -32,8 +32,18 @@ export const event = defineCollection({
|
||||
})
|
||||
})
|
||||
|
||||
export const modes = defineCollection({
|
||||
type: "data",
|
||||
schema: z.object({
|
||||
translationKey: z.string(),
|
||||
main: z.boolean(),
|
||||
ranked: z.boolean().optional().default(false)
|
||||
})
|
||||
})
|
||||
|
||||
export const collections = {
|
||||
'pages': pages,
|
||||
'help': help,
|
||||
'event': event
|
||||
'event': event,
|
||||
'modes': modes
|
||||
}
|
||||
|
||||
4
src/content/modes/airship.json
Normal file
4
src/content/modes/airship.json
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"translationKey": "as",
|
||||
"main": true
|
||||
}
|
||||
5
src/content/modes/miniwargear.json
Normal file
5
src/content/modes/miniwargear.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"translationKey": "mwg",
|
||||
"main": true,
|
||||
"ranked": true
|
||||
}
|
||||
5
src/content/modes/wargear.json
Normal file
5
src/content/modes/wargear.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"translationKey": "wg",
|
||||
"main": true,
|
||||
"ranked": true
|
||||
}
|
||||
4
src/content/modes/warship.json
Normal file
4
src/content/modes/warship.json
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"translationKey": "ws",
|
||||
"main": true
|
||||
}
|
||||
Reference in New Issue
Block a user