♻️ Re-organize workspace folders
This commit is contained in:
7
packages/schemas/features/items/schemas.ts
Normal file
7
packages/schemas/features/items/schemas.ts
Normal file
@ -0,0 +1,7 @@
|
||||
import { z } from 'zod'
|
||||
import { buttonItemSchema } from '../blocks/inputs/choice'
|
||||
import { conditionItemSchema } from '../blocks/logic/condition'
|
||||
|
||||
const itemSchema = buttonItemSchema.or(conditionItemSchema)
|
||||
|
||||
export type Item = z.infer<typeof itemSchema>
|
Reference in New Issue
Block a user