mirror of
https://github.com/aaronpo97/the-biergarten-app.git
synced 2026-02-16 20:13:49 +00:00
Restructure codebase to use src directory
This commit is contained in:
10
src/validation/APIResponseValidationSchema.ts
Normal file
10
src/validation/APIResponseValidationSchema.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
import { z } from 'zod';
|
||||
|
||||
const APIResponseValidationSchema = z.object({
|
||||
message: z.string(),
|
||||
statusCode: z.number(),
|
||||
success: z.boolean(),
|
||||
payload: z.unknown(),
|
||||
});
|
||||
|
||||
export default APIResponseValidationSchema;
|
||||
Reference in New Issue
Block a user