used zod codemod

This commit is contained in:
Lokowitz
2025-11-16 14:18:17 +00:00
parent 000904eb31
commit 7db99a7dd5
191 changed files with 764 additions and 1232 deletions

View File

@@ -15,11 +15,9 @@ import { fromError } from "zod-validation-error";
import logger from "@server/logger";
import { build } from "@server/build";
const getResourceAuthInfoSchema = z
.object({
const getResourceAuthInfoSchema = z.strictObject({
resourceGuid: z.string()
})
.strict();
});
export type GetResourceAuthInfoResponse = {
resourceId: number;