ugcinc 2.13.0 → 2.14.0

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.
Files changed (2) hide show
  1. package/dist/types.d.ts +8 -0
  2. package/package.json +1 -1
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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ugcinc",
3
- "version": "2.13.0",
3
+ "version": "2.14.0",
4
4
  "description": "TypeScript/JavaScript client for the UGC Inc API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",