Refactor the runtime and extract several components #525
Annotations
10 errors
lint-and-test
Type '{ id: string; type: string; inputs: never[]; outputs: never[]; }' is missing the following properties from type 'Node': name, position
|
lint-and-test
Type '{ id: string; type: string; inputs: never[]; outputs: never[]; }' is missing the following properties from type 'Node': name, position
|
lint-and-test
Type '{ id: string; type: string; inputs: never[]; outputs: never[]; }' is missing the following properties from type 'Node': name, position
|
lint-and-test
Conversion of type '{ nodes: { id: string; type: string; inputs: never[]; outputs: never[]; }[]; edges: never[]; }' to type 'Workflow' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
|
lint-and-test
Conversion of type '{ nodes: never[]; edges: never[]; }' to type 'Workflow' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
|
lint-and-test
Type 'Map<string, { true: string; output?: undefined; } | { output: string; true?: undefined; }>' is not assignable to type 'WorkflowOutputs'.
|
lint-and-test
Conversion of type '{ nodes: ({ id: string; type: string; inputs: never[]; outputs: { name: string; type: "string"; }[]; } | { id: string; type: string; inputs: ({ name: string; type: "string"; required: true; } | { name: string; type: "string"; required: false; })[]; outputs: never[]; })[]; edges: { ...; }[]; }' to type 'Workflow' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
|
lint-and-test
Conversion of type '{ nodes: ({ id: string; type: string; inputs: never[]; outputs: { name: string; type: "string"; }[]; } | { id: string; type: string; inputs: { name: string; type: "string"; required: false; }[]; outputs: never[]; })[]; edges: { ...; }[]; }' to type 'Workflow' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
|
lint-and-test
Conversion of type '{ nodes: ({ id: string; type: string; inputs: never[]; outputs: { name: string; type: "string"; }[]; } | { id: string; type: string; inputs: { name: string; type: "string"; required: true; }[]; outputs: never[]; })[]; edges: { ...; }[]; }' to type 'Workflow' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
|
lint-and-test
Conversion of type '{ nodes: ({ id: string; type: string; inputs: never[]; outputs: { name: string; type: "string"; }[]; } | { id: string; type: string; inputs: { name: string; type: "string"; }[]; outputs: never[]; })[]; edges: { source: string; sourceOutput: string; target: string; targetInput: string; }[]; }' to type 'Workflow' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
|