@oomol-lab/open-flow 0.1.0-beta.38 → 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 (38) hide show
  1. package/dist/browser/{createResourceDialog-DRB0OEtr.js → createResourceDialog-DnlKSqIs.js} +1 -1
  2. package/dist/browser/{editorComponent-BUEAVBsL.js → editorComponent-T-GmTa-C.js} +332 -232
  3. package/dist/browser/flow-authoring-node.d.ts +5 -2
  4. package/dist/browser/flow-authoring.js +2560 -2447
  5. package/dist/browser/flow-change.d.ts +5 -4
  6. package/dist/browser/flow-change.js +1926 -1760
  7. package/dist/browser/{flowChanges-Bu_BEtpj.js → flowChanges-BXqN4jyH.js} +7078 -7070
  8. package/dist/browser/{flowWorkspace-etUB3NSN.js → flowWorkspace-a5QLISui.js} +7258 -6897
  9. package/dist/browser/{inputValues-CiSzEYeK.js → inputValues-Do4FrC_6.js} +1 -1
  10. package/dist/browser/licenses.md +1 -1
  11. package/dist/browser/ui.css +1 -1
  12. package/dist/browser/webhook-method.d.ts +3 -0
  13. package/dist/browser/workbench.css +1 -1
  14. package/dist/browser/workbench.js +486 -457
  15. package/dist/browser/{workbenchSelect-DNteZJYP.js → workbenchSelect-Dx2Y46cD.js} +1744 -1569
  16. package/dist/common/control-api-conformance.d.ts +44 -0
  17. package/dist/common/control-api-conformance.js +6105 -2076
  18. package/dist/common/control-api.d.ts +16 -5
  19. package/dist/common/control-api.js +4692 -2081
  20. package/dist/common/control-requests.d.ts +7 -0
  21. package/dist/common/control-requests.js +3141 -3028
  22. package/dist/common/flow-connectionUsage.d.ts +12 -0
  23. package/dist/common/flow-encoding.d.ts +0 -6
  24. package/dist/common/flow-encoding.js +1773 -1759
  25. package/dist/common/flow-semantics.d.ts +1 -0
  26. package/dist/common/flow-semantics.js +3434 -3247
  27. package/dist/common/flowInspection.d.ts +90 -1
  28. package/dist/common/integration-trigger.js +2396 -2229
  29. package/dist/common/mcp.d.ts +176 -7
  30. package/dist/common/mcp.js +4949 -2636
  31. package/dist/common/poll-trigger.js +1641 -1474
  32. package/dist/common/provider-triggers.js +2800 -2694
  33. package/dist/common/scheduler.js +2383 -2212
  34. package/dist/common/trigger-catalog.d.ts +2 -0
  35. package/dist/common/trigger-contract.d.ts +2 -0
  36. package/dist/common/webhook-trigger.d.ts +3 -1
  37. package/dist/common/webhook-trigger.js +7014 -78
  38. package/package.json +1 -1
@@ -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';