2
0

🚸 (condition) Enable multiple condition items in one block

Closes #162
This commit is contained in:
Baptiste Arnaud
2022-11-16 14:56:09 +01:00
parent 96eb77d94b
commit 6725c17a02
24 changed files with 327 additions and 216 deletions

View File

@ -8,7 +8,7 @@ export type ItemIndices = {
groupIndex: number
itemIndex: number
}
const itemScema = buttonItemSchema.or(conditionItemSchema)
const itemSchema = buttonItemSchema.or(conditionItemSchema)
export type ItemBase = z.infer<typeof itemBaseSchema>
export type Item = z.infer<typeof itemScema>
export type Item = z.infer<typeof itemSchema>