소스 검색

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

Co-authored-by: n0ctal <[email protected]>
n0ctal 9 시간 전
부모
커밋
0a30a03cb7
1개의 변경된 파일0개의 추가작업 그리고 10개의 파일을 삭제
  1. 0 10
      frontend/src/schemas/_envelope.ts

+ 0 - 10
frontend/src/schemas/_envelope.ts

@@ -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>>>;