@oomol-lab/open-flow 0.1.0-beta.37 → 0.1.0-beta.38
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/browser/{editorComponent-B-FXsvGH.js → editorComponent-BUEAVBsL.js} +154 -74
- package/dist/browser/flow-authoring.js +11976 -1720
- package/dist/browser/{flowChanges-Bc3Jncg9.js → flowChanges-Bu_BEtpj.js} +2797 -2663
- package/dist/browser/{flowWorkspace-JCjjQZzW.js → flowWorkspace-etUB3NSN.js} +9625 -9538
- package/dist/browser/{inputValues-eKZ3xev7.js → inputValues-CiSzEYeK.js} +1 -1
- package/dist/browser/{typeScriptSession-DnAmJCzu.js → typeScriptSession-vC9uPDVV.js} +1 -1
- package/dist/browser/ui.css +1 -1
- package/dist/browser/workbench.css +1 -1
- package/dist/browser/workbench.js +910 -853
- package/dist/common/connectorDecoders.d.ts +8 -0
- package/dist/common/control-api-conformance.d.ts +2 -1
- package/dist/common/control-api-conformance.js +1660 -1629
- package/dist/common/control-api.d.ts +26 -7
- package/dist/common/control-api.js +2844 -2739
- package/dist/common/control-requests.d.ts +8 -0
- package/dist/common/control-requests.js +4733 -1645
- package/dist/common/flow-semantics.d.ts +1 -0
- package/dist/common/flow-semantics.js +12 -2
- package/dist/common/mcp.js +578 -498
- package/dist/common/providerAccess.d.ts +20 -0
- package/package.json +1 -1
- package/dist/browser/lib-GrGxYjsJ.js +0 -7855
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
export { connectorAccess as decodeConnectorAccess } from './connectorDecoders.js';
|
|
2
|
+
import type { ProviderAccessIdentity, ProviderAccessReference } from './providerAccess.js';
|
|
3
|
+
export { parseProviderAccessSource, providerAccessBindingId, type ProviderAccessIdentity, type ProviderAccessReference, type ProviderAccessSource, } from './providerAccess.js';
|
|
1
4
|
import type { DraftOperation } from './draftOperations.js';
|
|
2
5
|
export { inspectFlowDraft } from './flowInspection.js';
|
|
3
6
|
export type { DraftOperation } from './draftOperations.js';
|
|
@@ -139,16 +142,19 @@ export interface ConnectorProvider {
|
|
|
139
142
|
}
|
|
140
143
|
export type ConnectorAccessMode = 'implicit' | 'selectable';
|
|
141
144
|
export type ProviderAccessBindingStatus = 'active' | 'forbidden' | 'invalid' | 'missing';
|
|
142
|
-
export
|
|
143
|
-
readonly
|
|
145
|
+
export type ProviderAccessBinding = ((ProviderAccessIdentity & {
|
|
146
|
+
readonly status: ProviderAccessBindingStatus;
|
|
147
|
+
}) | (Extract<ProviderAccessReference, {
|
|
148
|
+
readonly source: null;
|
|
149
|
+
}> & {
|
|
150
|
+
readonly status: 'invalid';
|
|
151
|
+
})) & {
|
|
144
152
|
readonly connectionDisplayName: string;
|
|
145
153
|
readonly permissionGroupName?: string | null;
|
|
146
154
|
readonly policyRevision?: string;
|
|
147
155
|
readonly providerId: string;
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
export interface ProviderAccessBindingCandidate {
|
|
151
|
-
readonly accessBindingId: string;
|
|
156
|
+
};
|
|
157
|
+
export interface ProviderAccessBindingCandidate extends ProviderAccessIdentity {
|
|
152
158
|
readonly connectionDisplayName: string;
|
|
153
159
|
readonly isDefault?: boolean;
|
|
154
160
|
readonly permissions?: {
|
|
@@ -162,6 +168,8 @@ export interface ProviderAccessBindingCandidate {
|
|
|
162
168
|
readonly providerId: string;
|
|
163
169
|
}
|
|
164
170
|
export interface ConnectorAccess {
|
|
171
|
+
readonly discardedBindingCount?: number;
|
|
172
|
+
readonly providerIds?: readonly string[];
|
|
165
173
|
readonly accessRevision: number;
|
|
166
174
|
readonly bindings: readonly ProviderAccessBinding[];
|
|
167
175
|
readonly mode: ConnectorAccessMode;
|
|
@@ -174,6 +182,16 @@ export interface ConnectorAccessCandidates {
|
|
|
174
182
|
readonly providerId: string;
|
|
175
183
|
readonly version: 1;
|
|
176
184
|
}
|
|
185
|
+
export interface ConnectorAccessCandidatesBatch {
|
|
186
|
+
readonly results: readonly (ConnectorAccessCandidates | {
|
|
187
|
+
readonly providerId: string;
|
|
188
|
+
readonly error: {
|
|
189
|
+
readonly code: string;
|
|
190
|
+
readonly message: string;
|
|
191
|
+
};
|
|
192
|
+
})[];
|
|
193
|
+
readonly version: 1;
|
|
194
|
+
}
|
|
177
195
|
export interface RevisionMetadata {
|
|
178
196
|
readonly actorId: string;
|
|
179
197
|
readonly createdAt: string;
|
|
@@ -710,7 +728,8 @@ export declare class ControlClient {
|
|
|
710
728
|
listTriggerConfigOptions(flowId: string, nodeId: string, field: string, signal?: AbortSignal): Promise<readonly TriggerConfigOption[]>;
|
|
711
729
|
listConnectorProviders(signal?: AbortSignal, flowId?: string, locale?: string): Promise<readonly ConnectorProvider[]>;
|
|
712
730
|
getConnectorAccess(flowId: string, signal?: AbortSignal): Promise<ConnectorAccess>;
|
|
713
|
-
listProviderAccessBindingCandidates(flowId: string,
|
|
731
|
+
listProviderAccessBindingCandidates(flowId: string, providerIds: readonly string[], signal?: AbortSignal): Promise<ConnectorAccessCandidatesBatch>;
|
|
732
|
+
setConnectorService(flowId: string, providerId: string, selected: boolean, expectedAccessRevision: number): Promise<ConnectorAccess>;
|
|
714
733
|
addProviderAccessBinding(flowId: string, providerId: string, accessBindingId: string, expectedAccessRevision: number): Promise<ConnectorAccess>;
|
|
715
734
|
removeProviderAccessBinding(flowId: string, providerId: string, accessBindingId: string, expectedAccessRevision: number): Promise<ConnectorAccess>;
|
|
716
735
|
listConnectorActions(serviceId?: string, signal?: AbortSignal, flowId?: string, locale?: string): Promise<readonly ConnectorAction[]>;
|