Initial commit: Add project files
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
import { z } from 'zod'
|
||||
export const requestSchema = z.object({ idempotencyKey: z.string().min(1).max(100), scopeId: z.string().min(1), asOf: z.string().datetime() })
|
||||
export const responseSchema = z.object({ id: z.string().uuid(), status: z.string(), evidenceHash: z.string().min(16), asOf: z.string().datetime() })
|
||||
export type RequestDto = z.infer<typeof requestSchema>
|
||||
export type ResponseDto = z.infer<typeof responseSchema>
|
||||
Reference in New Issue
Block a user