⚡ (engine) Improve engine overall robustness
This commit is contained in:
9
packages/models/features/items/baseSchemas.ts
Normal file
9
packages/models/features/items/baseSchemas.ts
Normal file
@ -0,0 +1,9 @@
|
||||
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>
|
Reference in New Issue
Block a user