refactor(frontend): remove unused response envelope schema (#6204)

Co-authored-by: n0ctal <293235942+n0ctal@users.noreply.github.com>
This commit is contained in:
n0ctalandn0ctal authored and GitHub committed 2026-08-13 12:46:00 +02:00
1 parent 286a93474d
commit 0a30a03cb7
1 file changed
-10
-10
View File
@@ -1,10 +0,0 @@
import { z } from 'zod';
export const msgSchema = <T extends z.ZodType>(obj: T) =>
z.object({
success: z.boolean(),
msg: z.string().default(''),
obj: obj.nullable(),
});
export type MsgOf<S extends z.ZodType> = z.infer<ReturnType<typeof msgSchema<S>>>;