mirror of
https://github.com/Drop-OSS/drop.git
synced 2025-11-16 17:51:17 +10:00
update to nuxt 4
This commit is contained in:
@ -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);
|
||||
|
||||
@ -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",
|
||||
|
||||
Reference in New Issue
Block a user