@powerhousedao/workflow 6.2.3-dev.54 → 6.2.3-dev.56

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 (170) hide show
  1. package/dist/browser/{BlockSelector-CzJnQWsh.js → BlockSelector-DnBab95a.js} +3 -3
  2. package/dist/browser/{BlockSelector-CzJnQWsh.js.map → BlockSelector-DnBab95a.js.map} +1 -1
  3. package/dist/browser/block-type-kX-27vVt.js +44 -0
  4. package/dist/browser/block-type-kX-27vVt.js.map +1 -0
  5. package/dist/browser/{connection-BP17lpt3.js → connection-BXV8I017.js} +2 -2
  6. package/dist/browser/{connection-BP17lpt3.js.map → connection-BXV8I017.js.map} +1 -1
  7. package/dist/browser/{connection-form-cCgfAa1A.js → connection-form-Cy2fyFUR.js} +24 -28
  8. package/dist/browser/connection-form-Cy2fyFUR.js.map +1 -0
  9. package/dist/browser/{data-tree-S_SwaRve.js → data-tree-BvFLAMyE.js} +2 -2
  10. package/dist/browser/{data-tree-S_SwaRve.js.map → data-tree-BvFLAMyE.js.map} +1 -1
  11. package/dist/browser/document-models/connection/index.js +3 -3
  12. package/dist/browser/document-models/index.js +3 -3
  13. package/dist/browser/document-models/workflow/index.js +3 -3
  14. package/dist/browser/{document-models-B08jDa_s.js → document-models-DAAo3Bln.js} +40 -6
  15. package/dist/browser/{document-models-B08jDa_s.js.map → document-models-DAAo3Bln.js.map} +1 -1
  16. package/dist/browser/{editor-CQyfDOIN.js → editor-CEJO-2Ue.js} +138 -127
  17. package/dist/browser/editor-CEJO-2Ue.js.map +1 -0
  18. package/dist/{node/editor-EeTeVS3A.mjs → browser/editor-DVBnS8YM.js} +360 -319
  19. package/dist/browser/editor-DVBnS8YM.js.map +1 -0
  20. package/dist/browser/{editor-CVXRNht0.js → editor-Dc9Q55q1.js} +7 -7
  21. package/dist/browser/{editor-CVXRNht0.js.map → editor-Dc9Q55q1.js.map} +1 -1
  22. package/dist/browser/editors/connection-editor/module.js +1 -1
  23. package/dist/browser/editors/runtime/index.js +2 -0
  24. package/dist/browser/editors/workflow-editor/module.js +1 -1
  25. package/dist/browser/editors/workflow-studio/module.js +1 -1
  26. package/dist/browser/index.js +4 -4
  27. package/dist/browser/{module-B2BMwu5E.js → module-DIQ3tQ2M.js} +97 -2
  28. package/dist/browser/module-DIQ3tQ2M.js.map +1 -0
  29. package/dist/browser/{module-ozS5EVRx.js → module-DxQBeqBh.js} +211 -83
  30. package/dist/browser/module-DxQBeqBh.js.map +1 -0
  31. package/dist/browser/reactor/index.js +2 -2
  32. package/dist/browser/{runtime-queries-2hn7fcKn.js → runtime-queries-DehIdatq.js} +3 -3
  33. package/dist/browser/{runtime-queries-2hn7fcKn.js.map → runtime-queries-DehIdatq.js.map} +1 -1
  34. package/dist/browser/{trigger-text-Cfyx8tMq.js → trigger-text-CfRbN-DV.js} +5 -5
  35. package/dist/browser/trigger-text-CfRbN-DV.js.map +1 -0
  36. package/dist/browser/upgrade-manifests-CAE3ivDp.js +8 -0
  37. package/dist/browser/{upgrade-manifests-DHGmgHKW.js.map → upgrade-manifests-CAE3ivDp.js.map} +1 -1
  38. package/dist/browser/{workflow-DoewHe4K.js → workflow-C003Wutu.js} +2 -2
  39. package/dist/browser/{workflow-DoewHe4K.js.map → workflow-C003Wutu.js.map} +1 -1
  40. package/dist/node/{BlockSelector-g9m3yaJj.mjs → BlockSelector-B77i85CO.mjs} +3 -3
  41. package/dist/node/{BlockSelector-g9m3yaJj.mjs.map → BlockSelector-B77i85CO.mjs.map} +1 -1
  42. package/dist/node/block-type-kX-27vVt.mjs +44 -0
  43. package/dist/node/block-type-kX-27vVt.mjs.map +1 -0
  44. package/dist/node/{connection-BxJoL8js.mjs → connection-BzW9OpKx.mjs} +2 -2
  45. package/dist/node/{connection-BxJoL8js.mjs.map → connection-BzW9OpKx.mjs.map} +1 -1
  46. package/dist/node/{connection-form-h0PidbTI.mjs → connection-form-BCwEO3ll.mjs} +24 -28
  47. package/dist/node/connection-form-BCwEO3ll.mjs.map +1 -0
  48. package/dist/node/{data-tree-CKKeR7qj.mjs → data-tree-CH8KnNSz.mjs} +2 -2
  49. package/dist/node/{data-tree-CKKeR7qj.mjs.map → data-tree-CH8KnNSz.mjs.map} +1 -1
  50. package/dist/node/document-models/connection/index.mjs +3 -3
  51. package/dist/node/document-models/index.mjs +3 -3
  52. package/dist/node/document-models/workflow/index.mjs +3 -3
  53. package/dist/node/{editor-BAbYXi7T.mjs → editor-BYzFMCB8.mjs} +7 -7
  54. package/dist/node/{editor-BAbYXi7T.mjs.map → editor-BYzFMCB8.mjs.map} +1 -1
  55. package/dist/{browser/editor-CbpyTAEC.js → node/editor-CsMRho-A.mjs} +360 -319
  56. package/dist/node/editor-CsMRho-A.mjs.map +1 -0
  57. package/dist/node/{editor-DCsT8WsQ.mjs → editor-DtLyolUn.mjs} +138 -127
  58. package/dist/node/editor-DtLyolUn.mjs.map +1 -0
  59. package/dist/node/editors/connection-editor/module.mjs +1 -1
  60. package/dist/node/editors/runtime/index.mjs +2 -0
  61. package/dist/node/editors/workflow-editor/module.mjs +1 -1
  62. package/dist/node/editors/workflow-studio/module.mjs +1 -1
  63. package/dist/node/index.mjs +41 -7
  64. package/dist/node/index.mjs.map +1 -1
  65. package/dist/node/{module-BlT-atBQ.mjs → module-Bl_4mnxR.mjs} +97 -2
  66. package/dist/node/module-Bl_4mnxR.mjs.map +1 -0
  67. package/dist/node/{module-uKdoLIga.mjs → module-DPg8IYIn.mjs} +211 -83
  68. package/dist/node/module-DPg8IYIn.mjs.map +1 -0
  69. package/dist/node/pieces/reactor/descriptor.json +1 -1
  70. package/dist/node/pieces/reactor/package.json +1 -1
  71. package/dist/node/{runtime-queries-BtTx8FU3.mjs → runtime-queries-CJSpbsBq.mjs} +3 -3
  72. package/dist/node/{runtime-queries-BtTx8FU3.mjs.map → runtime-queries-CJSpbsBq.mjs.map} +1 -1
  73. package/dist/node/{trigger-text-CtSXg0KB.mjs → trigger-text-C6BlOwck.mjs} +5 -5
  74. package/dist/node/trigger-text-C6BlOwck.mjs.map +1 -0
  75. package/dist/node/upgrade-manifests-7SFwDrhd.mjs +8 -0
  76. package/dist/node/{upgrade-manifests-D-pLniUG.mjs.map → upgrade-manifests-7SFwDrhd.mjs.map} +1 -1
  77. package/dist/node/{workflow-Dy-309pE.mjs → workflow-7pmOvHmg.mjs} +2 -2
  78. package/dist/node/{workflow-Dy-309pE.mjs.map → workflow-7pmOvHmg.mjs.map} +1 -1
  79. package/dist/powerhouse.manifest.json +38 -4
  80. package/dist/style.css +29 -14
  81. package/dist/types/document-models/connection/v1/actions.d.ts +2 -0
  82. package/dist/types/document-models/connection/v1/actions.d.ts.map +1 -1
  83. package/dist/types/document-models/connection/v1/gen/config/actions.d.ts +10 -2
  84. package/dist/types/document-models/connection/v1/gen/config/actions.d.ts.map +1 -1
  85. package/dist/types/document-models/connection/v1/gen/config/creators.d.ts +4 -2
  86. package/dist/types/document-models/connection/v1/gen/config/creators.d.ts.map +1 -1
  87. package/dist/types/document-models/connection/v1/gen/config/error.d.ts +15 -1
  88. package/dist/types/document-models/connection/v1/gen/config/error.d.ts.map +1 -1
  89. package/dist/types/document-models/connection/v1/gen/config/operations.d.ts +3 -1
  90. package/dist/types/document-models/connection/v1/gen/config/operations.d.ts.map +1 -1
  91. package/dist/types/document-models/connection/v1/gen/document-model.d.ts.map +1 -1
  92. package/dist/types/document-models/connection/v1/gen/reducer.d.ts.map +1 -1
  93. package/dist/types/document-models/connection/v1/gen/schema/types.d.ts +7 -0
  94. package/dist/types/document-models/connection/v1/gen/schema/types.d.ts.map +1 -1
  95. package/dist/types/document-models/connection/v1/gen/schema/zod.d.ts +3 -1
  96. package/dist/types/document-models/connection/v1/gen/schema/zod.d.ts.map +1 -1
  97. package/dist/types/document-models/connection/v1/module.d.ts +2 -0
  98. package/dist/types/document-models/connection/v1/module.d.ts.map +1 -1
  99. package/dist/types/document-models/connection/v1/src/reducers/config.d.ts.map +1 -1
  100. package/dist/types/document-models/connection/v1/tests/config-values.test.d.ts +2 -0
  101. package/dist/types/document-models/connection/v1/tests/config-values.test.d.ts.map +1 -0
  102. package/dist/types/document-models/document-models.d.ts +5 -0
  103. package/dist/types/document-models/document-models.d.ts.map +1 -1
  104. package/dist/types/document-models/workflow/v1/actions.d.ts +3 -0
  105. package/dist/types/document-models/workflow/v1/actions.d.ts.map +1 -1
  106. package/dist/types/document-models/workflow/v1/gen/document-model.d.ts.map +1 -1
  107. package/dist/types/document-models/workflow/v1/gen/reducer.d.ts.map +1 -1
  108. package/dist/types/document-models/workflow/v1/gen/schema/types.d.ts +16 -0
  109. package/dist/types/document-models/workflow/v1/gen/schema/types.d.ts.map +1 -1
  110. package/dist/types/document-models/workflow/v1/gen/schema/zod.d.ts +5 -1
  111. package/dist/types/document-models/workflow/v1/gen/schema/zod.d.ts.map +1 -1
  112. package/dist/types/document-models/workflow/v1/gen/trigger/actions.d.ts +14 -2
  113. package/dist/types/document-models/workflow/v1/gen/trigger/actions.d.ts.map +1 -1
  114. package/dist/types/document-models/workflow/v1/gen/trigger/creators.d.ts +5 -2
  115. package/dist/types/document-models/workflow/v1/gen/trigger/creators.d.ts.map +1 -1
  116. package/dist/types/document-models/workflow/v1/gen/trigger/error.d.ts +32 -1
  117. package/dist/types/document-models/workflow/v1/gen/trigger/error.d.ts.map +1 -1
  118. package/dist/types/document-models/workflow/v1/gen/trigger/operations.d.ts +4 -1
  119. package/dist/types/document-models/workflow/v1/gen/trigger/operations.d.ts.map +1 -1
  120. package/dist/types/document-models/workflow/v1/module.d.ts +3 -0
  121. package/dist/types/document-models/workflow/v1/module.d.ts.map +1 -1
  122. package/dist/types/document-models/workflow/v1/src/reducers/trigger.d.ts.map +1 -1
  123. package/dist/types/document-models/workflow/v1/tests/trigger-fields.test.d.ts +2 -0
  124. package/dist/types/document-models/workflow/v1/tests/trigger-fields.test.d.ts.map +1 -0
  125. package/dist/types/editors/connection-editor/ReactorConnectionSettings.d.ts.map +1 -1
  126. package/dist/types/editors/connection-editor/connection-callbacks.d.ts.map +1 -1
  127. package/dist/types/editors/connection-editor/connection-form.d.ts +2 -2
  128. package/dist/types/editors/connection-editor/connection-form.d.ts.map +1 -1
  129. package/dist/types/editors/runtime/index.d.ts +21 -0
  130. package/dist/types/editors/runtime/index.d.ts.map +1 -0
  131. package/dist/types/editors/runtime/runtime-export.test.d.ts +2 -0
  132. package/dist/types/editors/runtime/runtime-export.test.d.ts.map +1 -0
  133. package/dist/types/editors/shared/pending-echo.d.ts +9 -0
  134. package/dist/types/editors/shared/pending-echo.d.ts.map +1 -0
  135. package/dist/types/editors/workflow-editor/document/useWorkflowModel.d.ts.map +1 -1
  136. package/dist/types/editors/workflow-editor/ui/PropertyForm.d.ts.map +1 -1
  137. package/dist/types/editors/workflow-editor/ui/ScheduleBuilder.d.ts.map +1 -1
  138. package/dist/types/editors/workflow-editor/ui/StepPanel.d.ts.map +1 -1
  139. package/dist/types/editors/workflow-editor/ui/model.d.ts +6 -0
  140. package/dist/types/editors/workflow-editor/ui/model.d.ts.map +1 -1
  141. package/dist/types/editors/workflow-studio/components/WorkflowBoard.d.ts.map +1 -1
  142. package/dist/types/editors/workflow-studio/components/WorkflowGraph.d.ts.map +1 -1
  143. package/dist/types/editors/workflow-studio/components/chain.d.ts +3 -1
  144. package/dist/types/editors/workflow-studio/components/chain.d.ts.map +1 -1
  145. package/dist/types/editors/workflow-studio/components/tips.d.ts +23 -0
  146. package/dist/types/editors/workflow-studio/components/tips.d.ts.map +1 -0
  147. package/dist/types/scripts/ui-stack.d.ts.map +1 -1
  148. package/dist/types/test/ui/harness/property-form-echo.d.ts +12 -0
  149. package/dist/types/test/ui/harness/property-form-echo.d.ts.map +1 -0
  150. package/dist/types/test/ui/harness/schedule-builder.d.ts +8 -0
  151. package/dist/types/test/ui/harness/schedule-builder.d.ts.map +1 -0
  152. package/dist/types/test/ui/property-form-echo.spec.d.ts +2 -0
  153. package/dist/types/test/ui/property-form-echo.spec.d.ts.map +1 -0
  154. package/dist/types/test/ui/schedule-builder.spec.d.ts +2 -0
  155. package/dist/types/test/ui/schedule-builder.spec.d.ts.map +1 -0
  156. package/package.json +14 -8
  157. package/dist/browser/connection-form-cCgfAa1A.js.map +0 -1
  158. package/dist/browser/editor-CQyfDOIN.js.map +0 -1
  159. package/dist/browser/editor-CbpyTAEC.js.map +0 -1
  160. package/dist/browser/module-B2BMwu5E.js.map +0 -1
  161. package/dist/browser/module-ozS5EVRx.js.map +0 -1
  162. package/dist/browser/trigger-text-Cfyx8tMq.js.map +0 -1
  163. package/dist/browser/upgrade-manifests-DHGmgHKW.js +0 -8
  164. package/dist/node/connection-form-h0PidbTI.mjs.map +0 -1
  165. package/dist/node/editor-DCsT8WsQ.mjs.map +0 -1
  166. package/dist/node/editor-EeTeVS3A.mjs.map +0 -1
  167. package/dist/node/module-BlT-atBQ.mjs.map +0 -1
  168. package/dist/node/module-uKdoLIga.mjs.map +0 -1
  169. package/dist/node/trigger-text-CtSXg0KB.mjs.map +0 -1
  170. package/dist/node/upgrade-manifests-D-pLniUG.mjs +0 -8
