Browse Source
Merge pull request #81 from shrimbly/fix/quickstart-validation-node-handle-types
fix: add missing node and handle types to quickstart validation
handoff-20260429-1057
Willie
5 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
10 additions and
1 deletions
-
src/lib/quickstart/validation.ts
|
|
|
@ -13,9 +13,11 @@ interface ValidationResult { |
|
|
|
|
|
|
|
const VALID_NODE_TYPES: NodeType[] = [ |
|
|
|
"imageInput", |
|
|
|
"audioInput", |
|
|
|
"annotation", |
|
|
|
"prompt", |
|
|
|
"array", |
|
|
|
"promptConstructor", |
|
|
|
"nanoBanana", |
|
|
|
"generateVideo", |
|
|
|
"generate3d", |
|
|
|
@ -23,9 +25,16 @@ const VALID_NODE_TYPES: NodeType[] = [ |
|
|
|
"llmGenerate", |
|
|
|
"splitGrid", |
|
|
|
"output", |
|
|
|
"outputGallery", |
|
|
|
"imageCompare", |
|
|
|
"videoStitch", |
|
|
|
"easeCurve", |
|
|
|
"videoTrim", |
|
|
|
"videoFrameGrab", |
|
|
|
"glbViewer", |
|
|
|
]; |
|
|
|
|
|
|
|
const VALID_HANDLE_TYPES = ["image", "text", "audio", "reference"]; |
|
|
|
const VALID_HANDLE_TYPES = ["image", "text", "audio", "video", "easeCurve", "3d", "reference"]; |
|
|
|
|
|
|
|
// Default node dimensions
|
|
|
|
const DEFAULT_DIMENSIONS: Record<NodeType, { width: number; height: number }> = { |
|
|
|
|