ugcinc 2.13.0 → 2.14.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/automations.js +1 -1
- package/dist/types.d.ts +8 -0
- package/package.json +1 -1
package/dist/automations.js
CHANGED
package/dist/types.d.ts
CHANGED
|
@@ -575,6 +575,8 @@ export interface OutputSchemaProperty {
|
|
|
575
575
|
export interface WorkflowNodeDefinition {
|
|
576
576
|
id: string;
|
|
577
577
|
type: NodeTypeEnum;
|
|
578
|
+
x?: number;
|
|
579
|
+
y?: number;
|
|
578
580
|
inputs: Record<string, {
|
|
579
581
|
sourceNodeId: string;
|
|
580
582
|
sourceOutputId: string;
|
|
@@ -589,8 +591,14 @@ export interface WorkflowNodeDefinition {
|
|
|
589
591
|
selectionState?: SelectionState;
|
|
590
592
|
};
|
|
591
593
|
}
|
|
594
|
+
export interface CanvasState {
|
|
595
|
+
zoom: number;
|
|
596
|
+
panX: number;
|
|
597
|
+
panY: number;
|
|
598
|
+
}
|
|
592
599
|
export interface WorkflowDefinition {
|
|
593
600
|
nodes: WorkflowNodeDefinition[];
|
|
601
|
+
canvasState?: CanvasState;
|
|
594
602
|
}
|
|
595
603
|
export interface AutomationTemplate {
|
|
596
604
|
id: string;
|