@@ -0,0 +1,8 @@
1
+ import { m as connectionUpgradeManifest } from "./module-Bl_4mnxR.mjs";
2
+ import { m as workflowUpgradeManifest } from "./module-DPg8IYIn.mjs";
3
+ //#region document-models/upgrade-manifests.ts
4
+ const upgradeManifests = [connectionUpgradeManifest, workflowUpgradeManifest];
5
+ //#endregion
6
+ export { upgradeManifests as t };
7
+
8
+ //# sourceMappingURL=upgrade-manifests-7SFwDrhd.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"upgrade-manifests-D-pLniUG.mjs","names":[],"sources":["../../document-models/upgrade-manifests.ts"],"sourcesContent":["/**\n * WARNING: DO NOT EDIT\n * This file is auto-generated and updated by codegen\n */\nimport type { UpgradeManifest } from \"document-model\";\nimport { connectionUpgradeManifest } from \"document-models/connection/upgrades\";\nimport { workflowUpgradeManifest } from \"document-models/workflow/upgrades\";\n\nexport const upgradeManifests: UpgradeManifest<readonly number[]>[] = [\n connectionUpgradeManifest,\n workflowUpgradeManifest,\n];\n"],"mappings":";;;AAQA,MAAa,mBAAyD,CACpE,2BACA,uBACF"}
1
+ {"version":3,"file":"upgrade-manifests-7SFwDrhd.mjs","names":[],"sources":["../../document-models/upgrade-manifests.ts"],"sourcesContent":["/**\n * WARNING: DO NOT EDIT\n * This file is auto-generated and updated by codegen\n */\nimport type { UpgradeManifest } from \"document-model\";\nimport { connectionUpgradeManifest } from \"document-models/connection/upgrades\";\nimport { workflowUpgradeManifest } from \"document-models/workflow/upgrades\";\n\nexport const upgradeManifests: UpgradeManifest<readonly number[]>[] = [\n connectionUpgradeManifest,\n workflowUpgradeManifest,\n];\n"],"mappings":";;;AAQA,MAAa,mBAAyD,CACpE,2BACA,uBACF"}
@@ -1,4 +1,4 @@
1
- import { a as utils, d as isWorkflowDocument, l as assertIsWorkflowDocument, t as Workflow } from "./module-uKdoLIga.mjs";
1
+ import { a as utils, d as isWorkflowDocument, l as assertIsWorkflowDocument, t as Workflow } from "./module-DPg8IYIn.mjs";
2
2
  import { PHDocumentController, createBaseState, defaultBaseState } from "document-model";
3
3
  import { useDocumentById, useDocumentsInSelectedDrive, useDocumentsInSelectedFolder, useSelectedDocument } from "@powerhousedao/reactor-browser";
4
4
  //#region document-models/workflow/v1/gen/controller.ts
