@oomol-lab/open-flow 0.1.0-beta.40 → 0.1.0-beta.41
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/README.md +9 -0
- package/dist/browser/{createResourceDialog-BOrW62JW.js → createResourceDialog-DmJk4LsF.js} +28 -29
- package/dist/browser/dist-BhV15xlT.js +300 -0
- package/dist/browser/flow-authoring-node.d.ts +4 -1
- package/dist/browser/flow-authoring.js +7 -10
- package/dist/browser/flow-change.d.ts +3 -15
- package/dist/browser/flow-change.js +1 -2
- package/dist/browser/{editorComponent-0skblWYk.js → flowChanges-Rb1Nz-ph.js} +34187 -15646
- package/dist/browser/{flowRunInputEditorStore-Bgb5vSeS.js → flowRunInputEditorStore-rVbwoTfN.js} +1 -1
- package/dist/browser/{flowWorkspace-DJzQVVtZ.js → flowWorkspace-B04ZIbVq.js} +38861 -39243
- package/dist/browser/licenses.md +16 -0
- package/dist/browser/{markdownContent-D2oHGWc6.js → markdownContent-DP6aYNZN.js} +17 -17
- package/dist/browser/markdownContent-DPkwZqaL.js +44588 -0
- package/dist/browser/preview.css +2 -0
- package/dist/browser/preview.css.d.ts +1 -0
- package/dist/browser/preview.d.ts +15 -0
- package/dist/browser/preview.js +88010 -0
- package/dist/browser/theme.css +7 -1
- package/dist/browser/{typeScriptSession-v9Pb3G6d.js → typeScriptSession-By_yez_b.js} +1 -1
- package/dist/browser/ui.css +1 -1
- package/dist/browser/ui.js +3903 -1421
- package/dist/browser/workbench-contract.d.ts +21 -12
- package/dist/browser/workbench.css +1 -1
- package/dist/browser/workbench.d.ts +3 -1
- package/dist/browser/workbench.js +1174 -1848
- package/dist/browser/workbenchSelect-Bq6KHpKx.js +16033 -0
- package/dist/common/control-api-conformance.js +2606 -2540
- package/dist/common/control-api.d.ts +18 -10
- package/dist/common/control-api.js +2428 -2381
- package/dist/common/control-requests.js +4 -8
- package/dist/common/flow-encoding.js +1 -2
- package/dist/common/flow-graph.d.ts +1 -1
- package/dist/common/flow-promptTemplate.d.ts +4 -0
- package/dist/common/flow-schema.d.ts +1 -0
- package/dist/common/flow-semantics.d.ts +2 -1
- package/dist/common/flow-semantics.js +2780 -2770
- package/dist/common/integration-trigger.js +724 -721
- package/dist/common/mcp.js +789 -739
- package/dist/common/poll-trigger.js +40 -37
- package/dist/common/provider-triggers.js +611 -608
- package/dist/common/providerIconSprite.d.ts +25 -0
- package/dist/common/runtime-contract.js +2 -1
- package/dist/common/scheduler.d.ts +2 -0
- package/dist/common/scheduler.js +1585 -1549
- package/dist/common/webhook-trigger.js +1 -2
- package/dist/index.d.ts +19 -0
- package/package.json +9 -1
- package/dist/browser/flowChanges-3o9Vs_1I.js +0 -10137
- package/dist/browser/inputValues-DkDT6u0o.js +0 -43
- package/dist/browser/lite-BA96NG4M.js +0 -8549
- package/dist/browser/workbenchSelect-B5zXyaaX.js +0 -6423
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import type { ProviderIconAppearance } from './providerIconSprite.js';
|
|
2
|
+
export { providerIconAppearance } from './providerIconSprite.js';
|
|
3
|
+
export type { ProviderIconAppearance, ProviderIconSprite, ProviderIconSpriteCatalog } from './providerIconSprite.js';
|
|
1
4
|
export { connectorAccess as decodeConnectorAccess, connectorAccessSnapshot as decodeConnectorAccessSnapshot } from './connectorDecoders.js';
|
|
2
5
|
import type { ProviderAccessIdentity, ProviderAccessReference } from './providerAccess.js';
|
|
3
6
|
export { parseProviderAccessSource, providerAccessBindingId, type ProviderAccessIdentity, type ProviderAccessReference, type ProviderAccessSource, } from './providerAccess.js';
|
|
@@ -35,6 +38,10 @@ export interface Flow {
|
|
|
35
38
|
readonly updatedAt: string;
|
|
36
39
|
readonly version: 1;
|
|
37
40
|
}
|
|
41
|
+
export interface PublicationPresentation {
|
|
42
|
+
readonly version: 1;
|
|
43
|
+
readonly presentation: Presentation | null;
|
|
44
|
+
}
|
|
38
45
|
export interface Presentation {
|
|
39
46
|
readonly revision: number;
|
|
40
47
|
readonly updatedAt: string;
|
|
@@ -113,7 +120,7 @@ export interface ConnectorConnection {
|
|
|
113
120
|
readonly status: 'active' | 'disconnected' | 'error' | 'reauth_required';
|
|
114
121
|
}
|
|
115
122
|
/** Action metadata independent of account availability and selection. */
|
|
116
|
-
export interface ConnectorActionMetadata {
|
|
123
|
+
export interface ConnectorActionMetadata extends ProviderIconAppearance {
|
|
117
124
|
/** Upstream operation classification; unknown values remain uncategorized. */
|
|
118
125
|
readonly operationType?: string;
|
|
119
126
|
readonly inputSchema?: JsonValue;
|
|
@@ -133,7 +140,7 @@ export interface ConnectorActionMetadata {
|
|
|
133
140
|
export interface ConnectorAction extends ConnectorActionMetadata {
|
|
134
141
|
readonly defaultConnection?: ConnectorConnection;
|
|
135
142
|
}
|
|
136
|
-
export interface ConnectorProvider {
|
|
143
|
+
export interface ConnectorProvider extends ProviderIconAppearance {
|
|
137
144
|
readonly noSetup?: boolean;
|
|
138
145
|
readonly homepageUrl?: string;
|
|
139
146
|
readonly icon?: string;
|
|
@@ -226,6 +233,10 @@ export interface DraftSync {
|
|
|
226
233
|
readonly version: 1;
|
|
227
234
|
}
|
|
228
235
|
export interface Publication {
|
|
236
|
+
readonly liveEnd?: {
|
|
237
|
+
readonly enabled: boolean;
|
|
238
|
+
readonly endedAt: string;
|
|
239
|
+
};
|
|
229
240
|
readonly actorId: string;
|
|
230
241
|
readonly closureDigest: string;
|
|
231
242
|
readonly createdAt: string;
|
|
@@ -312,7 +323,7 @@ export interface Run {
|
|
|
312
323
|
readonly flowId: string;
|
|
313
324
|
readonly revisionId: string;
|
|
314
325
|
readonly runId: string;
|
|
315
|
-
readonly source: 'draft' | 'live'
|
|
326
|
+
readonly source: 'draft' | 'live';
|
|
316
327
|
readonly startedAt?: string;
|
|
317
328
|
readonly status: RunStatus;
|
|
318
329
|
readonly version: 1;
|
|
@@ -341,14 +352,10 @@ export type DraftRun = RunDetailsBase & {
|
|
|
341
352
|
export type LiveRun = RunDetailsBase & {
|
|
342
353
|
readonly publicationId: string;
|
|
343
354
|
readonly source: 'live';
|
|
355
|
+
readonly occurrenceId?: string;
|
|
356
|
+
readonly triggerNodeId?: string;
|
|
344
357
|
};
|
|
345
|
-
export type
|
|
346
|
-
readonly occurrenceId: string;
|
|
347
|
-
readonly publicationId: string;
|
|
348
|
-
readonly source: 'trigger';
|
|
349
|
-
readonly triggerNodeId: string;
|
|
350
|
-
};
|
|
351
|
-
export type RunDetails = DraftRun | LiveRun | TriggerRun;
|
|
358
|
+
export type RunDetails = DraftRun | LiveRun;
|
|
352
359
|
export interface RunPage {
|
|
353
360
|
readonly flowId: string;
|
|
354
361
|
readonly nextCursor?: string;
|
|
@@ -733,6 +740,7 @@ export declare class ControlClient {
|
|
|
733
740
|
readonly presentation: Presentation;
|
|
734
741
|
readonly version: 1;
|
|
735
742
|
}>;
|
|
743
|
+
getPublicationPresentation(flowId: string, publicationId: string, signal?: AbortSignal): Promise<PublicationPresentation>;
|
|
736
744
|
getPresentation(flowId: string): Promise<Presentation>;
|
|
737
745
|
getDraft(flowId: string): Promise<Draft>;
|
|
738
746
|
syncDraft(flowId: string): Promise<DraftSync>;
|