added bulk updates to data controller

This commit is contained in:
dswbx
2025-02-26 18:04:07 +01:00
parent 4d75cfe0ea
commit 4a2dbf8f79
9 changed files with 285 additions and 240 deletions

View File

@@ -2,7 +2,7 @@ import type { Permission } from "core";
import { patternMatch } from "core/utils";
import type { Context } from "hono";
import { createMiddleware } from "hono/factory";
import type { ServerEnv } from "modules/Module";
import type { ServerEnv } from "modules/Controller";
function getPath(reqOrCtx: Request | Context) {
const req = reqOrCtx instanceof Request ? reqOrCtx : reqOrCtx.req.raw;