fix(ui): add missing types
Some checks failed
🚀 Lint & Test & Deploy / release (pull_request) Failing after 2m45s

This commit is contained in:
2026-02-09 15:37:37 +01:00
parent b1cbd23542
commit 18802fdc10
5 changed files with 26 additions and 11 deletions

View File

@@ -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,