@oomol-lab/open-flow 0.1.0-beta.31 → 0.1.0-beta.32

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 (63) hide show
  1. package/dist/browser/{createResourceDialog-FBRnCMK6.js → createResourceDialog-DRB0OEtr.js} +2 -2
  2. package/dist/browser/{editorComponent-CyH2o-Ji.js → editorComponent-bXA-KosC.js} +2744 -1113
  3. package/dist/browser/flow-authoring-node.d.ts +5 -3
  4. package/dist/browser/flow-authoring.js +1569 -1462
  5. package/dist/browser/flow-change.d.ts +44 -17
  6. package/dist/browser/flow-change.js +1614 -1492
  7. package/dist/browser/flow-input-value.d.ts +6 -0
  8. package/dist/browser/flow-notifications.d.ts +5 -0
  9. package/dist/browser/flowChanges-FiZJreeB.js +9855 -0
  10. package/dist/browser/{flowRunInputEditorStore-CTORQcA2.js → flowRunInputEditorStore-Bgb5vSeS.js} +3 -3
  11. package/dist/browser/flowWorkspace-CBo6Ih_c.js +40987 -0
  12. package/dist/browser/{inputValues-C21gYJuc.js → inputValues-CUyjbECo.js} +2 -2
  13. package/dist/browser/licenses.md +0 -58
  14. package/dist/browser/{lite-BuKZ8joP.js → lite-BA96NG4M.js} +8 -4
  15. package/dist/browser/theme.css +2 -0
  16. package/dist/browser/ui.css +2 -1
  17. package/dist/browser/ui.d.ts +31 -3
  18. package/dist/browser/ui.js +3547 -772
  19. package/dist/browser/{value-DPg_9yXB.js → value-B_yE9ean.js} +22 -14
  20. package/dist/browser/workbench.css +1 -1
  21. package/dist/browser/workbench.d.ts +1 -0
  22. package/dist/browser/workbench.js +3944 -1077
  23. package/dist/browser/{workbenchSelect-DAaGuZwP.js → workbenchSelect-DNteZJYP.js} +1695 -1471
  24. package/dist/common/control-api-conformance.d.ts +6 -0
  25. package/dist/common/control-api-conformance.js +502 -388
  26. package/dist/common/control-api-errors.d.ts +16 -0
  27. package/dist/common/control-api.d.ts +49 -6
  28. package/dist/common/control-api.js +1715 -1564
  29. package/dist/common/control-requests.d.ts +10 -0
  30. package/dist/common/control-requests.js +1182 -1137
  31. package/dist/common/event-sources.d.ts +0 -1
  32. package/dist/common/feishu-events.d.ts +0 -1
  33. package/dist/common/flow-encoding.js +580 -557
  34. package/dist/common/flow-graph.d.ts +16 -9
  35. package/dist/common/flow-notifications.d.ts +5 -0
  36. package/dist/common/flow-semantics.d.ts +2 -2
  37. package/dist/common/flow-semantics.js +2184 -1912
  38. package/dist/common/fr-ClB96SQY.js +298 -0
  39. package/dist/common/integration-trigger.d.ts +1 -0
  40. package/dist/common/integration-trigger.js +7572 -88
  41. package/dist/common/ja-BJF-VrP2.js +298 -0
  42. package/dist/common/ko-Bght_VaB.js +298 -0
  43. package/dist/common/mcp.js +1718 -1571
  44. package/dist/common/poll-trigger.d.ts +3 -1
  45. package/dist/common/poll-trigger.js +7512 -28
  46. package/dist/common/provider-triggers.js +6798 -3518
  47. package/dist/common/ru-DrP4BRM5.js +298 -0
  48. package/dist/common/runtime-contract.d.ts +1 -1
  49. package/dist/common/runtime-contract.js +41 -27
  50. package/dist/common/scheduler.js +921 -738
  51. package/dist/common/trigger-catalog.d.ts +3 -1
  52. package/dist/common/trigger-config.d.ts +7 -0
  53. package/dist/common/zh-CN-D2od3TNw.js +298 -0
  54. package/dist/common/zh-TW-CRmc3FMz.js +298 -0
  55. package/package.json +1 -1
  56. package/dist/browser/flowChanges-ScpWTKtQ.js +0 -12293
  57. package/dist/browser/flowWorkspace-CY1r6dwz.js +0 -153101
  58. package/dist/common/fr-iv1541dF.js +0 -93
  59. package/dist/common/ja-Bq-ZDOD4.js +0 -93
  60. package/dist/common/ko-Z-k9R2c6.js +0 -93
  61. package/dist/common/ru-B4gFecYZ.js +0 -93
  62. package/dist/common/zh-CN-ByQ6nYam.js +0 -93
  63. package/dist/common/zh-TW-QjIarvX9.js +0 -93
@@ -1,4 +1,4 @@
1
- import type { ChangeOperation, CodeModule, ConnectorCapability, GraphNode, GraphTarget, InputMapping, JsonValue, PortDefinition, RevisionContent, TaskDefinition, TriggerKeySnapshot, TriggerNode, TriggerSchedule, WebhookOptions } from './flow-change.js';
1
+ import type { ChangeOperation, CodeModule, ConnectorCapability, GraphNode, GraphTarget, InputMapping, InputValues, JsonValue, PortDefinition, RevisionContent, TaskDefinition, TriggerKeySnapshot, TriggerNode, TriggerSchedule, WebhookOptions } from './flow-change.js';
2
2
  export interface Settings {
3
3
  readonly name?: string;
4
4
  readonly maxExecutions?: number;
@@ -27,11 +27,11 @@ export type TriggerSettings = (TriggerSettingsBase & {
27
27
  readonly kind: 'cron';
28
28
  readonly schedule: readonly TriggerSchedule[];
29
29
  }) | (TriggerSettingsBase & {
30
- readonly config: Readonly<Record<string, JsonValue>>;
30
+ readonly config: InputValues;
31
31
  readonly kind: 'poll';
32
32
  readonly schedule: readonly TriggerSchedule[];
33
33
  }) | (TriggerSettingsBase & {
34
- readonly config: Readonly<Record<string, JsonValue>>;
34
+ readonly config: InputValues;
35
35
  readonly kind: 'integration';
36
36
  });
37
37
  export declare function createCodeTask(target: GraphTarget, identity: {
@@ -82,6 +82,8 @@ export declare function deleteNodes(content: RevisionContent, target: GraphTarge
82
82
  export declare function updateSettings(content: RevisionContent, target: GraphTarget, nodeId: string, settings: Settings): readonly ChangeOperation[] | undefined;
83
83
  export declare function setInputValue(content: RevisionContent, target: GraphTarget, nodeId: string, handle: string, value: JsonValue | undefined): readonly ChangeOperation[] | undefined;
84
84
  export declare function setInputValues(content: RevisionContent, target: GraphTarget, nodeId: string, values: Readonly<Record<string, JsonValue | undefined>>): readonly ChangeOperation[] | undefined;
85
+ /** Restore inheritance for this form in one undoable change. */
86
+ export declare function resetInputValues(content: RevisionContent, target: GraphTarget, nodeId: string, handles: readonly string[]): readonly ChangeOperation[];
85
87
  export declare function setInputSources(content: RevisionContent, target: GraphTarget, nodeId: string, handle: string, sources: Extract<InputMapping, {
86
88
  readonly kind: 'sources';
87
89
  }>['sources']): readonly ChangeOperation[];