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,8 +1,8 @@
import aclManager from "~/server/internal/acls";
import prisma from "~/server/internal/db/database";
import objectHandler from "~/server/internal/objects";
import aclManager from "~~/server/internal/acls";
import prisma from "~~/server/internal/db/database";
import objectHandler from "~~/server/internal/objects";
import { type } from "arktype";
import { readDropValidatedBody, throwingArktype } from "~/server/arktype";
import { readDropValidatedBody, throwingArktype } from "~~/server/arktype";
const DeleteGameImage = type({
gameId: "string",

View File

@ -1,6 +1,6 @@
import aclManager from "~/server/internal/acls";
import prisma from "~/server/internal/db/database";
import { handleFileUpload } from "~/server/internal/utils/handlefileupload";
import aclManager from "~~/server/internal/acls";
import prisma from "~~/server/internal/db/database";
import { handleFileUpload } from "~~/server/internal/utils/handlefileupload";
export default defineEventHandler(async (h3) => {
const allowed = await aclManager.allowSystemACL(h3, ["game:image:new"]);