@@ -105,4 +105,4 @@ function useWorkflowDocumentsInSelectedFolder() {
105
105
  //#endregion
106
106
  export { createState$1 as a, defaultLocalState as c, useWorkflowDocumentsInSelectedFolder as i, defaultPHState as l, useWorkflowDocumentById as n, createWorkflowDocument as o, useWorkflowDocumentsInSelectedDrive as r, defaultGlobalState as s, useSelectedWorkflowDocument as t, WorkflowController as u };
107
107
 
108
- //# sourceMappingURL=workflow-Dy-309pE.mjs.map
108
+ //# sourceMappingURL=workflow-7pmOvHmg.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"workflow-Dy-309pE.mjs","names":["createState"],"sources":["../../document-models/workflow/v1/gen/controller.ts","../../document-models/workflow/v1/gen/ph-factories.ts","../../document-models/workflow/v1/hooks.ts"],"sourcesContent":["/**\n * WARNING: DO NOT EDIT\n * This file is auto-generated and updated by codegen\n */\nimport { PHDocumentController } from \"document-model\";\nimport { Workflow } from \"../module.js\";\nimport type { WorkflowAction, WorkflowPHState } from \"./types.js\";\n\nexport const WorkflowController = PHDocumentController.forDocumentModel<\n WorkflowPHState,\n WorkflowAction\n>(Workflow);\n","/**\n * WARNING: DO NOT EDIT\n * This file is auto-generated and updated by codegen\n * Factory methods for creating WorkflowDocument instances\n */\nimport type { PHAuthState, PHBaseState, PHDocumentState } from \"document-model\";\nimport { createBaseState, defaultBaseState } from \"document-model\";\nimport type {\n WorkflowDocument,\n WorkflowGlobalState,\n WorkflowLocalState,\n WorkflowPHState,\n} from \"./types.js\";\nimport { utils } from \"./utils.js\";\n\nexport function defaultGlobalState(): WorkflowGlobalState {\n return {\n name: \"\",\n description: null,\n status: \"DRAFT\",\n version: 0,\n trigger: null,\n steps: [],\n edges: [],\n variables: [],\n policy: {\n concurrency: \"QUEUE\",\n maxParallelRuns: null,\n runTimeoutSeconds: 3600,\n maxSuspensionDays: 30,\n defaultRetry: {\n maxAttempts: 1,\n backoff: \"FIXED\",\n initialDelaySeconds: 5,\n maxDelaySeconds: 300,\n retryOn: [],\n },\n onFailure: \"PARK\",\n retainRunsDays: 30,\n journalAsDocument: false,\n },\n published: null,\n lastRunAt: null,\n lastRunStatus: null,\n };\n}\n\nexport function defaultLocalState(): WorkflowLocalState {\n return {};\n}\n\nexport function defaultPHState(): WorkflowPHState {\n return {\n ...defaultBaseState(),\n global: defaultGlobalState(),\n local: defaultLocalState(),\n };\n}\n\nexport function createGlobalState(\n state?: Partial<WorkflowGlobalState>,\n): WorkflowGlobalState {\n return {\n ...defaultGlobalState(),\n ...(state || {}),\n };\n}\n\nexport function createLocalState(\n state?: Partial<WorkflowLocalState>,\n): WorkflowLocalState {\n return {\n ...defaultLocalState(),\n ...(state || {}),\n } as WorkflowLocalState;\n}\n\nexport function createState(\n baseState?: Partial<PHBaseState>,\n globalState?: Partial<WorkflowGlobalState>,\n localState?: Partial<WorkflowLocalState>,\n): WorkflowPHState {\n return {\n ...createBaseState(baseState?.auth, baseState?.document),\n global: createGlobalState(globalState),\n local: createLocalState(localState),\n };\n}\n\n/**\n * Creates a WorkflowDocument with custom global and local state\n * This properly handles the PHBaseState requirements while allowing\n * document-specific state to be set.\n */\nexport function createWorkflowDocument(\n state?: Partial<{\n auth?: Partial<PHAuthState>;\n document?: Partial<PHDocumentState>;\n global?: Partial<WorkflowGlobalState>;\n local?: Partial<WorkflowLocalState>;\n }>,\n): WorkflowDocument {\n const document = utils.createDocument(\n createState(\n createBaseState(state?.auth, { version: 1, ...state?.document }),\n state?.global,\n state?.local,\n ),\n );\n\n return document;\n}\n","/**\n * WARNING: DO NOT EDIT\n * This file is auto-generated and updated by codegen\n */\nimport type { DocumentDispatch } from \"@powerhousedao/reactor-browser\";\nimport {\n useDocumentById,\n useDocumentsInSelectedDrive,\n useDocumentsInSelectedFolder,\n useSelectedDocument,\n} from \"@powerhousedao/reactor-browser\";\nimport type {\n WorkflowAction,\n WorkflowDocument,\n} from \"document-models/workflow/v1\";\nimport {\n assertIsWorkflowDocument,\n isWorkflowDocument,\n} from \"./gen/document-schema.js\";\n\n/** Hook to get a Workflow document by its id */\nexport function useWorkflowDocumentById(\n documentId: string | null | undefined,\n):\n | [WorkflowDocument, DocumentDispatch<WorkflowAction>]\n | [undefined, undefined] {\n const [document, dispatch] = useDocumentById(documentId);\n if (!isWorkflowDocument(document)) return [undefined, undefined];\n return [document, dispatch];\n}\n\n/** Hook to get the selected Workflow document */\nexport function useSelectedWorkflowDocument(): [\n WorkflowDocument,\n DocumentDispatch<WorkflowAction>,\n] {\n const [document, dispatch] = useSelectedDocument();\n\n assertIsWorkflowDocument(document);\n return [document, dispatch] as const;\n}\n\n/** Hook to get all Workflow documents in the selected drive */\nexport function useWorkflowDocumentsInSelectedDrive() {\n const documentsInSelectedDrive = useDocumentsInSelectedDrive();\n return documentsInSelectedDrive?.filter(isWorkflowDocument);\n}\n\n/** Hook to get all Workflow documents in the selected folder */\nexport function useWorkflowDocumentsInSelectedFolder() {\n const documentsInSelectedFolder = useDocumentsInSelectedFolder();\n return documentsInSelectedFolder?.filter(isWorkflowDocument);\n}\n"],"mappings":";;;;;;;;AAQA,MAAa,qBAAqB,qBAAqB,iBAGrD,QAAQ;;;ACIV,SAAgB,qBAA0C;CACxD,OAAO;EACL,MAAM;EACN,aAAa;EACb,QAAQ;EACR,SAAS;EACT,SAAS;EACT,OAAO,CAAC;EACR,OAAO,CAAC;EACR,WAAW,CAAC;EACZ,QAAQ;GACN,aAAa;GACb,iBAAiB;GACjB,mBAAmB;GACnB,mBAAmB;GACnB,cAAc;IACZ,aAAa;IACb,SAAS;IACT,qBAAqB;IACrB,iBAAiB;IACjB,SAAS,CAAC;GACZ;GACA,WAAW;GACX,gBAAgB;GAChB,mBAAmB;EACrB;EACA,WAAW;EACX,WAAW;EACX,eAAe;CACjB;AACF;AAEA,SAAgB,oBAAwC;CACtD,OAAO,CAAC;AACV;AAEA,SAAgB,iBAAkC;CAChD,OAAO;EACL,GAAG,iBAAiB;EACpB,QAAQ,mBAAmB;EAC3B,OAAO,kBAAkB;CAC3B;AACF;AAEA,SAAgB,kBACd,OACqB;CACrB,OAAO;EACL,GAAG,mBAAmB;EACtB,GAAI,SAAS,CAAC;CAChB;AACF;AAEA,SAAgB,iBACd,OACoB;CACpB,OAAO;EACL,GAAG,kBAAkB;EACrB,GAAI,SAAS,CAAC;CAChB;AACF;AAEA,SAAgBA,cACd,WACA,aACA,YACiB;CACjB,OAAO;EACL,GAAG,gBAAgB,WAAW,MAAM,WAAW,QAAQ;EACvD,QAAQ,kBAAkB,WAAW;EACrC,OAAO,iBAAiB,UAAU;CACpC;AACF;;;;;;AAOA,SAAgB,uBACd,OAMkB;CASlB,OARiB,MAAM,eACrBA,cACE,gBAAgB,OAAO,MAAM;EAAE,SAAS;EAAG,GAAG,OAAO;CAAS,CAAC,GAC/D,OAAO,QACP,OAAO,KACT,CAGY;AAChB;;;;AC1FA,SAAgB,wBACd,YAGyB;CACzB,MAAM,CAAC,UAAU,YAAY,gBAAgB,UAAU;CACvD,IAAI,CAAC,mBAAmB,QAAQ,GAAG,OAAO,CAAC,KAAA,GAAW,KAAA,CAAS;CAC/D,OAAO,CAAC,UAAU,QAAQ;AAC5B;;AAGA,SAAgB,8BAGd;CACA,MAAM,CAAC,UAAU,YAAY,oBAAoB;CAEjD,yBAAyB,QAAQ;CACjC,OAAO,CAAC,UAAU,QAAQ;AAC5B;;AAGA,SAAgB,sCAAsC;CAEpD,OADiC,4BACH,CAAC,EAAE,OAAO,kBAAkB;AAC5D;;AAGA,SAAgB,uCAAuC;CAErD,OADkC,6BACH,CAAC,EAAE,OAAO,kBAAkB;AAC7D"}
1
+ {"version":3,"file":"workflow-7pmOvHmg.mjs","names":["createState"],"sources":["../../document-models/workflow/v1/gen/controller.ts","../../document-models/workflow/v1/gen/ph-factories.ts","../../document-models/workflow/v1/hooks.ts"],"sourcesContent":["/**\n * WARNING: DO NOT EDIT\n * This file is auto-generated and updated by codegen\n */\nimport { PHDocumentController } from \"document-model\";\nimport { Workflow } from \"../module.js\";\nimport type { WorkflowAction, WorkflowPHState } from \"./types.js\";\n\nexport const WorkflowController = PHDocumentController.forDocumentModel<\n WorkflowPHState,\n WorkflowAction\n>(Workflow);\n","/**\n * WARNING: DO NOT EDIT\n * This file is auto-generated and updated by codegen\n * Factory methods for creating WorkflowDocument instances\n */\nimport type { PHAuthState, PHBaseState, PHDocumentState } from \"document-model\";\nimport { createBaseState, defaultBaseState } from \"document-model\";\nimport type {\n WorkflowDocument,\n WorkflowGlobalState,\n WorkflowLocalState,\n WorkflowPHState,\n} from \"./types.js\";\nimport { utils } from \"./utils.js\";\n\nexport function defaultGlobalState(): WorkflowGlobalState {\n return {\n name: \"\",\n description: null,\n status: \"DRAFT\",\n version: 0,\n trigger: null,\n steps: [],\n edges: [],\n variables: [],\n policy: {\n concurrency: \"QUEUE\",\n maxParallelRuns: null,\n runTimeoutSeconds: 3600,\n maxSuspensionDays: 30,\n defaultRetry: {\n maxAttempts: 1,\n backoff: \"FIXED\",\n initialDelaySeconds: 5,\n maxDelaySeconds: 300,\n retryOn: [],\n },\n onFailure: \"PARK\",\n retainRunsDays: 30,\n journalAsDocument: false,\n },\n published: null,\n lastRunAt: null,\n lastRunStatus: null,\n };\n}\n\nexport function defaultLocalState(): WorkflowLocalState {\n return {};\n}\n\nexport function defaultPHState(): WorkflowPHState {\n return {\n ...defaultBaseState(),\n global: defaultGlobalState(),\n local: defaultLocalState(),\n };\n}\n\nexport function createGlobalState(\n state?: Partial<WorkflowGlobalState>,\n): WorkflowGlobalState {\n return {\n ...defaultGlobalState(),\n ...(state || {}),\n };\n}\n\nexport function createLocalState(\n state?: Partial<WorkflowLocalState>,\n): WorkflowLocalState {\n return {\n ...defaultLocalState(),\n ...(state || {}),\n } as WorkflowLocalState;\n}\n\nexport function createState(\n baseState?: Partial<PHBaseState>,\n globalState?: Partial<WorkflowGlobalState>,\n localState?: Partial<WorkflowLocalState>,\n): WorkflowPHState {\n return {\n ...createBaseState(baseState?.auth, baseState?.document),\n global: createGlobalState(globalState),\n local: createLocalState(localState),\n };\n}\n\n/**\n * Creates a WorkflowDocument with custom global and local state\n * This properly handles the PHBaseState requirements while allowing\n * document-specific state to be set.\n */\nexport function createWorkflowDocument(\n state?: Partial<{\n auth?: Partial<PHAuthState>;\n document?: Partial<PHDocumentState>;\n global?: Partial<WorkflowGlobalState>;\n local?: Partial<WorkflowLocalState>;\n }>,\n): WorkflowDocument {\n const document = utils.createDocument(\n createState(\n createBaseState(state?.auth, { version: 1, ...state?.document }),\n state?.global,\n state?.local,\n ),\n );\n\n return document;\n}\n","/**\n * WARNING: DO NOT EDIT\n * This file is auto-generated and updated by codegen\n */\nimport type { DocumentDispatch } from \"@powerhousedao/reactor-browser\";\nimport {\n useDocumentById,\n useDocumentsInSelectedDrive,\n useDocumentsInSelectedFolder,\n useSelectedDocument,\n} from \"@powerhousedao/reactor-browser\";\nimport type {\n WorkflowAction,\n WorkflowDocument,\n} from \"document-models/workflow/v1\";\nimport {\n assertIsWorkflowDocument,\n isWorkflowDocument,\n} from \"./gen/document-schema.js\";\n\n/** Hook to get a Workflow document by its id */\nexport function useWorkflowDocumentById(\n documentId: string | null | undefined,\n):\n | [WorkflowDocument, DocumentDispatch<WorkflowAction>]\n | [undefined, undefined] {\n const [document, dispatch] = useDocumentById(documentId);\n if (!isWorkflowDocument(document)) return [undefined, undefined];\n return [document, dispatch];\n}\n\n/** Hook to get the selected Workflow document */\nexport function useSelectedWorkflowDocument(): [\n WorkflowDocument,\n DocumentDispatch<WorkflowAction>,\n] {\n const [document, dispatch] = useSelectedDocument();\n\n assertIsWorkflowDocument(document);\n return [document, dispatch] as const;\n}\n\n/** Hook to get all Workflow documents in the selected drive */\nexport function useWorkflowDocumentsInSelectedDrive() {\n const documentsInSelectedDrive = useDocumentsInSelectedDrive();\n return documentsInSelectedDrive?.filter(isWorkflowDocument);\n}\n\n/** Hook to get all Workflow documents in the selected folder */\nexport function useWorkflowDocumentsInSelectedFolder() {\n const documentsInSelectedFolder = useDocumentsInSelectedFolder();\n return documentsInSelectedFolder?.filter(isWorkflowDocument);\n}\n"],"mappings":";;;;;;;;AAQA,MAAa,qBAAqB,qBAAqB,iBAGrD,QAAQ;;;ACIV,SAAgB,qBAA0C;CACxD,OAAO;EACL,MAAM;EACN,aAAa;EACb,QAAQ;EACR,SAAS;EACT,SAAS;EACT,OAAO,CAAC;EACR,OAAO,CAAC;EACR,WAAW,CAAC;EACZ,QAAQ;GACN,aAAa;GACb,iBAAiB;GACjB,mBAAmB;GACnB,mBAAmB;GACnB,cAAc;IACZ,aAAa;IACb,SAAS;IACT,qBAAqB;IACrB,iBAAiB;IACjB,SAAS,CAAC;GACZ;GACA,WAAW;GACX,gBAAgB;GAChB,mBAAmB;EACrB;EACA,WAAW;EACX,WAAW;EACX,eAAe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-dev.54",
48
+ "version": "6.2.3-dev.56",
49
49
  "description": "Read and write Powerhouse documents on the reactor this workflow runs in: create documents, dispatch actions, read state and schemas, and fire on document events.",
50
50
  "bundle": "dist/node/pieces/reactor",
51
51
  "descriptor": "dist/node/pieces/reactor/descriptor.json"
@@ -67,15 +67,49 @@
67
67
  {
68
68
  "name": "PH_WORKFLOWS_RUN_CONCURRENCY",
69
69
  "type": "var",
70
- "description": "How many runs execute at once. Each slot is a forked node process, so this is the reactor's real connector concurrency.",
71
- "default": "4"
70
+ "description": "Most piece children at once. Each is a forked node process that serves one request at a time and stays warm between them. Unset, it is sized from the container: twice the cores, less the reactor's worker threads, and no more than the memory left fits."
72
71
  },
73
72
  {
74
73
  "name": "PH_WORKFLOWS_RUN_QUEUE_DEPTH",
75
74
  "type": "var",
76
- "description": "How many runs may wait for a slot before new ones are refused. 0 waits without limit, turning saturation into latency rather than failures.",
75
+ "description": "How many piece requests may wait for a child before new ones are refused. 0 waits without limit, turning saturation into latency rather than failures.",
77
76
  "default": "0"
78
77
  },
78
+ {
79
+ "name": "PH_WORKFLOWS_WORKER_MEMORY_MB",
80
+ "type": "var",
81
+ "description": "Each piece child's V8 heap limit (--max-old-space-size). A child past 80% of it is retired between requests.",
82
+ "default": "256"
83
+ },
84
+ {
85
+ "name": "PH_WORKFLOWS_WORKER_MAX_REQUESTS",
86
+ "type": "var",
87
+ "description": "Requests a piece child serves before it is retired, a backstop for leaks outside its heap.",
88
+ "default": "1000"
89
+ },
90
+ {
91
+ "name": "PH_WORKFLOWS_WORKER_MIN",
92
+ "type": "var",
93
+ "description": "Idle piece children kept warm. Idle children above it exit after a minute; 0 lets every one exit.",
94
+ "default": "1"
95
+ },
96
+ {
97
+ "name": "PH_WORKFLOWS_TRIGGER_SLOTS",
98
+ "type": "var",
99
+ "description": "Piece children reserved for trigger hooks, so a burst of runs can't delay a poll.",
100
+ "default": "1"
101
+ },
102
+ {
103
+ "name": "PH_WORKFLOWS_RUNS_IN_FLIGHT",
104
+ "type": "var",
105
+ "description": "Runs admitted at once across all workflows, after each workflow's own concurrency policy. Unset, eight times the most piece children: a run waiting out a retry holds its place, so the event-loop limit does the throttling."
106
+ },
107
+ {
108
+ "name": "PH_WORKFLOWS_ADMIT_MAX_ELU",
109
+ "type": "var",
110
+ "description": "Main-thread event-loop utilization, 0 to 1, above which no new run is admitted. Runs already admitted continue, and one run is always admitted when none is running.",
111
+ "default": "0.8"
112
+ },
79
113
  {
80
114
  "name": "PH_WORKFLOWS_POLL_INTERVAL_MS",
81
115
  "type": "var",
package/dist/style.css CHANGED
@@ -340,12 +340,12 @@
340
340
  .top-0 {
341
341
  top: calc(var(--spacing) * 0);
342
342
  }
343
- .top-1 {
344
- top: calc(var(--spacing) * 1);
345
- }
346
343
  .top-1\/2 {
347
344
  top: calc(1 / 2 * 100%);
348
345
  }
346
+ .top-2\.5 {
347
+ top: calc(var(--spacing) * 2.5);
348
+ }
349
349
  .top-3 {
350
350
  top: calc(var(--spacing) * 3);
351
351
  }
@@ -364,8 +364,8 @@
364
364
  .right-3 {
365
365
  right: calc(var(--spacing) * 3);
366
366
  }
367
- .right-5 {
368
- right: calc(var(--spacing) * 5);
367
+ .right-4 {
368
+ right: calc(var(--spacing) * 4);
369
369
  }
370
370
  .right-full {
371
371
  right: 100%;
@@ -808,6 +808,9 @@
808
808
  .min-w-0 {
809
809
  min-width: calc(var(--spacing) * 0);
810
810
  }
811
+ .min-w-6 {
812
+ min-width: calc(var(--spacing) * 6);
813
+ }
811
814
  .min-w-16 {
812
815
  min-width: calc(var(--spacing) * 16);
813
816
  }
@@ -890,8 +893,8 @@
890
893
  .grid-cols-\[minmax\(0\,1fr\)_auto\] {
891
894
  grid-template-columns: minmax(0,1fr) auto;
892
895
  }
893
- .grid-cols-\[minmax\(10rem\,2fr\)_minmax\(0\,3fr\)\] {
894
- grid-template-columns: minmax(10rem,2fr) minmax(0,3fr);
896
+ .grid-cols-\[minmax\(10rem\,1fr\)_minmax\(0\,2fr\)\] {
897
+ grid-template-columns: minmax(10rem,1fr) minmax(0,2fr);
895
898
  }
896
899
  .grid-rows-\[1\.5rem\] {
897
900
  grid-template-rows: 1.5rem;
@@ -1548,9 +1551,6 @@
1548
1551
  .pb-4 {
1549
1552
  padding-bottom: calc(var(--spacing) * 4);
1550
1553
  }
1551
- .pl-0\.5 {
1552
- padding-left: calc(var(--spacing) * 0.5);
1553
- }
1554
1554
  .pl-1 {
1555
1555
  padding-left: calc(var(--spacing) * 1);
1556
1556
  }
@@ -2505,14 +2505,29 @@
2505
2505
  grid-template-columns: minmax(0,1fr) minmax(0,10rem) auto;
2506
2506
  }
2507
2507
  }
2508
+ .\@\[26rem\]\:flex {
2509
+ @container (width >= 26rem) {
2510
+ display: flex;
2511
+ }
2512
+ }
2513
+ .\@\[26rem\]\:inline {
2514
+ @container (width >= 26rem) {
2515
+ display: inline;
2516
+ }
2517
+ }
2518
+ .\@\[26rem\]\:pr-2\.5 {
2519
+ @container (width >= 26rem) {
2520
+ padding-right: calc(var(--spacing) * 2.5);
2521
+ }
2522
+ }
2508
2523
  .\@\[44rem\]\:block {
2509
2524
  @container (width >= 44rem) {
2510
2525
  display: block;
2511
2526
  }
2512
2527
  }
2513
- .\@\[44rem\]\:grid-cols-\[minmax\(10rem\,2fr\)_minmax\(0\,3fr\)_auto\] {
2528
+ .\@\[44rem\]\:grid-cols-\[minmax\(10rem\,1fr\)_minmax\(0\,2fr\)_auto\] {
2514
2529
  @container (width >= 44rem) {
2515
- grid-template-columns: minmax(10rem,2fr) minmax(0,3fr) auto;
2530
+ grid-template-columns: minmax(10rem,1fr) minmax(0,2fr) auto;
2516
2531
  }
2517
2532
  }
2518
2533
  .\@\[60rem\]\:block {
@@ -2520,9 +2535,9 @@
2520
2535
  display: block;
2521
2536
  }
2522
2537
  }
2523
- .\@\[60rem\]\:grid-cols-\[minmax\(10rem\,2fr\)_minmax\(0\,3fr\)_minmax\(0\,10rem\)_auto\] {
2538
+ .\@\[60rem\]\:grid-cols-\[minmax\(10rem\,1fr\)_minmax\(0\,2fr\)_minmax\(0\,10rem\)_auto\] {
2524
2539
  @container (width >= 60rem) {
2525
- grid-template-columns: minmax(10rem,2fr) minmax(0,3fr) minmax(0,10rem) auto;
2540
+ grid-template-columns: minmax(10rem,1fr) minmax(0,2fr) minmax(0,10rem) auto;
2526
2541
  }
2527
2542
  }
2528
2543
  .dark\:rounded-\[22\%\] {
@@ -6,6 +6,8 @@ export declare const actions: {
6
6
  redo: typeof import("document-model").redo;
7
7
  noop: typeof import("document-model").noop;
8
8
  setConfig: (input: import("./index.ts").SetConfigInput) => import("./index.ts").SetConfigAction;
9
+ setConfigValue: (input: import("./index.ts").SetConfigValueInput) => import("./index.ts").SetConfigValueAction;
10
+ removeConfigValue: (input: import("./index.ts").RemoveConfigValueInput) => import("./index.ts").RemoveConfigValueAction;
9
11
  setSecretRef: (input: import("./index.ts").SetSecretRefInput) => import("./index.ts").SetSecretRefAction;
10
12
  removeSecretRef: (input: import("./index.ts").RemoveSecretRefInput) => import("./index.ts").RemoveSecretRefAction;
11
13
  setConnectionName: (input: import("./index.ts").SetConnectionNameInput) => import("./index.ts").SetConnectionNameAction;
@@ -1 +1 @@
1
- {"version":3,"file":"actions.d.ts","sourceRoot":"","sources":["../../../../../document-models/connection/v1/actions.ts"],"names":[],"mappings":"AAWA,gDAAgD;AAEhD,eAAO,MAAM,OAAO;;;;;;;;;;;;;CAKnB,CAAC"}
1
+ {"version":3,"file":"actions.d.ts","sourceRoot":"","sources":["../../../../../document-models/connection/v1/actions.ts"],"names":[],"mappings":"AAWA,gDAAgD;AAEhD,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;CAKnB,CAAC"}
@@ -3,11 +3,19 @@
3
3
  * This file is auto-generated and updated by codegen
4
4
  */
5
5
  import type { Action } from "document-model";
6
- import type { RemoveSecretRefInput, SetConfigInput, SetSecretRefInput } from "../types.js";
6
+ import type { RemoveConfigValueInput, RemoveSecretRefInput, SetConfigInput, SetConfigValueInput, SetSecretRefInput } from "../types.js";
7
7
  export type SetConfigAction = Action & {
8
8
  type: "SET_CONFIG";
9
9
  input: SetConfigInput;
10
10
  };
11
+ export type SetConfigValueAction = Action & {
12
+ type: "SET_CONFIG_VALUE";
13
+ input: SetConfigValueInput;
14
+ };
15
+ export type RemoveConfigValueAction = Action & {
16
+ type: "REMOVE_CONFIG_VALUE";
17
+ input: RemoveConfigValueInput;
18
+ };
11
19
  export type SetSecretRefAction = Action & {
12
20
  type: "SET_SECRET_REF";
13
21
  input: SetSecretRefInput;
@@ -16,5 +24,5 @@ export type RemoveSecretRefAction = Action & {
16
24
  type: "REMOVE_SECRET_REF";
17
25
  input: RemoveSecretRefInput;
18
26
  };
19
- export type ConnectionConfigAction = SetConfigAction | SetSecretRefAction | RemoveSecretRefAction;
27
+ export type ConnectionConfigAction = SetConfigAction | SetConfigValueAction | RemoveConfigValueAction | SetSecretRefAction | RemoveSecretRefAction;
20
28
  //# sourceMappingURL=actions.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"actions.d.ts","sourceRoot":"","sources":["../../../../../../../document-models/connection/v1/gen/config/actions.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,KAAK,EACV,oBAAoB,EACpB,cAAc,EACd,iBAAiB,EAClB,MAAM,aAAa,CAAC;AAErB,MAAM,MAAM,eAAe,GAAG,MAAM,GAAG;IACrC,IAAI,EAAE,YAAY,CAAC;IACnB,KAAK,EAAE,cAAc,CAAC;CACvB,CAAC;AACF,MAAM,MAAM,kBAAkB,GAAG,MAAM,GAAG;IACxC,IAAI,EAAE,gBAAgB,CAAC;IACvB,KAAK,EAAE,iBAAiB,CAAC;CAC1B,CAAC;AACF,MAAM,MAAM,qBAAqB,GAAG,MAAM,GAAG;IAC3C,IAAI,EAAE,mBAAmB,CAAC;IAC1B,KAAK,EAAE,oBAAoB,CAAC;CAC7B,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAC9B,eAAe,GACf,kBAAkB,GAClB,qBAAqB,CAAC"}
1
+ {"version":3,"file":"actions.d.ts","sourceRoot":"","sources":["../../../../../../../document-models/connection/v1/gen/config/actions.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,KAAK,EACV,sBAAsB,EACtB,oBAAoB,EACpB,cAAc,EACd,mBAAmB,EACnB,iBAAiB,EAClB,MAAM,aAAa,CAAC;AAErB,MAAM,MAAM,eAAe,GAAG,MAAM,GAAG;IACrC,IAAI,EAAE,YAAY,CAAC;IACnB,KAAK,EAAE,cAAc,CAAC;CACvB,CAAC;AACF,MAAM,MAAM,oBAAoB,GAAG,MAAM,GAAG;IAC1C,IAAI,EAAE,kBAAkB,CAAC;IACzB,KAAK,EAAE,mBAAmB,CAAC;CAC5B,CAAC;AACF,MAAM,MAAM,uBAAuB,GAAG,MAAM,GAAG;IAC7C,IAAI,EAAE,qBAAqB,CAAC;IAC5B,KAAK,EAAE,sBAAsB,CAAC;CAC/B,CAAC;AACF,MAAM,MAAM,kBAAkB,GAAG,MAAM,GAAG;IACxC,IAAI,EAAE,gBAAgB,CAAC;IACvB,KAAK,EAAE,iBAAiB,CAAC;CAC1B,CAAC;AACF,MAAM,MAAM,qBAAqB,GAAG,MAAM,GAAG;IAC3C,IAAI,EAAE,mBAAmB,CAAC;IAC1B,KAAK,EAAE,oBAAoB,CAAC;CAC7B,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAC9B,eAAe,GACf,oBAAoB,GACpB,uBAAuB,GACvB,kBAAkB,GAClB,qBAAqB,CAAC"}
@@ -1,6 +1,8 @@
1
- import type { RemoveSecretRefInput, SetConfigInput, SetSecretRefInput } from "../types.js";
2
- import type { RemoveSecretRefAction, SetConfigAction, SetSecretRefAction } from "./actions.js";
1
+ import type { RemoveConfigValueInput, RemoveSecretRefInput, SetConfigInput, SetConfigValueInput, SetSecretRefInput } from "../types.js";
2
+ import type { RemoveConfigValueAction, RemoveSecretRefAction, SetConfigAction, SetConfigValueAction, SetSecretRefAction } from "./actions.js";
3
3
  export declare const setConfig: (input: SetConfigInput) => SetConfigAction;
4
+ export declare const setConfigValue: (input: SetConfigValueInput) => SetConfigValueAction;
5
+ export declare const removeConfigValue: (input: RemoveConfigValueInput) => RemoveConfigValueAction;
4
6
  export declare const setSecretRef: (input: SetSecretRefInput) => SetSecretRefAction;
5
7
  export declare const removeSecretRef: (input: RemoveSecretRefInput) => RemoveSecretRefAction;
6
8
  //# sourceMappingURL=creators.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"creators.d.ts","sourceRoot":"","sources":["../../../../../../../document-models/connection/v1/gen/config/creators.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EACV,oBAAoB,EACpB,cAAc,EACd,iBAAiB,EAClB,MAAM,aAAa,CAAC;AACrB,OAAO,KAAK,EACV,qBAAqB,EACrB,eAAe,EACf,kBAAkB,EACnB,MAAM,cAAc,CAAC;AAEtB,eAAO,MAAM,SAAS,UAAW,cAAc,oBAO5C,CAAC;AAEJ,eAAO,MAAM,YAAY,UAAW,iBAAiB,uBAOlD,CAAC;AAEJ,eAAO,MAAM,eAAe,UAAW,oBAAoB,0BAOxD,CAAC"}
1
+ {"version":3,"file":"creators.d.ts","sourceRoot":"","sources":["../../../../../../../document-models/connection/v1/gen/config/creators.ts"],"names":[],"mappings":"AAYA,OAAO,KAAK,EACV,sBAAsB,EACtB,oBAAoB,EACpB,cAAc,EACd,mBAAmB,EACnB,iBAAiB,EAClB,MAAM,aAAa,CAAC;AACrB,OAAO,KAAK,EACV,uBAAuB,EACvB,qBAAqB,EACrB,eAAe,EACf,oBAAoB,EACpB,kBAAkB,EACnB,MAAM,cAAc,CAAC;AAEtB,eAAO,MAAM,SAAS,UAAW,cAAc,oBAO5C,CAAC;AAEJ,eAAO,MAAM,cAAc,UAAW,mBAAmB,yBAOtD,CAAC;AAEJ,eAAO,MAAM,iBAAiB,UAAW,sBAAsB,4BAO5D,CAAC;AAEJ,eAAO,MAAM,YAAY,UAAW,iBAAiB,uBAOlD,CAAC;AAEJ,eAAO,MAAM,eAAe,UAAW,oBAAoB,0BAOxD,CAAC"}
@@ -1,4 +1,4 @@
1
- export type ErrorCode = "InvalidReactorConfigError" | "ReactorSecretRefError" | "SecretRefNotFoundError";
1
+ export type ErrorCode = "InvalidReactorConfigError" | "InvalidReactorConfigValueError" | "InvalidReactorConfigRemovalError" | "ReactorSecretRefError" | "SecretRefNotFoundError";
2
2
  export interface ReducerError {
3
3
  errorCode: ErrorCode;
4
4
  }
@@ -6,6 +6,14 @@ export declare class InvalidReactorConfigError extends Error implements ReducerE
6
6
  errorCode: ErrorCode;
7
7
  constructor(message?: string);
8
8
  }
9
+ export declare class InvalidReactorConfigValueError extends Error implements ReducerError {
10
+ errorCode: ErrorCode;
11
+ constructor(message?: string);
12
+ }
13
+ export declare class InvalidReactorConfigRemovalError extends Error implements ReducerError {
14
+ errorCode: ErrorCode;
15
+ constructor(message?: string);
16
+ }
9
17
  export declare class ReactorSecretRefError extends Error implements ReducerError {
10
18
  errorCode: ErrorCode;
11
19
  constructor(message?: string);
@@ -18,6 +26,12 @@ export declare const errors: {
18
26
  SetConfig: {
19
27
  InvalidReactorConfigError: typeof InvalidReactorConfigError;
20
28
  };
29
+ SetConfigValue: {
30
+ InvalidReactorConfigValueError: typeof InvalidReactorConfigValueError;
31
+ };
32
+ RemoveConfigValue: {
33
+ InvalidReactorConfigRemovalError: typeof InvalidReactorConfigRemovalError;
34
+ };
21
35
  SetSecretRef: {
22
36
  ReactorSecretRefError: typeof ReactorSecretRefError;
23
37
  };
@@ -1 +1 @@
1
- {"version":3,"file":"error.d.ts","sourceRoot":"","sources":["../../../../../../../document-models/connection/v1/gen/config/error.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,SAAS,GACjB,2BAA2B,GAC3B,uBAAuB,GACvB,wBAAwB,CAAC;AAE7B,MAAM,WAAW,YAAY;IAC3B,SAAS,EAAE,SAAS,CAAC;CACtB;AAED,qBAAa,yBAA0B,SAAQ,KAAM,YAAW,YAAY;IAC1E,SAAS,EAAkC,SAAS,CAAC;IACrD,YAAY,OAAO,SAA8B,EAEhD;CACF;AAED,qBAAa,qBAAsB,SAAQ,KAAM,YAAW,YAAY;IACtE,SAAS,EAA8B,SAAS,CAAC;IACjD,YAAY,OAAO,SAA0B,EAE5C;CACF;AAED,qBAAa,sBAAuB,SAAQ,KAAM,YAAW,YAAY;IACvE,SAAS,EAA+B,SAAS,CAAC;IAClD,YAAY,OAAO,SAA2B,EAE7C;CACF;AAED,eAAO,MAAM,MAAM;;;;;;;;;;CAMlB,CAAC"}
1
+ {"version":3,"file":"error.d.ts","sourceRoot":"","sources":["../../../../../../../document-models/connection/v1/gen/config/error.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,SAAS,GACjB,2BAA2B,GAC3B,gCAAgC,GAChC,kCAAkC,GAClC,uBAAuB,GACvB,wBAAwB,CAAC;AAE7B,MAAM,WAAW,YAAY;IAC3B,SAAS,EAAE,SAAS,CAAC;CACtB;AAED,qBAAa,yBAA0B,SAAQ,KAAM,YAAW,YAAY;IAC1E,SAAS,EAAkC,SAAS,CAAC;IACrD,YAAY,OAAO,SAA8B,EAEhD;CACF;AAED,qBAAa,8BACX,SAAQ,KACR,YAAW,YAAY;IAEvB,SAAS,EAAuC,SAAS,CAAC;IAC1D,YAAY,OAAO,SAAmC,EAErD;CACF;AAED,qBAAa,gCACX,SAAQ,KACR,YAAW,YAAY;IAEvB,SAAS,EAAyC,SAAS,CAAC;IAC5D,YAAY,OAAO,SAAqC,EAEvD;CACF;AAED,qBAAa,qBAAsB,SAAQ,KAAM,YAAW,YAAY;IACtE,SAAS,EAA8B,SAAS,CAAC;IACjD,YAAY,OAAO,SAA0B,EAE5C;CACF;AAED,qBAAa,sBAAuB,SAAQ,KAAM,YAAW,YAAY;IACvE,SAAS,EAA+B,SAAS,CAAC;IAClD,YAAY,OAAO,SAA2B,EAE7C;CACF;AAED,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;CAUlB,CAAC"}
@@ -4,9 +4,11 @@
4
4
  */
5
5
  import { type SignalDispatch } from "document-model";
6
6
  import type { ConnectionGlobalState } from "../types.js";
7
- import type { RemoveSecretRefAction, SetConfigAction, SetSecretRefAction } from "./actions.js";
7
+ import type { RemoveConfigValueAction, RemoveSecretRefAction, SetConfigAction, SetConfigValueAction, SetSecretRefAction } from "./actions.js";
8
8
  export interface ConnectionConfigOperations {
9
9
  setConfigOperation: (state: ConnectionGlobalState, action: SetConfigAction, dispatch?: SignalDispatch) => void;
10
+ setConfigValueOperation: (state: ConnectionGlobalState, action: SetConfigValueAction, dispatch?: SignalDispatch) => void;
11
+ removeConfigValueOperation: (state: ConnectionGlobalState, action: RemoveConfigValueAction, dispatch?: SignalDispatch) => void;
10
12
  setSecretRefOperation: (state: ConnectionGlobalState, action: SetSecretRefAction, dispatch?: SignalDispatch) => void;
11
13
  removeSecretRefOperation: (state: ConnectionGlobalState, action: RemoveSecretRefAction, dispatch?: SignalDispatch) => void;
12
14
  }
@@ -1 +1 @@
1
- {"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../../../../../document-models/connection/v1/gen/config/operations.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,gBAAgB,CAAC;AACrD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;AACzD,OAAO,KAAK,EACV,qBAAqB,EACrB,eAAe,EACf,kBAAkB,EACnB,MAAM,cAAc,CAAC;AAEtB,MAAM,WAAW,0BAA0B;IACzC,kBAAkB,EAAE,CAClB,KAAK,EAAE,qBAAqB,EAC5B,MAAM,EAAE,eAAe,EACvB,QAAQ,CAAC,EAAE,cAAc,KACtB,IAAI,CAAC;IACV,qBAAqB,EAAE,CACrB,KAAK,EAAE,qBAAqB,EAC5B,MAAM,EAAE,kBAAkB,EAC1B,QAAQ,CAAC,EAAE,cAAc,KACtB,IAAI,CAAC;IACV,wBAAwB,EAAE,CACxB,KAAK,EAAE,qBAAqB,EAC5B,MAAM,EAAE,qBAAqB,EAC7B,QAAQ,CAAC,EAAE,cAAc,KACtB,IAAI,CAAC;CACX"}
1
+ {"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../../../../../document-models/connection/v1/gen/config/operations.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,gBAAgB,CAAC;AACrD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;AACzD,OAAO,KAAK,EACV,uBAAuB,EACvB,qBAAqB,EACrB,eAAe,EACf,oBAAoB,EACpB,kBAAkB,EACnB,MAAM,cAAc,CAAC;AAEtB,MAAM,WAAW,0BAA0B;IACzC,kBAAkB,EAAE,CAClB,KAAK,EAAE,qBAAqB,EAC5B,MAAM,EAAE,eAAe,EACvB,QAAQ,CAAC,EAAE,cAAc,KACtB,IAAI,CAAC;IACV,uBAAuB,EAAE,CACvB,KAAK,EAAE,qBAAqB,EAC5B,MAAM,EAAE,oBAAoB,EAC5B,QAAQ,CAAC,EAAE,cAAc,KACtB,IAAI,CAAC;IACV,0BAA0B,EAAE,CAC1B,KAAK,EAAE,qBAAqB,EAC5B,MAAM,EAAE,uBAAuB,EAC/B,QAAQ,CAAC,EAAE,cAAc,KACtB,IAAI,CAAC;IACV,qBAAqB,EAAE,CACrB,KAAK,EAAE,qBAAqB,EAC5B,MAAM,EAAE,kBAAkB,EAC1B,QAAQ,CAAC,EAAE,cAAc,KACtB,IAAI,CAAC;IACV,wBAAwB,EAAE,CACxB,KAAK,EAAE,qBAAqB,EAC5B,MAAM,EAAE,qBAAqB,EAC7B,QAAQ,CAAC,EAAE,cAAc,KACtB,IAAI,CAAC;CACX"}
@@ -1 +1 @@
1
- {"version":3,"file":"document-model.d.ts","sourceRoot":"","sources":["../../../../../../document-models/connection/v1/gen/document-model.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAC;AAE/D,eAAO,MAAM,aAAa,EAAE,wBAmL3B,CAAC"}
1
+ {"version":3,"file":"document-model.d.ts","sourceRoot":"","sources":["../../../../../../document-models/connection/v1/gen/document-model.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAC;AAE/D,eAAO,MAAM,aAAa,EAAE,wBAgO3B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"reducer.d.ts","sourceRoot":"","sources":["../../../../../../document-models/connection/v1/gen/reducer.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,OAAO,EAAgB,MAAM,gBAAgB,CAAC;AAE5D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AA6HvE,eAAO,MAAM,OAAO,EAAE,OAAO,CAAC,iBAAiB,CAA+B,CAAC"}
1
+ {"version":3,"file":"reducer.d.ts","sourceRoot":"","sources":["../../../../../../document-models/connection/v1/gen/reducer.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,OAAO,EAAgB,MAAM,gBAAgB,CAAC;AAE5D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAuJvE,eAAO,MAAM,OAAO,EAAE,OAAO,CAAC,iBAAiB,CAA+B,CAAC"}
@@ -178,6 +178,9 @@ export type RecordCheckResultInput = {
178
178
  error?: InputMaybe<Scalars["String"]["input"]>;
179
179
  status: ConnectionStatus;
180
180
  };
181
+ export type RemoveConfigValueInput = {
182
+ name: Scalars["String"]["input"];
183
+ };
181
184
  export type RemoveSecretRefInput = {
182
185
  id: Scalars["OID"]["input"];
183
186
  };
@@ -194,6 +197,10 @@ export type SetAccountLabelInput = {
194
197
  export type SetConfigInput = {
195
198
  config: Scalars["Unknown"]["input"];
196
199
  };
200
+ export type SetConfigValueInput = {
201
+ name: Scalars["String"]["input"];
202
+ value: Scalars["Unknown"]["input"];
203
+ };
197
204
  export type SetConnectionNameInput = {
198
205
  name: Scalars["String"]["input"];
199
206
  };
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../document-models/connection/v1/gen/schema/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,KAAK,CAAC,CAAC,IAAI,CAAC,GAAG,IAAI,GAAG,SAAS,CAAC;AAC5C,MAAM,MAAM,UAAU,CAAC,CAAC,IAAI,CAAC,GAAG,IAAI,GAAG,SAAS,CAAC;AACjD,MAAM,MAAM,KAAK,CAAC,CAAC,SAAS;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;CAAE,IAAI;KACvD,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACrB,CAAC;AACF,MAAM,MAAM,YAAY,CAAC,CAAC,EAAE,CAAC,SAAS,MAAM,CAAC,IAAI,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;KAC3D,MAAM,IAAI,CAAC,CAAC,CAAC,EAAE,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC;CACjC,CAAC;AACF,MAAM,MAAM,SAAS,CAAC,CAAC,EAAE,CAAC,SAAS,MAAM,CAAC,IAAI,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;KACxD,MAAM,IAAI,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC;CAChC,CAAC;AACF,MAAM,MAAM,SAAS,CACnB,CAAC,SAAS;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;CAAE,EACpC,CAAC,SAAS,MAAM,CAAC,IACf;KAAG,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,KAAK;CAAE,CAAC;AACzB,MAAM,MAAM,WAAW,CAAC,CAAC,IACrB,CAAC,GACD;KACG,CAAC,IAAI,MAAM,CAAC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OAAO,CAAC,KAAK,CAAC,CAAC,OAAO,CAAC,CAAC;IAC5B,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,CAAC,OAAO,CAAC,CAAC;IACjC,GAAG,EAAE,OAAO,CAAC,QAAQ,CAAC,CAAC,OAAO,CAAC,CAAC;CACjC,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import * as z from "zod";
2
- import type { ConnectionState, ReactorConnectionConfig, RecordCheckResultInput, RemoveSecretRefInput, SecretRef, SetAccountLabelInput, SetConfigInput, SetConnectionNameInput, SetConnectorInput, SetSecretRefInput } from "./types.js";
2
+ import type { ConnectionState, ReactorConnectionConfig, RecordCheckResultInput, RemoveConfigValueInput, RemoveSecretRefInput, SecretRef, SetAccountLabelInput, SetConfigInput, SetConfigValueInput, SetConnectionNameInput, SetConnectorInput, SetSecretRefInput } from "./types.js";
3
3
  type Properties<T> = Required<{
4
4
  [K in keyof T]: z.ZodType<T[K]>;
5
5
  }>;
@@ -24,10 +24,12 @@ export declare const ConnectionStatusSchema: z.ZodEnum<{
24
24
  export declare function ConnectionStateSchema(): z.ZodObject<Properties<ConnectionState>>;
25
25
  export declare function ReactorConnectionConfigSchema(): z.ZodObject<Properties<ReactorConnectionConfig>>;
26
26
  export declare function RecordCheckResultInputSchema(): z.ZodObject<Properties<RecordCheckResultInput>>;
27
+ export declare function RemoveConfigValueInputSchema(): z.ZodObject<Properties<RemoveConfigValueInput>>;
27
28
  export declare function RemoveSecretRefInputSchema(): z.ZodObject<Properties<RemoveSecretRefInput>>;
28
29
  export declare function SecretRefSchema(): z.ZodObject<Properties<SecretRef>>;
29
30
  export declare function SetAccountLabelInputSchema(): z.ZodObject<Properties<SetAccountLabelInput>>;
30
31
  export declare function SetConfigInputSchema(): z.ZodObject<Properties<SetConfigInput>>;
32
+ export declare function SetConfigValueInputSchema(): z.ZodObject<Properties<SetConfigValueInput>>;
31
33
  export declare function SetConnectionNameInputSchema(): z.ZodObject<Properties<SetConnectionNameInput>>;
32
34
  export declare function SetConnectorInputSchema(): z.ZodObject<Properties<SetConnectorInput>>;
33
35
  export declare function SetSecretRefInputSchema(): z.ZodObject<Properties<SetSecretRefInput>>;
@@ -1 +1 @@
1
- {"version":3,"file":"zod.d.ts","sourceRoot":"","sources":["../../../../../../../document-models/connection/v1/gen/schema/zod.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,KAAK,EAEV,eAAe,EAEf,uBAAuB,EACvB,sBAAsB,EACtB,oBAAoB,EACpB,SAAS,EACT,oBAAoB,EACpB,cAAc,EACd,sBAAsB,EACtB,iBAAiB,EACjB,iBAAiB,EAClB,MAAM,YAAY,CAAC;AAEpB,KAAK,UAAU,CAAC,CAAC,IAAI,QAAQ,CAAC;KAC3B,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;CAChC,CAAC,CAAC;AAEH,KAAK,iBAAiB,GAAG,EAAE,CAAC;AAE5B,eAAO,MAAM,mBAAmB,MAAO,GAAG,KAAG,CAAC,IAAI,iBACnB,CAAC;AAEhC,eAAO,MAAM,uBAAuB,gGAEI,CAAC;AAEzC,eAAO,MAAM,wBAAwB;;;;;;;;EAQnC,CAAC;AAEH,eAAO,MAAM,sBAAsB;;;;;EAKjC,CAAC;AAEH,wBAAgB,qBAAqB,IAAI,CAAC,CAAC,SAAS,CAClD,UAAU,CAAC,eAAe,CAAC,CAC5B,CAaA;AAED,wBAAgB,6BAA6B,IAAI,CAAC,CAAC,SAAS,CAC1D,UAAU,CAAC,uBAAuB,CAAC,CACpC,CAMA;AAED,wBAAgB,4BAA4B,IAAI,CAAC,CAAC,SAAS,CACzD,UAAU,CAAC,sBAAsB,CAAC,CACnC,CAMA;AAED,wBAAgB,0BAA0B,IAAI,CAAC,CAAC,SAAS,CACvD,UAAU,CAAC,oBAAoB,CAAC,CACjC,CAIA;AAED,wBAAgB,eAAe,IAAI,CAAC,CAAC,SAAS,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC,CAOpE;AAED,wBAAgB,0BAA0B,IAAI,CAAC,CAAC,SAAS,CACvD,UAAU,CAAC,oBAAoB,CAAC,CACjC,CAIA;AAED,wBAAgB,oBAAoB,IAAI,CAAC,CAAC,SAAS,CACjD,UAAU,CAAC,cAAc,CAAC,CAC3B,CAIA;AAED,wBAAgB,4BAA4B,IAAI,CAAC,CAAC,SAAS,CACzD,UAAU,CAAC,sBAAsB,CAAC,CACnC,CAIA;AAED,wBAAgB,uBAAuB,IAAI,CAAC,CAAC,SAAS,CACpD,UAAU,CAAC,iBAAiB,CAAC,CAC9B,CAKA;AAED,wBAAgB,uBAAuB,IAAI,CAAC,CAAC,SAAS,CACpD,UAAU,CAAC,iBAAiB,CAAC,CAC9B,CAMA"}
1
+ {"version":3,"file":"zod.d.ts","sourceRoot":"","sources":["../../../../../../../document-models/connection/v1/gen/schema/zod.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,KAAK,EAEV,eAAe,EAEf,uBAAuB,EACvB,sBAAsB,EACtB,sBAAsB,EACtB,oBAAoB,EACpB,SAAS,EACT,oBAAoB,EACpB,cAAc,EACd,mBAAmB,EACnB,sBAAsB,EACtB,iBAAiB,EACjB,iBAAiB,EAClB,MAAM,YAAY,CAAC;AAEpB,KAAK,UAAU,CAAC,CAAC,IAAI,QAAQ,CAAC;KAC3B,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;CAChC,CAAC,CAAC;AAEH,KAAK,iBAAiB,GAAG,EAAE,CAAC;AAE5B,eAAO,MAAM,mBAAmB,MAAO,GAAG,KAAG,CAAC,IAAI,iBACnB,CAAC;AAEhC,eAAO,MAAM,uBAAuB,gGAEI,CAAC;AAEzC,eAAO,MAAM,wBAAwB;;;;;;;;EAQnC,CAAC;AAEH,eAAO,MAAM,sBAAsB;;;;;EAKjC,CAAC;AAEH,wBAAgB,qBAAqB,IAAI,CAAC,CAAC,SAAS,CAClD,UAAU,CAAC,eAAe,CAAC,CAC5B,CAaA;AAED,wBAAgB,6BAA6B,IAAI,CAAC,CAAC,SAAS,CAC1D,UAAU,CAAC,uBAAuB,CAAC,CACpC,CAMA;AAED,wBAAgB,4BAA4B,IAAI,CAAC,CAAC,SAAS,CACzD,UAAU,CAAC,sBAAsB,CAAC,CACnC,CAMA;AAED,wBAAgB,4BAA4B,IAAI,CAAC,CAAC,SAAS,CACzD,UAAU,CAAC,sBAAsB,CAAC,CACnC,CAIA;AAED,wBAAgB,0BAA0B,IAAI,CAAC,CAAC,SAAS,CACvD,UAAU,CAAC,oBAAoB,CAAC,CACjC,CAIA;AAED,wBAAgB,eAAe,IAAI,CAAC,CAAC,SAAS,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC,CAOpE;AAED,wBAAgB,0BAA0B,IAAI,CAAC,CAAC,SAAS,CACvD,UAAU,CAAC,oBAAoB,CAAC,CACjC,CAIA;AAED,wBAAgB,oBAAoB,IAAI,CAAC,CAAC,SAAS,CACjD,UAAU,CAAC,cAAc,CAAC,CAC3B,CAIA;AAED,wBAAgB,yBAAyB,IAAI,CAAC,CAAC,SAAS,CACtD,UAAU,CAAC,mBAAmB,CAAC,CAChC,CAKA;AAED,wBAAgB,4BAA4B,IAAI,CAAC,CAAC,SAAS,CACzD,UAAU,CAAC,sBAAsB,CAAC,CACnC,CAIA;AAED,wBAAgB,uBAAuB,IAAI,CAAC,CAAC,SAAS,CACpD,UAAU,CAAC,iBAAiB,CAAC,CAC9B,CAKA;AAED,wBAAgB,uBAAuB,IAAI,CAAC,CAAC,SAAS,CACpD,UAAU,CAAC,iBAAiB,CAAC,CAC9B,CAMA"}
@@ -10,6 +10,8 @@ export declare const Connection: {
10
10
  redo: typeof import("document-model").redo;
11
11
  noop: typeof import("document-model").noop;
12
12
  setConfig: (input: import("./gen/types.js").SetConfigInput) => import("./index.ts").SetConfigAction;
13
+ setConfigValue: (input: import("./gen/types.js").SetConfigValueInput) => import("./index.ts").SetConfigValueAction;
14
+ removeConfigValue: (input: import("./gen/types.js").RemoveConfigValueInput) => import("./index.ts").RemoveConfigValueAction;
13
15
  setSecretRef: (input: import("./gen/types.js").SetSecretRefInput) => import("./index.ts").SetSecretRefAction;
14
16
  removeSecretRef: (input: import("./gen/types.js").RemoveSecretRefInput) => import("./index.ts").RemoveSecretRefAction;
15
17
  setConnectionName: (input: import("./gen/types.js").SetConnectionNameInput) => import("./index.ts").SetConnectionNameAction;
@@ -1 +1 @@
1
- {"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../../../../document-models/connection/v1/module.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAGxD,6DAA6D;AAC7D,eAAO,MAAM,UAAU;sBACZ,CAAC;;;;;;;;;;;;;;;;;;CAK+C,CAAC"}
1
+ {"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../../../../document-models/connection/v1/module.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAGxD,6DAA6D;AAC7D,eAAO,MAAM,UAAU;sBACZ,CAAC;;;;;;;;;;;;;;;;;;;;CAK+C,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../../../../../document-models/connection/v1/src/reducers/config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,+BAA+B,CAAC;AAQhF,eAAO,MAAM,0BAA0B,EAAE,0BAoCxC,CAAC"}
1
+ {"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../../../../../document-models/connection/v1/src/reducers/config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,+BAA+B,CAAC;AAUhF,eAAO,MAAM,0BAA0B,EAAE,0BA6DxC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=config-values.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"config-values.test.d.ts","sourceRoot":"","sources":["../../../../../../document-models/connection/v1/tests/config-values.test.ts"],"names":[],"mappings":""}
@@ -12,6 +12,8 @@ export declare const documentModels: readonly [{
12
12
  redo: typeof import("document-model").redo;
13
13
  noop: typeof import("document-model").noop;
14
14
  setConfig: (input: import("document-models/connection/v1").SetConfigInput) => import("document-models/connection/v1").SetConfigAction;
15
+ setConfigValue: (input: import("document-models/connection/v1").SetConfigValueInput) => import("document-models/connection/v1").SetConfigValueAction;
16
+ removeConfigValue: (input: import("document-models/connection/v1").RemoveConfigValueInput) => import("document-models/connection/v1").RemoveConfigValueAction;
15
17
  setSecretRef: (input: import("document-models/connection/v1").SetSecretRefInput) => import("document-models/connection/v1").SetSecretRefAction;
16
18
  removeSecretRef: (input: import("document-models/connection/v1").RemoveSecretRefInput) => import("document-models/connection/v1").RemoveSecretRefAction;
17
19
  setConnectionName: (input: import("document-models/connection/v1").SetConnectionNameInput) => import("document-models/connection/v1").SetConnectionNameAction;
@@ -43,6 +45,9 @@ export declare const documentModels: readonly [{
43
45
  setStepConfig: (input: import("document-models/workflow/v1").SetStepConfigInput) => import("document-models/workflow/v1").SetStepConfigAction;
44
46
  setTrigger: (input: import("document-models/workflow/v1").SetTriggerInput) => import("document-models/workflow/v1").SetTriggerAction;
45
47
  clearTrigger: (input: import("document-models/workflow/v1").ClearTriggerInput) => import("document-models/workflow/v1").ClearTriggerAction;
48
+ setTriggerConfig: (input: import("document-models/workflow/v1").SetTriggerConfigInput) => import("document-models/workflow/v1").SetTriggerConfigAction;
49
+ setTriggerConnection: (input: import("document-models/workflow/v1").SetTriggerConnectionInput) => import("document-models/workflow/v1").SetTriggerConnectionAction;
50
+ setTriggerPieceVersion: (input: import("document-models/workflow/v1").SetTriggerPieceVersionInput) => import("document-models/workflow/v1").SetTriggerPieceVersionAction;
46
51
  setVariable: (input: import("document-models/workflow/v1").SetVariableInput) => import("document-models/workflow/v1").SetVariableAction;
47
52
  removeVariable: (input: import("document-models/workflow/v1").RemoveVariableInput) => import("document-models/workflow/v1").RemoveVariableAction;
48
53
  setWorkflowName: (input: import("document-models/workflow/v1").SetWorkflowNameInput) => import("document-models/workflow/v1").SetWorkflowNameAction;
@@ -1 +1 @@
1
- {"version":3,"file":"document-models.d.ts","sourceRoot":"","sources":["../../../document-models/document-models.ts"],"names":[],"mappings":"AAGA;;;GAGG;AAEH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAsC,CAAC"}
1
+ {"version":3,"file":"document-models.d.ts","sourceRoot":"","sources":["../../../document-models/document-models.ts"],"names":[],"mappings":"AAGA;;;GAGG;AAEH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAsC,CAAC"}
@@ -18,6 +18,9 @@ export declare const actions: {
18
18
  setStepConfig: (input: import("./index.ts").SetStepConfigInput) => import("./index.ts").SetStepConfigAction;
19
19
  setTrigger: (input: import("./index.ts").SetTriggerInput) => import("./index.ts").SetTriggerAction;
20
20
  clearTrigger: (input: import("./index.ts").ClearTriggerInput) => import("./index.ts").ClearTriggerAction;
21
+ setTriggerConfig: (input: import("./index.ts").SetTriggerConfigInput) => import("./index.ts").SetTriggerConfigAction;
22
+ setTriggerConnection: (input: import("./index.ts").SetTriggerConnectionInput) => import("./index.ts").SetTriggerConnectionAction;
23
+ setTriggerPieceVersion: (input: import("./index.ts").SetTriggerPieceVersionInput) => import("./index.ts").SetTriggerPieceVersionAction;
21
24
  setVariable: (input: import("./index.ts").SetVariableInput) => import("./index.ts").SetVariableAction;
22
25
  removeVariable: (input: import("./index.ts").RemoveVariableInput) => import("./index.ts").RemoveVariableAction;
23
26
  setWorkflowName: (input: import("./index.ts").SetWorkflowNameInput) => import("./index.ts").SetWorkflowNameAction;
@@ -1 +1 @@
1
- {"version":3,"file":"actions.d.ts","sourceRoot":"","sources":["../../../../../document-models/workflow/v1/actions.ts"],"names":[],"mappings":"AAgBA,8CAA8C;AAE9C,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;CAUnB,CAAC"}
1
+ {"version":3,"file":"actions.d.ts","sourceRoot":"","sources":["../../../../../document-models/workflow/v1/actions.ts"],"names":[],"mappings":"AAgBA,8CAA8C;AAE9C,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;CAUnB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"document-model.d.ts","sourceRoot":"","sources":["../../../../../../document-models/workflow/v1/gen/document-model.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAC;AAE/D,eAAO,MAAM,aAAa,EAAE,wBAygB3B,CAAC"}
1
+ {"version":3,"file":"document-model.d.ts","sourceRoot":"","sources":["../../../../../../document-models/workflow/v1/gen/document-model.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAC;AAE/D,eAAO,MAAM,aAAa,EAAE,wBAylB3B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"reducer.d.ts","sourceRoot":"","sources":["../../../../../../document-models/workflow/v1/gen/reducer.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,OAAO,EAAgB,MAAM,gBAAgB,CAAC;AAE5D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAiRnE,eAAO,MAAM,OAAO,EAAE,OAAO,CAAC,eAAe,CAA+B,CAAC"}
1
+ {"version":3,"file":"reducer.d.ts","sourceRoot":"","sources":["../../../../../../document-models/workflow/v1/gen/reducer.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,OAAO,EAAgB,MAAM,gBAAgB,CAAC;AAE5D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAwTnE,eAAO,MAAM,OAAO,EAAE,OAAO,CAAC,eAAe,CAA+B,CAAC"}
@@ -281,6 +281,19 @@ export type SetStepConfigPropertySettingInput = {
281
281
  prop: Scalars["String"]["input"];
282
282
  schema?: InputMaybe<Scalars["Unknown"]["input"]>;
283
283
  };
284
+ export type SetTriggerConfigInput = {
285
+ config: Scalars["Unknown"]["input"];
286
+ propertySettings?: InputMaybe<Array<SetTriggerConfigPropertySettingInput>>;
287
+ };
288
+ export type SetTriggerConfigPropertySettingInput = {
289
+ mode: PropertyMode;
290
+ prop: Scalars["String"]["input"];
291
+ schema?: InputMaybe<Scalars["Unknown"]["input"]>;
292
+ };
293
+ export type SetTriggerConnectionInput = {
294
+ connectionId?: InputMaybe<Scalars["PHID"]["input"]>;
295
+ reactorConnectionId?: InputMaybe<Scalars["PHID"]["input"]>;
296
+ };
284
297
  export type SetTriggerInput = {
285
298
  config: Scalars["Unknown"]["input"];
286
299
  connectionId?: InputMaybe<Scalars["PHID"]["input"]>;
@@ -291,6 +304,9 @@ export type SetTriggerInput = {
291
304
  reactorConnectionId?: InputMaybe<Scalars["PHID"]["input"]>;
292
305
  triggerName: Scalars["String"]["input"];
293
306
  };
307
+ export type SetTriggerPieceVersionInput = {
308
+ pieceVersion: Scalars["String"]["input"];
309
+ };
294
310
  export type SetTriggerPropertySettingInput = {
295
311
  mode: PropertyMode;
296
312
  prop: Scalars["String"]["input"];