2
0
Files
bot/packages/schemas/features/items/baseSchemas.ts

10 lines
206 B
TypeScript
Raw Normal View History

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>