update to nuxt 4

This commit is contained in:
DecDuck
2025-09-20 11:20:49 +10:00
parent b4f9b77809
commit 2db8e753b7
313 changed files with 508 additions and 512 deletions

View File

@ -1,6 +1,6 @@
import prisma from "~/server/internal/db/database";
import taskHandler from "~/server/internal/tasks";
import authManager from "~/server/internal/auth";
import prisma from "~~/server/internal/db/database";
import taskHandler from "~~/server/internal/tasks";
import authManager from "~~/server/internal/auth";
export default defineEventHandler(async (h3) => {
const t = await useTranslation(h3);

View File

@ -1,11 +1,11 @@
import { AuthMec } from "~/prisma/client/enums";
import prisma from "~/server/internal/db/database";
import authManager, { createHashArgon2 } from "~/server/internal/auth";
import { AuthMec } from "~~/prisma/client/enums";
import prisma from "~~/server/internal/db/database";
import authManager, { createHashArgon2 } from "~~/server/internal/auth";
import * as jdenticon from "jdenticon";
import objectHandler from "~/server/internal/objects";
import objectHandler from "~~/server/internal/objects";
import { type } from "arktype";
import { randomUUID } from "node:crypto";
import { throwingArktype } from "~/server/arktype";
import { throwingArktype } from "~~/server/arktype";
export const SharedRegisterValidator = type({
username: "string >= 5",