Redesign Part 2

This commit is contained in:
Firq 2024-07-15 14:39:52 +02:00
parent f1bb9b80ca
commit 9c2c7f7818
Signed by: Firq
GPG key ID: 3ACC61C8CEC83C20
18 changed files with 332 additions and 28 deletions

View file

@ -0,0 +1,10 @@
{
"info": {
"title": "Koyanskaya of Light",
"releaseDate": "2023-07-03",
"shortdescription": "Release of Koyanskaya of Light during 6th Anniversary of the game",
"releaseNumber": 1,
"type": "event"
},
"link": "https://apps.atlasacademy.io/db/NA/servant/314/"
}

View file

@ -0,0 +1,10 @@
{
"info": {
"title": "Scathach-Skadi",
"releaseDate": "2020-07-06",
"shortdescription": "Release of Scathach-Skadi during 3rd Anniversary of the game",
"releaseNumber": 1,
"type": "event"
},
"link": "https://apps.atlasacademy.io/db/NA/servant/215/"
}

View file

@ -23,6 +23,7 @@ const info = z.object({
releaseDate: z.string().transform((str) => new Date(str)),
shortdescription: z.string(),
releaseNumber: z.number().default(1),
type: z.enum(["quest", "event", "group"]).default("quest")
})
// Combined ta data collection schema
@ -39,8 +40,17 @@ const groupDescription = defineCollection({
schema: z.object({ info: info }),
})
const changes = defineCollection({
type: 'data',
schema: z.object({
info: info,
link: z.string().url()
}),
})
export const collections = {
taInfoData: taData,
teslafest: taData,
groups: groupDescription,
changes: changes,
}

View file

@ -1,8 +1,9 @@
{
"info": {
"title": "Lostbelt 6",
"releaseDate": "2023-07-10",
"releaseDate": "2023-06-06",
"shortdescription": "Lostbelt 6",
"releaseNumber": 1
"releaseNumber": 1,
"type": "group"
}
}

View file

@ -2,7 +2,8 @@
"info": {
"title": "Beast IV:L",
"releaseDate": "2023-12-26",
"shortdescription": "An interesting conclusion to Tunguska to say the least"
"shortdescription": "An interesting conclusion to Tunguska to say the least",
"type": "quest"
},
"quests": [
{

View file

@ -3,7 +3,8 @@
"title": "Case Files Rerun 2024",
"releaseDate": "2024-01-10",
"shortdescription": "The rerun of the collaboration event with the Case Files franchise - and the return of old challenges as well as a new challenge quest.",
"releaseNumber": 1
"releaseNumber": 1,
"type": "quest"
},
"quests": [
{

View file

@ -1,9 +1,10 @@
{
"info": {
"title": "Devilish Bodhisattva",
"releaseDate": "2022-06-21",
"releaseDate": "2019-04-23",
"shortdescription": "One of the most infamous fights in FGO, Full Power Beast III:R",
"releaseNumber": 1
"releaseNumber": 1,
"type": "quest"
},
"quests": [
{

View file

@ -3,7 +3,8 @@
"title": "Albion",
"releaseDate": "2023-07-10",
"shortdescription": "Albion shows up with a new mechanic, but will it be enough?",
"releaseNumber": 1
"releaseNumber": 1,
"type": "quest"
},
"quests": [
{

View file

@ -3,7 +3,8 @@
"title": "Cernunnos",
"releaseDate": "2023-07-10",
"shortdescription": "One of FGOs most notorious boss fights due to up to 100% special defense, strong DoT damage and powerful field effects",
"releaseNumber": 2
"releaseNumber": 2,
"type": "quest"
},
"quests": [
{

View file

@ -3,7 +3,8 @@
"title": "Queen Morgan",
"releaseDate": "2023-06-20",
"shortdescription": "The fight against the Lostbelt 6 Queen as the conclusion of LB 6 Part 2",
"releaseNumber": 1
"releaseNumber": 1,
"type": "quest"
},
"quests": [
{