@oomol-lab/open-flow 0.1.0-beta.60 → 0.1.0-beta.62

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.
@@ -1,3 +1,6 @@
1
+ import type { LiveDetails } from './liveDetails.js';
2
+ export { liveEntries } from './liveDetails.js';
3
+ export type { LiveDetails, LiveEntry } from './liveDetails.js';
1
4
  import type { AuthoringRead, AuthoringSearch, AuthoringRequest, AuthoringType } from './authoringSchema.js';
2
5
  import type { ProviderIconAppearance } from './providerIconSprite.js';
3
6
  export { providerIconAppearance } from './providerIconSprite.js';
@@ -78,6 +81,24 @@ export interface FlowPage {
78
81
  readonly total?: number;
79
82
  readonly version: 1;
80
83
  }
84
+ export interface VariableReference {
85
+ readonly flowId: string;
86
+ readonly flowName: string;
87
+ readonly draft: boolean;
88
+ readonly live: {
89
+ readonly publicationId: string;
90
+ readonly enabled: boolean;
91
+ } | null;
92
+ }
93
+ export interface VariableReferences {
94
+ readonly version: 1;
95
+ readonly references: readonly VariableReference[];
96
+ readonly unknown: readonly {
97
+ readonly flowId: string;
98
+ readonly flowName: string;
99
+ readonly scope: 'draft' | 'live';
100
+ }[];
101
+ }
81
102
  export interface Variable {
82
103
  readonly name: string;
83
104
  readonly updatedAt: string;
@@ -104,7 +125,6 @@ export interface TriggerBinding {
104
125
  readonly health: 'failed' | 'healthy' | 'initializing' | 'needs_reauth' | 'suspended';
105
126
  readonly kind: 'error' | 'cron' | 'integration' | 'poll' | 'webhook';
106
127
  readonly lastErrorCode?: string;
107
- readonly operatorState: 'active' | 'paused';
108
128
  readonly runtimeVersion: number;
109
129
  readonly triggerNodeId: string;
110
130
  readonly updatedAt: string;
@@ -758,6 +778,7 @@ export declare class ControlClient {
758
778
  readonly variables: readonly Variable[];
759
779
  readonly version: 1;
760
780
  }>;
781
+ getVariableReferences(name: string, signal?: AbortSignal): Promise<VariableReferences>;
761
782
  getVariable(name: string): Promise<Variable>;
762
783
  putVariable(name: string, value: string): Promise<Variable>;
763
784
  deleteVariable(name: string): Promise<void>;
@@ -780,8 +801,6 @@ export declare class ControlClient {
780
801
  readonly cursor?: string;
781
802
  readonly limit?: number;
782
803
  }): Promise<TriggerActivityPage>;
783
- pauseFlowTrigger(flowId: string, triggerNodeId: string): Promise<TriggerBinding>;
784
- resumeFlowTrigger(flowId: string, triggerNodeId: string): Promise<TriggerBinding>;
785
804
  testFlowPollTrigger(flowId: string, triggerNodeId: string): Promise<PollTriggerTestResult>;
786
805
  getEditor(flowId: string): Promise<{
787
806
  readonly flow: Flow;
@@ -888,6 +907,7 @@ export declare class ControlClient {
888
907
  changeDraft(flowId: string, expectedRevisionId: string, operations: readonly DraftOperation[], changeId?: string): Promise<DraftChange>;
889
908
  repairDraft(flowId: string, expectedRevisionId: string, changeId?: string): Promise<DraftChange>;
890
909
  checkFlow(flowId: string, revisionId: string): Promise<FlowCheck>;
910
+ getLiveDetails(flowId: string, signal?: AbortSignal): Promise<LiveDetails>;
891
911
  getLive(flowId: string, signal?: AbortSignal): Promise<Live>;
892
912
  listPublications(flowId: string, options?: {
893
913
  readonly cursor?: string;