fix: remove jank prisma script, and move to generated prisma client

This commit is contained in:
DecDuck
2025-05-08 16:17:23 +10:00
parent 29f3094ad4
commit 125fe9e6e2
60 changed files with 153 additions and 168 deletions

View File

@ -82,7 +82,7 @@
<script setup lang="ts">
import { XCircleIcon } from "@heroicons/vue/20/solid";
import type { User } from "@prisma/client";
import type { User } from "~/prisma/client";
const username = ref("");
const password = ref("");

View File

@ -47,7 +47,7 @@
<script setup lang="ts">
import { ref } from "vue";
import { DialogTitle } from "@headlessui/vue";
import type { CollectionEntry, Game } from "@prisma/client";
import type { CollectionEntry, Game } from "~/prisma/client";
import type { SerializeObject } from "nitropack";
const props = defineProps<{

View File

@ -35,7 +35,7 @@
</template>
<script setup lang="ts">
import type { Collection } from "@prisma/client";
import type { Collection } from "~/prisma/client";
import { DialogTitle } from "@headlessui/vue";
const collection = defineModel<Collection | undefined>();

View File

@ -31,7 +31,7 @@
</template>
<script setup lang="ts">
import type { Game } from "@prisma/client";
import type { Game } from "~/prisma/client";
import type { SerializeObject } from "nitropack";
const props = defineProps<{

View File

@ -44,7 +44,7 @@
<script setup lang="ts">
import { XMarkIcon } from "@heroicons/vue/24/solid";
import type { Notification } from "@prisma/client";
import type { Notification } from "~/prisma/client";
const props = defineProps<{ notification: Notification }>();

View File

@ -38,7 +38,7 @@
</template>
<script setup lang="ts">
import type { Notification } from "@prisma/client";
import type { Notification } from "~/prisma/client";
const props = defineProps<{ notifications: Array<Notification> }>();
</script>