@oomol-lab/open-flow 0.1.0-beta.37 → 0.1.0-beta.39

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 (42) hide show
  1. package/dist/browser/{createResourceDialog-DRB0OEtr.js → createResourceDialog-DnlKSqIs.js} +1 -1
  2. package/dist/browser/{editorComponent-B-FXsvGH.js → editorComponent-T-GmTa-C.js} +451 -271
  3. package/dist/browser/flow-authoring-node.d.ts +5 -2
  4. package/dist/browser/flow-authoring.js +12285 -1916
  5. package/dist/browser/flow-change.d.ts +5 -4
  6. package/dist/browser/flow-change.js +1926 -1760
  7. package/dist/browser/{flowChanges-Bc3Jncg9.js → flowChanges-BXqN4jyH.js} +7815 -7673
  8. package/dist/browser/{flowWorkspace-JCjjQZzW.js → flowWorkspace-a5QLISui.js} +12019 -11571
  9. package/dist/browser/{inputValues-eKZ3xev7.js → inputValues-Do4FrC_6.js} +1 -1
  10. package/dist/browser/licenses.md +1 -1
  11. package/dist/browser/{typeScriptSession-DnAmJCzu.js → typeScriptSession-vC9uPDVV.js} +1 -1
  12. package/dist/browser/ui.css +1 -1
  13. package/dist/browser/webhook-method.d.ts +3 -0
  14. package/dist/browser/workbench.css +1 -1
  15. package/dist/browser/workbench.js +957 -871
  16. package/dist/browser/{workbenchSelect-DNteZJYP.js → workbenchSelect-Dx2Y46cD.js} +1744 -1569
  17. package/dist/common/connectorDecoders.d.ts +8 -0
  18. package/dist/common/control-api-conformance.d.ts +46 -1
  19. package/dist/common/control-api-conformance.js +6367 -2307
  20. package/dist/common/control-api.d.ts +42 -12
  21. package/dist/common/control-api.js +5658 -2942
  22. package/dist/common/control-requests.d.ts +15 -0
  23. package/dist/common/control-requests.js +5153 -1952
  24. package/dist/common/flow-connectionUsage.d.ts +12 -0
  25. package/dist/common/flow-encoding.d.ts +0 -6
  26. package/dist/common/flow-encoding.js +1773 -1759
  27. package/dist/common/flow-semantics.d.ts +2 -0
  28. package/dist/common/flow-semantics.js +3443 -3246
  29. package/dist/common/flowInspection.d.ts +90 -1
  30. package/dist/common/integration-trigger.js +2396 -2229
  31. package/dist/common/mcp.d.ts +176 -7
  32. package/dist/common/mcp.js +5109 -2716
  33. package/dist/common/poll-trigger.js +1641 -1474
  34. package/dist/common/provider-triggers.js +2800 -2694
  35. package/dist/common/providerAccess.d.ts +20 -0
  36. package/dist/common/scheduler.js +2383 -2212
  37. package/dist/common/trigger-catalog.d.ts +2 -0
  38. package/dist/common/trigger-contract.d.ts +2 -0
  39. package/dist/common/webhook-trigger.d.ts +3 -1
  40. package/dist/common/webhook-trigger.js +7014 -78
  41. package/package.json +1 -1
  42. package/dist/browser/lib-GrGxYjsJ.js +0 -7855
@@ -1,6 +1,8 @@
1
1
  export { fixedInputValue, inputValue, inputValues } from './flow-input-value.js';
2
+ import type { WebhookMethod } from './webhook-method.js';
2
3
  import { currentFlowModelVersion } from './flow-change-schema.js';
3
4
  export { changeOperationsSchema, currentFlowModelVersion, decodeChangeOperations } from './flow-change-schema.js';
5
+ export type { WebhookMethod };
4
6
  export type JsonValue = null | boolean | number | string | readonly JsonValue[] | {
5
7
  readonly [key: string]: JsonValue;
6
8
  };
@@ -258,9 +260,7 @@ export type TriggerKeySnapshot = (TriggerKeySnapshotBase & {
258
260
  export interface WebhookBodyField extends InputPort {
259
261
  }
260
262
  export interface WebhookOptions {
261
- readonly allowedMethods?: readonly string[];
262
263
  readonly allowedOrigins?: readonly string[];
263
- readonly noResponseBody?: boolean;
264
264
  readonly responseData?: string;
265
265
  readonly responseHeaders?: Readonly<Record<string, string>>;
266
266
  readonly responseStatusCode?: number;
@@ -275,6 +275,7 @@ export type TriggerNode = (TriggerNodeBase & {
275
275
  }) | (TriggerNodeBase & {
276
276
  readonly bodyFields: readonly WebhookBodyField[];
277
277
  readonly kind: 'webhook';
278
+ readonly method: WebhookMethod;
278
279
  readonly options?: WebhookOptions;
279
280
  }) | (TriggerNodeBase & {
280
281
  readonly cronTimes: readonly TriggerSchedule[];
@@ -424,7 +425,7 @@ export type ChangeOperation = {
424
425
  } | {
425
426
  readonly before: Pick<Extract<TriggerNode, {
426
427
  readonly kind: 'webhook';
427
- }>, 'bodyFields' | 'options'>;
428
+ }>, 'bodyFields' | 'method' | 'options'>;
428
429
  readonly kind: 'graph.node.webhook.set';
429
430
  readonly nodeId: string;
430
431
  readonly target: Extract<GraphTarget, {
@@ -432,7 +433,7 @@ export type ChangeOperation = {
432
433
  }>;
433
434
  readonly value: Pick<Extract<TriggerNode, {
434
435
  readonly kind: 'webhook';
435
- }>, 'bodyFields' | 'options'>;
436
+ }>, 'bodyFields' | 'method' | 'options'>;
436
437
  } | {
437
438
  readonly before?: FixedInputValue;
438
439
  readonly kind: 'graph.trigger.config.set';