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

10 lines
240 B
TypeScript
Raw Normal View History

import { z } from 'zod'
export const itemBaseSchema = z.object({
id: z.string(),
2023-08-16 09:15:19 +02:00
blockId: z.string().optional().describe('Deprecated'),
outgoingEdgeId: z.string().optional(),
})
export type ItemBase = z.infer<typeof itemBaseSchema>