2
0
Files
bot/packages/schemas/features/items/baseSchemas.ts
2023-03-15 08:35:16 +01:00

10 lines
206 B
TypeScript

import { z } from 'zod'
export const itemBaseSchema = z.object({
id: z.string(),
blockId: z.string(),
outgoingEdgeId: z.string().optional(),
})
export type ItemBase = z.infer<typeof itemBaseSchema>