From 9a6b2eed085260d8de9a716d79d83080746abf16 Mon Sep 17 00:00:00 2001 From: Fuwn Date: Sat, 13 Jan 2024 18:53:52 -0800 Subject: refactor(data): move json to data --- src/lib/Data/authorised.json | 1 + src/lib/Data/crunchyroll.json | 61 +++++++++++++++++++++++++++++ src/lib/List/Manga/MangaListTemplate.svelte | 2 +- src/lib/Tools/Schedule/Crunchyroll.svelte | 2 +- src/lib/authorised.json | 1 - src/lib/crunchyroll.json | 61 ----------------------------- 6 files changed, 64 insertions(+), 64 deletions(-) create mode 100644 src/lib/Data/authorised.json create mode 100644 src/lib/Data/crunchyroll.json delete mode 100644 src/lib/authorised.json delete mode 100644 src/lib/crunchyroll.json diff --git a/src/lib/Data/authorised.json b/src/lib/Data/authorised.json new file mode 100644 index 00000000..94f6762b --- /dev/null +++ b/src/lib/Data/authorised.json @@ -0,0 +1 @@ +[5678223] diff --git a/src/lib/Data/crunchyroll.json b/src/lib/Data/crunchyroll.json new file mode 100644 index 00000000..85abc682 --- /dev/null +++ b/src/lib/Data/crunchyroll.json @@ -0,0 +1,61 @@ +[ + { "year": 2023, "month": 12, "day": 29, "title": "Burn the Witch #0.8" }, + { "year": 2024, "month": 1, "day": 1, "title": "Fluffy Paradise" }, + { "year": 2024, "month": 1, "day": 3, "title": "Classroom of the Elite Season 3" }, + { "year": 2024, "month": 1, "day": 3, "title": "Bottom-Tier Character Tomozaki Season 2" }, + { "year": 2024, "month": 1, "day": 5, "title": "The Demon Prince of Momochi House" }, + { "year": 2024, "month": 1, "day": 5, "title": "Sasaki and Peeps" }, + { "year": 2024, "month": 1, "day": 5, "title": "The Unwanted Undead Adventurer" }, + { "year": 2024, "month": 1, "day": 5, "title": "The Wrong Way to Use Healing Magic" }, + { "year": 2024, "month": 1, "day": 6, "title": "One Piece: Egghead Island Arc" }, + { "year": 2024, "month": 1, "day": 6, "title": "Solo Leveling" }, + { "year": 2024, "month": 1, "day": 6, "title": "A Sign of Affection" }, + { "year": 2024, "month": 1, "day": 6, "title": "Tales of Weddings Rings" }, + { + "year": 2024, + "month": 1, + "day": 7, + "title": "7th Time Loop: The Villainess Enjoys a Carefree Life Married to Her Worst Enemy!" + }, + { "year": 2024, "month": 1, "day": 8, "title": "Tsukimichi -Moonlit Fantasy- Season 2" }, + { "year": 2024, "month": 1, "day": 8, "title": "The Foolish Angel Dances With the Devil" }, + { "year": 2024, "month": 1, "day": 8, "title": "Hokkaido Gals Are Super Adorable!" }, + { "year": 2024, "month": 1, "day": 8, "title": "High Card Season 2" }, + { + "year": 2024, + "month": 1, + "day": 9, + "title": "Villainess Level 99: I May Be the Hidden Boss but I'm Not the Demon Lord" + }, + { "year": 2024, "month": 1, "day": 10, "title": "Metallic Rouge" }, + { "year": 2024, "month": 1, "day": 10, "title": "Sengoku Youko" }, + { "year": 2024, "month": 1, "day": 11, "title": "Delusional Monthly Magazine" }, + { "year": 2024, "month": 1, "day": 13, "title": "Bucchigiri" }, + { "year": 2024, "month": 1, "day": 14, "title": "Meji Gekken: 1874" }, + { "year": 2024, "month": 1, "day": 14, "title": "The Fire Hunter Season 2" }, + { + "year": 2024, + "month": 1, + "day": "soon", + "title": "Doctor Elise: The Royal Lady With the Lamp" + }, + { "year": 2024, "month": 1, "day": "soon", "title": "Mashle: Magic and Muscles" }, + { "year": 2024, "month": 1, "day": "soon", "title": "The Witch and the Beast" }, + { "year": 2023, "month": 9, "day": "continuing", "title": "Frieren: Beyond Journey's End" }, + { "year": 2023, "month": 9, "day": "continuing", "title": "The Apothecary Diaries" }, + { + "year": 2023, + "month": 9, + "day": "continuing", + "title": "Firefighter Daigo: Rescuer in Orange" + }, + { "year": 2023, "month": 9, "day": "continuing", "title": "Case Closed (Detective Conan)" }, + { "year": 2023, "month": 9, "day": "continuing", "title": "Soaring Sky! Precure" }, + { "year": 2023, "month": 9, "day": "continuing", "title": "Shangri-La Frontier" }, + { + "year": 2023, + "month": 9, + "day": "continuing", + "title": "Captain Tsubasa Season 2: Junior Youth Arc" + } +] diff --git a/src/lib/List/Manga/MangaListTemplate.svelte b/src/lib/List/Manga/MangaListTemplate.svelte index 52cfbc82..fe1e9cb1 100644 --- a/src/lib/List/Manga/MangaListTemplate.svelte +++ b/src/lib/List/Manga/MangaListTemplate.svelte @@ -11,7 +11,7 @@ import ListTitle from '../ListTitle.svelte'; import Error from '$lib/Error/RateLimited.svelte'; import CleanMangaList from './CleanMangaList.svelte'; - import authorisedJson from '$lib/authorised.json'; + import authorisedJson from '$lib/Data/authorised.json'; import { incrementMediaProgress } from '$lib/Media/Anime/cache'; import { getNotificationsContext } from 'svelte-notifications'; import { options } from '$lib/Notification/options'; diff --git a/src/lib/Tools/Schedule/Crunchyroll.svelte b/src/lib/Tools/Schedule/Crunchyroll.svelte index 22a16195..9b6b0509 100644 --- a/src/lib/Tools/Schedule/Crunchyroll.svelte +++ b/src/lib/Tools/Schedule/Crunchyroll.svelte @@ -1,5 +1,5 @@