2
0
Files
bot/packages/schemas/features/blocks/start/schemas.ts
2023-12-22 09:13:53 +01:00

12 lines
265 B
TypeScript

import { z } from '../../../zod'
import { blockBaseSchema } from '../shared'
export const startBlockSchema = blockBaseSchema.merge(
z.object({
type: z.literal('start'),
label: z.string(),
})
)
export type StartBlock = z.infer<typeof startBlockSchema>