feat: add "*" datatype for inputs for debug node

This commit is contained in:
release-bot
2026-02-12 14:00:06 +01:00
parent 5b5c63c1a9
commit e23cad254d
2 changed files with 9 additions and 2 deletions

View File

@@ -89,6 +89,11 @@ export const NodeInputPathSchema = z.object({
value: z.array(z.number()).optional()
});
export const NodeInputAnySchema = z.object({
...DefaultOptionsSchema.shape,
type: z.literal('*')
});
export const NodeInputSchema = z.union([
NodeInputSeedSchema,
NodeInputBooleanSchema,
@@ -100,7 +105,8 @@ export const NodeInputSchema = z.union([
NodeInputSeedSchema,
NodeInputVec3Schema,
NodeInputGeometrySchema,
NodeInputPathSchema
NodeInputPathSchema,
NodeInputAnySchema
]);
export type NodeInput = z.infer<typeof NodeInputSchema>;