10 lines
206 B
TypeScript
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>
|