fix(ui): add missing types
Some checks failed
🚀 Lint & Test & Deploy / release (pull_request) Failing after 2m45s
Some checks failed
🚀 Lint & Test & Deploy / release (pull_request) Failing after 2m45s
This commit is contained in:
@@ -32,6 +32,12 @@ export const NodeInputFloatSchema = z.object({
|
||||
step: z.number().optional()
|
||||
});
|
||||
|
||||
export const NodeInputColorSchema = z.object({
|
||||
...DefaultOptionsSchema.shape,
|
||||
type: z.literal('color'),
|
||||
value: z.array(z.number()).optional()
|
||||
});
|
||||
|
||||
export const NodeInputIntegerSchema = z.object({
|
||||
...DefaultOptionsSchema.shape,
|
||||
type: z.literal('integer'),
|
||||
@@ -87,6 +93,7 @@ export const NodeInputSchema = z.union([
|
||||
NodeInputSeedSchema,
|
||||
NodeInputBooleanSchema,
|
||||
NodeInputFloatSchema,
|
||||
NodeInputColorSchema,
|
||||
NodeInputIntegerSchema,
|
||||
NodeInputShapeSchema,
|
||||
NodeInputSelectSchema,
|
||||
|
||||
Reference in New Issue
Block a user