⚡ (engine) Improve engine overall robustness
This commit is contained in:
11
packages/models/features/blocks/start/schemas.ts
Normal file
11
packages/models/features/blocks/start/schemas.ts
Normal file
@ -0,0 +1,11 @@
|
||||
import { z } from 'zod'
|
||||
import { blockBaseSchema } from '../baseSchemas'
|
||||
|
||||
export const startBlockSchema = blockBaseSchema.and(
|
||||
z.object({
|
||||
type: z.literal('start'),
|
||||
label: z.string(),
|
||||
})
|
||||
)
|
||||
|
||||
export type StartBlock = z.infer<typeof startBlockSchema>
|
Reference in New Issue
Block a user