diff --git a/static/data/amq-anime.json b/data/amq-anime.json similarity index 100% rename from static/data/amq-anime.json rename to data/amq-anime.json diff --git a/static/data/amq-artists.json b/data/amq-artists.json similarity index 100% rename from static/data/amq-artists.json rename to data/amq-artists.json diff --git a/static/data/amq-groups.json b/data/amq-groups.json similarity index 100% rename from static/data/amq-groups.json rename to data/amq-groups.json diff --git a/static/data/amq-songs.json b/data/amq-songs.json similarity index 100% rename from static/data/amq-songs.json rename to data/amq-songs.json diff --git a/src/lib/db/import-amq.ts b/src/lib/db/import-amq.ts index 2edc95e..e95263f 100644 --- a/src/lib/db/import-amq.ts +++ b/src/lib/db/import-amq.ts @@ -6,18 +6,12 @@ import { AmqGroupSchema, AmqSongSchema, } from "$lib/types/amq"; -import amqAnimeJson from "../../../static/data/amq-anime.json" with { - type: "json", -}; -import amqArtistsJson from "../../../static/data/amq-artists.json" with { - type: "json", -}; -import amqGroupsJson from "../../../static/data/amq-groups.json" with { - type: "json", -}; -import amqSongsJson from "../../../static/data/amq-songs.json" with { +import amqAnimeJson from "../../../data/amq-anime.json" with { type: "json" }; +import amqArtistsJson from "../../../data/amq-artists.json" with { type: "json", }; +import amqGroupsJson from "../../../data/amq-groups.json" with { type: "json" }; +import amqSongsJson from "../../../data/amq-songs.json" with { type: "json" }; import { db } from "./index"; import { animeGenresTable,