@fluidgrids/fe-sdk 0.0.0-stage → 2026.1203.7

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 (323) hide show
  1. package/README.md +564 -2
  2. package/dist/ActivityOptionsFields-C2u-hY2U.js +142 -0
  3. package/dist/AiStudioPage-B_hNTj-_.js +1137 -0
  4. package/dist/ApprovalInboxPage-ClITra3n.js +1312 -0
  5. package/dist/ChoiceSelect-LkK-uS9J.js +65 -0
  6. package/dist/ConfirmActionDialog-DHWTDRbp.js +31 -0
  7. package/dist/ConnectionFormDialog-C0kDgcrZ.js +153 -0
  8. package/dist/CreateFluidgridsTagDocument-Dtp9KPLJ.js +1055 -0
  9. package/dist/DataSinkDashboardPage-b4ezeqa6.js +278 -0
  10. package/dist/DataTablesPage-C1d9YGHz.js +5575 -0
  11. package/dist/DateTimeField-B1qR4ruo.js +51 -0
  12. package/dist/Disclosure-BNKij7-v.js +45 -0
  13. package/dist/ElementLibraryPage-8jNO6YmE.js +2256 -0
  14. package/dist/ElementLibrarySequenceDocument-B-W8SPzn.js +3979 -0
  15. package/dist/EnsureThemeProvider-BvlNjAd0.js +24 -0
  16. package/dist/EntityTagBadge-1OlP6p0c.js +25 -0
  17. package/dist/EntityTagPicker-BBrU5cE0.js +137 -0
  18. package/dist/ExecuteStepDocument-B4j1mdRT.js +189 -0
  19. package/dist/ExecutionDetailDocument-D6QuM-kp.js +875 -0
  20. package/dist/ExecutionDetailPage-D4CBtFdo.js +12217 -0
  21. package/dist/ExecutionDetailPage-DvQ667OE.d.ts +10 -0
  22. package/dist/ExecutionStatusBadge-BsDVor9t.js +221 -0
  23. package/dist/ExecutionsListDocument-Dan7ZiqB.js +459 -0
  24. package/dist/ExecutionsListPage-B3XT8ITL.js +4307 -0
  25. package/dist/FailureTriagePanel-DOJMaJ0n.js +1285 -0
  26. package/dist/FileDownloadUrlDocument-CVOYKcL5.js +92 -0
  27. package/dist/FluidGridsDocsLink-bX0Hnhxr.js +66 -0
  28. package/dist/FluidGridsMark-CE2blT7K.js +74 -0
  29. package/dist/HeldLoadRegion-BtTxbvOW.js +34 -0
  30. package/dist/HistoryPage-BLoRpJ1R.d.ts +6 -0
  31. package/dist/HistoryPage-BSBISXoj.js +2835 -0
  32. package/dist/Icon-BtQ0HXLh.js +160 -0
  33. package/dist/InsightsPage-D7ybj8N9.js +11245 -0
  34. package/dist/IsolationSetting-vy911E8b.js +1153 -0
  35. package/dist/LibraryParts-DOeNgR8A.js +413 -0
  36. package/dist/ManagedAiPolicyAuthority-BxwJ3ptd.js +40 -0
  37. package/dist/ManagedAiPolicyAuthority-DM3t3wNr.d.ts +18 -0
  38. package/dist/ManagedAiPolicyAuthorityContext-CNkxIOZ1.js +10 -0
  39. package/dist/McpTriggerServers-BCPCAOWB.js +459 -0
  40. package/dist/MissingNodesInstallModal-rO_SEDrC.js +224 -0
  41. package/dist/NavigationV2Provider-DCDt35eG.js +17 -0
  42. package/dist/NodeSchemaIntrospectionDocument-C1vAIcHd.js +95 -0
  43. package/dist/NodesPage-DEbnz9iU.d.ts +6 -0
  44. package/dist/NodesPage-O7KeeKtd.js +653 -0
  45. package/dist/OfflineIcon-TwMKYWjA.js +207 -0
  46. package/dist/OpenTemplateAsCodeButton-BhWJWIF3.js +94 -0
  47. package/dist/PaidTemplateConfirm-_G3ag6S4.js +28 -0
  48. package/dist/PublishCustomNodeAction-CIySbK4c.js +134 -0
  49. package/dist/RecordTaskDialog-BkpCDvhR.js +2078 -0
  50. package/dist/RunActionsMenu-DodOgIQm.js +59 -0
  51. package/dist/RunnerStatusPill-C1v967iq.js +24 -0
  52. package/dist/RunnersPage-dB0RSdY_.js +1929 -0
  53. package/dist/SandboxRuntimeExhaustedNotice-BFOIF93C.js +120 -0
  54. package/dist/SchedulesPage-DPWr1yvf.js +1607 -0
  55. package/dist/SearchBox-BGtYjvfs.js +49 -0
  56. package/dist/SequenceEditor-CFiHeHkR.js +497 -0
  57. package/dist/SettingsPage-0CQBNPZV.js +8695 -0
  58. package/dist/StewardPages-DAJhepen.js +47 -0
  59. package/dist/StewardRunImportPanel-Kva2DO0u.js +2844 -0
  60. package/dist/StoreTemplateCardCompact-CHn5kP7A.js +2166 -0
  61. package/dist/TagFilterSelect-CyA8QrS7.js +42 -0
  62. package/dist/TaskQueuesPage-DdnDCyat.js +3571 -0
  63. package/dist/TechnicalDetails-B0Oi4aZw.js +19 -0
  64. package/dist/TemplateConfigurationModal-CdvCYJLM.js +332 -0
  65. package/dist/TemplateDetailPanel-CbiKciuB.js +222 -0
  66. package/dist/TemplatePreview-cx7-NOeG.js +868 -0
  67. package/dist/TemplatesPage-BG3H-6v6.d.ts +10 -0
  68. package/dist/TemplatesPage-BVQpGYIV.js +3251 -0
  69. package/dist/TerminateExecutionDocument-B_HKNVrN.js +581 -0
  70. package/dist/TranslationBridge-Bd4aJKMs.d.ts +11 -0
  71. package/dist/TranslationBridge-Da-TPgQm.js +68 -0
  72. package/dist/TriggerWorkflowDocument-D9Km2Vv2.js +460 -0
  73. package/dist/UiSequencePickerSequenceDocument-BSYnSDV7.js +607 -0
  74. package/dist/UiStepScreenshot-Qh4QMyUp.js +146 -0
  75. package/dist/UsageTimeSeriesDocument-DcInx9-z.js +177 -0
  76. package/dist/VariablesPage-ChfGuW22.js +2243 -0
  77. package/dist/VersionDiffDialog-Bd2AeUwf.js +1702 -0
  78. package/dist/VersionLifecycleBar-BBeWVtz-.js +143 -0
  79. package/dist/WebhookDeliveriesPage-D66bua0j.js +1563 -0
  80. package/dist/WorkflowBuilder-B6wQD1TK.js +539 -0
  81. package/dist/WorkflowBuilder-DR4ku8Tr.js +1611 -0
  82. package/dist/WorkflowDefinitionDocument-DZLbTPUZ.js +321 -0
  83. package/dist/WorkflowEmbed-BXfFGy0i.js +708 -0
  84. package/dist/WorkflowEmbed-Cbqe1s1z.d.ts +6 -0
  85. package/dist/WorkflowPinnedDataDocument-BODT5omd.js +782 -0
  86. package/dist/WorkflowProposalCard-BruukdeF.js +96 -0
  87. package/dist/WorkflowProposalDocument-BdUbsrd0.js +620 -0
  88. package/dist/WorkflowSearchRedirect-C7zJ2MKH.js +40 -0
  89. package/dist/WorkflowSettingsDrawer-MVU1BKfY.d.ts +18 -0
  90. package/dist/WorkflowSettingsDrawer-gazs97WR.js +196 -0
  91. package/dist/WorkflowShareDialog-e8jJtLjU.js +469 -0
  92. package/dist/WorkflowVersionsDocument-DRVOp8Uj.js +3213 -0
  93. package/dist/WorkflowsList--hR2_8gf.js +4593 -0
  94. package/dist/WorkflowsList-CcNDQge5.d.ts +6 -0
  95. package/dist/WorkflowsListPageDocument-CnzcQm_o.js +934 -0
  96. package/dist/addonCatalog-CbZS4deh.js +58 -0
  97. package/dist/addonCatalog-sjlonAmR.d.ts +15 -0
  98. package/dist/addons.d.ts +3 -0
  99. package/dist/addons.js +4 -0
  100. package/dist/agent-form-Bfvm32j1.js +83 -0
  101. package/dist/agent-tools.d.ts +3 -0
  102. package/dist/agent-tools.js +5 -0
  103. package/dist/agentTools-CyL7DLOF.js +320 -0
  104. package/dist/ai-usage-BrxDgvdR.js +240 -0
  105. package/dist/aiCreditsBridge-BuE92tKo.js +49 -0
  106. package/dist/api-BKq-nIOZ.js +2286 -0
  107. package/dist/api-Ol7I8NxE.js +8289 -0
  108. package/dist/apollo-type-policies.d.ts +11 -0
  109. package/dist/apollo-type-policies.js +64 -0
  110. package/dist/askAboutBridge-ByYsQams.js +106 -0
  111. package/dist/askQuestions-Cmx7VnMm.js +742 -0
  112. package/dist/assert-rules-lfYEMc99.js +318 -0
  113. package/dist/assistant.d.ts +94 -0
  114. package/dist/assistant.js +99 -0
  115. package/dist/attach-node-helpers-HDKQOtrD.js +32 -0
  116. package/dist/badge-CXfPhoMH.js +26 -0
  117. package/dist/basil.generated-BK-EHbwN.js +10 -0
  118. package/dist/browser-steps-DMpS5TyB.js +533 -0
  119. package/dist/builderTimings-pvGnK1m-.js +510 -0
  120. package/dist/button-DG7y_FVJ.js +48 -0
  121. package/dist/canvasNoteTools-BxuP_AYO.js +137 -0
  122. package/dist/card-Bomy_1UG.js +44 -0
  123. package/dist/catalogGrid-BOrfMgi-.js +41 -0
  124. package/dist/channel-CPyQ1NR1.js +212 -0
  125. package/dist/chips-CvNrYJZa.js +27 -0
  126. package/dist/client-holder-C0M5Cfwl.js +68 -0
  127. package/dist/cn-QqidFIgr.js +10 -0
  128. package/dist/code-editor-diagnostics-Zr0cIcx1.js +46 -0
  129. package/dist/code-editor-field-x_JrY8KR.js +113 -0
  130. package/dist/codec-client-DPuD6mw7.js +515 -0
  131. package/dist/conditionBuilder-DwfEF0Q-.js +1144 -0
  132. package/dist/config-DO68jw5k.js +322 -0
  133. package/dist/constants-DgbVc24O.d.ts +296 -0
  134. package/dist/constants-DlRnHBfQ.js +217 -0
  135. package/dist/convert-browser-action-pfecelF7.js +347 -0
  136. package/dist/convert-dialog-B_o22NiJ.js +382 -0
  137. package/dist/create-workflow-first-Azg3JUdX.js +120 -0
  138. package/dist/definition-canvas-Bsda-rDT.js +31 -0
  139. package/dist/dialog-BVd152GS.js +94 -0
  140. package/dist/durable-nodes-BXyYCLxT.js +91 -0
  141. package/dist/duration-CDb7-mT_.js +33 -0
  142. package/dist/edge-mapper-wEAdGVU2.js +4477 -0
  143. package/dist/element-library-DkSlg_VE.js +727 -0
  144. package/dist/entities-I_0kio3q.js +38 -0
  145. package/dist/error-advice-QLr5NCm7.js +65 -0
  146. package/dist/errors-ClKb5sEt.js +188 -0
  147. package/dist/executions.d.ts +3 -0
  148. package/dist/executions.js +5 -0
  149. package/dist/feature-flags-B2qetXKd.js +385 -0
  150. package/dist/field-label-DPZRmE_B.js +153 -0
  151. package/dist/firstWorkflow-C_h0KMB2.js +133 -0
  152. package/dist/flags.d.ts +3 -0
  153. package/dist/flags.js +4 -0
  154. package/dist/flow-builder-DIvLOhz0.js +28038 -0
  155. package/dist/flow-store-holder-CUN7Terz.js +52 -0
  156. package/dist/fluent.generated-CA_e6-4l.js +14 -0
  157. package/dist/fluidgridsEvents-bbEQbwU6.js +175 -0
  158. package/dist/fluidgridsTheme-DUhvOgoy.js +297 -0
  159. package/dist/global-client-BQPuFrFa.js +433 -0
  160. package/dist/global-operations-BG6YgxrM.js +136 -0
  161. package/dist/graphql-types-UTYtujY9.js +21358 -0
  162. package/dist/history.d.ts +3 -0
  163. package/dist/history.js +4 -0
  164. package/dist/index-AoJAa5vU.d.ts +164958 -0
  165. package/dist/index-DEMT3iAM.d.ts +120 -0
  166. package/dist/index-ROZzNGyY.d.ts +76 -0
  167. package/dist/index.d.ts +20 -0
  168. package/dist/index.js +8123 -0
  169. package/dist/ion.generated-mbajjcAg.js +10 -0
  170. package/dist/label-Lzb8ZXf_.js +29 -0
  171. package/dist/labels-rXd9gYQz.js +1236 -0
  172. package/dist/liveCanvas-D5ytXDp8.js +103 -0
  173. package/dist/logos.generated-X6_0kjVR.js +21 -0
  174. package/dist/logs-panel-Cw0DkG0l.js +468 -0
  175. package/dist/lucide.generated-B6NVd3GT.js +29 -0
  176. package/dist/marksStore-a9oIMMot.js +175 -0
  177. package/dist/mcp-trigger-D0nRdvq5.js +307 -0
  178. package/dist/mdi.generated-D1BV74d6.js +292 -0
  179. package/dist/menus-CU3hDGYl.js +160 -0
  180. package/dist/mynaui.generated-DMWr5cXz.js +66 -0
  181. package/dist/navigation-v2.d.ts +3 -0
  182. package/dist/navigation-v2.js +5 -0
  183. package/dist/node-detail-view-Cgm5H1P-.js +1372 -0
  184. package/dist/node-editor-tab-body-CZ0fVuVP.js +187 -0
  185. package/dist/node-operation-selection-CdV3KI_V.js +3534 -0
  186. package/dist/node-registry-refresh-s3okf83X.js +27 -0
  187. package/dist/node-role-TMbnkmeP.js +132 -0
  188. package/dist/node-type-icon-BZa8n4iG.js +33 -0
  189. package/dist/nodes.d.ts +3 -0
  190. package/dist/nodes.js +4 -0
  191. package/dist/notesKey-5EaREBGA.js +12 -0
  192. package/dist/observability.d.ts +3 -0
  193. package/dist/observability.js +5 -0
  194. package/dist/offset-pages-zghoClB3.js +55 -0
  195. package/dist/operations-BBmT9ToP.js +663 -0
  196. package/dist/operations-WxRJWeqO.js +3133 -0
  197. package/dist/output-files-Ba8bu5lv.js +196 -0
  198. package/dist/page-operation-DrWuhd6Y.js +129 -0
  199. package/dist/page-twins.d.ts +13 -0
  200. package/dist/page-twins.js +186 -0
  201. package/dist/pageControlSpecs-DZJ9K37m.js +134 -0
  202. package/dist/pageControlsBridge-0pX9s-3k.js +54 -0
  203. package/dist/pageControlsBridge-DAuT3w7L.d.ts +36 -0
  204. package/dist/panels-PfBBAToE.js +346 -0
  205. package/dist/parts-B7fBcw-B.js +346 -0
  206. package/dist/popover-Dms9Vz3j.js +3389 -0
  207. package/dist/preloadable-lazy-Pp47mqQ9.js +65 -0
  208. package/dist/proactive.d.ts +66 -0
  209. package/dist/proactive.js +237 -0
  210. package/dist/quick-config-panel-DFd77xho.js +451 -0
  211. package/dist/quota-DeA_CJ2e.js +175 -0
  212. package/dist/quota.d.ts +3 -0
  213. package/dist/quota.js +4 -0
  214. package/dist/read-only-context-Dt9N9SIG.js +18 -0
  215. package/dist/relative-time-Dxt8ZIIu.js +55 -0
  216. package/dist/results-CwK_yDxK.js +325 -0
  217. package/dist/rolldown-runtime-hDbaFkMy.js +18 -0
  218. package/dist/route-data.d.ts +12 -0
  219. package/dist/route-data.js +69 -0
  220. package/dist/route-match-C-0_EnAt.d.ts +5 -0
  221. package/dist/route-match-DMkUICYV.js +41 -0
  222. package/dist/route-preload-C4DlGoCd.js +120 -0
  223. package/dist/run-display-UjLAoYqQ.js +81 -0
  224. package/dist/run-history-arGiHzGU.js +285 -0
  225. package/dist/run-list-links-DJn4Mf1T.js +98 -0
  226. package/dist/run-mode-USmM0-Uo.js +82 -0
  227. package/dist/run-parity-CWXqEJqM.js +144 -0
  228. package/dist/runsQuota-B6SyTbne.js +100 -0
  229. package/dist/runsQuota-DsniKiSg.d.ts +20 -0
  230. package/dist/safe-expression-Cw7-SCsm.js +1251 -0
  231. package/dist/save-status-store-C7nEYpfb.js +631 -0
  232. package/dist/schedule-panel-B4GYXzXQ.js +13774 -0
  233. package/dist/schedule-rules-ggVKRkBH.js +358 -0
  234. package/dist/secrets-Re_wSiE3.js +153 -0
  235. package/dist/settings.d.ts +4 -0
  236. package/dist/settings.js +6 -0
  237. package/dist/shared-DAWGGMSM.js +177 -0
  238. package/dist/sidebar-node-editor-6eSSgCzc.js +178 -0
  239. package/dist/solar.generated-CGYuUQAC.js +10 -0
  240. package/dist/stableTabbedDialog-BBhrfXGe.js +20 -0
  241. package/dist/start-url-CT6Yz96K.js +24 -0
  242. package/dist/status-CessxGpm.js +55 -0
  243. package/dist/store-icon-OctYp5zP.js +155 -0
  244. package/dist/styles-WGmTnZ2n.js +26 -0
  245. package/dist/styles.css +139 -0
  246. package/dist/svg-spinners.generated-CIPT7IhM.js +10 -0
  247. package/dist/template-code-CzN6JWNV.js +191 -0
  248. package/dist/template-graph-DLF9dygU.js +20 -0
  249. package/dist/template-preview-DcIIKOOL.js +32 -0
  250. package/dist/template-price-CdUHZRMF.js +40 -0
  251. package/dist/templates.d.ts +3 -0
  252. package/dist/templates.js +5 -0
  253. package/dist/theme-provider-CntfC4_i.js +23 -0
  254. package/dist/transient-DgZfhDfN.js +57 -0
  255. package/dist/typed-calls-C5tO03wq.js +26 -0
  256. package/dist/ui-script-By74Guk3.js +1094 -0
  257. package/dist/ui-script-editor-CqPu2bCN.js +2447 -0
  258. package/dist/ui-step-fix-8uM2_Hft.js +67 -0
  259. package/dist/ui-step-fix-store-CcO1FdRx.js +19 -0
  260. package/dist/ui-step-run-context-o7bLE6KP.js +46 -0
  261. package/dist/ui-target-editor-D2JhB_lD.js +673 -0
  262. package/dist/uiMarkTools-CSznnO1i.js +1054 -0
  263. package/dist/upgradePrompt-BAFBKKW5.js +72 -0
  264. package/dist/use-bare-node-registry-O6mKJO_n.js +11498 -0
  265. package/dist/use-browser-available-hj8wc3Kb.js +241 -0
  266. package/dist/use-edge-mapper-schemas-Bonofxow.js +496 -0
  267. package/dist/use-extension-bridge-B9ZreOkQ.js +608 -0
  268. package/dist/use-mobile-BTqCUjzS.js +27 -0
  269. package/dist/use-sdk-query-C697xZVv.js +116 -0
  270. package/dist/use-workflow-code-editor-CFoRFrZ5.js +753 -0
  271. package/dist/useActionParam-B2tU2BlY.js +85 -0
  272. package/dist/useAgentTokenStream-Bko_J0d0.js +4217 -0
  273. package/dist/useBrowserClients-3v95-gSh.js +103 -0
  274. package/dist/useCodeWorkflowInsights-w0tz9Ap_.js +600 -0
  275. package/dist/useConnections-DsgEJs05.js +439 -0
  276. package/dist/useDebouncedValue-BFekcv6n.js +18 -0
  277. package/dist/useDurableParity-8fnMZmBc.js +1787 -0
  278. package/dist/useEntityTags-D0spL6Ut.js +460 -0
  279. package/dist/useExecutions-2u5nGJJk.js +681 -0
  280. package/dist/useFluidGridsAnalytics-VM8lAi2x.js +238 -0
  281. package/dist/useGlobalStoreClient-BTdhkA2I.js +24 -0
  282. package/dist/useHumanRequests-zlYDp3l1.js +221 -0
  283. package/dist/useNavigationV2-C2WeqN7d.js +29 -0
  284. package/dist/useNavigationV2-DANUmg12.d.ts +9 -0
  285. package/dist/useObservability-BRlQ0tOA.js +285 -0
  286. package/dist/useRequestedProposal-B7uPXfZB.js +51 -0
  287. package/dist/useRunHistory-CXCMUPyf.js +2759 -0
  288. package/dist/useRunLive-D0JvVZT2.js +1060 -0
  289. package/dist/useRunnerList-Dbi59i1K.js +446 -0
  290. package/dist/useRunners-URUc5quU.js +173 -0
  291. package/dist/useRunsPage-DG656UCK.js +2709 -0
  292. package/dist/useVariables-BIelxcWr.js +463 -0
  293. package/dist/useVersionHistoryData-CTjqVw7l.js +292 -0
  294. package/dist/useWorkflowCodeExport-pqxyLHD1.js +522 -0
  295. package/dist/useWorkflowListExport-hcZNvTaB.js +232 -0
  296. package/dist/useWorkflowOrganization-CpBbOrs7.js +1772 -0
  297. package/dist/useWorkflowProposal-BH0VdNMA.js +3280 -0
  298. package/dist/useWorkflows-Cvg-Z_IE.js +1606 -0
  299. package/dist/utils-fvBb5qOD.js +89 -0
  300. package/dist/webhook-deliveries-AvQujaZy.js +99 -0
  301. package/dist/workflow-builder-CJygVkVv.d.ts +2 -0
  302. package/dist/workflow-builder.d.ts +3 -0
  303. package/dist/workflow-builder.js +8 -0
  304. package/dist/workflow-code-transfer-Bsy0JKAZ.js +323 -0
  305. package/dist/workflow-embed.d.ts +3 -0
  306. package/dist/workflow-embed.js +4 -0
  307. package/dist/workflow-git-sync--K9ZsPDC.js +263 -0
  308. package/dist/workflow-host.d.ts +6 -0
  309. package/dist/workflow-host.js +11 -0
  310. package/dist/workflow-pages-D-7ByLTB.d.ts +68 -0
  311. package/dist/workflow-pages.d.ts +3 -0
  312. package/dist/workflow-pages.js +115 -0
  313. package/dist/workflow-preview-canvas-CO8yzdE3.js +848 -0
  314. package/dist/workflow-preview.d.ts +65 -0
  315. package/dist/workflow-preview.js +4 -0
  316. package/dist/workflow-route.d.ts +33 -0
  317. package/dist/workflow-route.js +4 -0
  318. package/dist/workflow-save-state-D0l-DkLf.js +767 -0
  319. package/dist/workflow-transfer-CQnQC-ke.js +104 -0
  320. package/dist/workflowRouteData-BkfVOc-O.js +169 -0
  321. package/dist/workflows-list.d.ts +10 -0
  322. package/dist/workflows-list.js +5 -0
  323. package/package.json +320 -4
@@ -0,0 +1,3280 @@
1
+ "use client";
2
+ import { n as getFluidGridsClient } from "./client-holder-C0M5Cfwl.js";
3
+ import { s as throwIfResultError } from "./errors-ClKb5sEt.js";
4
+ import { a as notifyFluidGridsAiCreditsUpdated } from "./aiCreditsBridge-BuE92tKo.js";
5
+ import { t as WorkflowProposalDocument } from "./WorkflowProposalDocument-BdUbsrd0.js";
6
+ import { useCallback, useEffect, useRef, useState } from "react";
7
+
8
+ // src/generated/documents/wspace/ApplyWorkflowProposalDocument.ts
9
+ const ApplyWorkflowProposalDocument = {
10
+ "kind": "Document",
11
+ "definitions": [{
12
+ "kind": "OperationDefinition",
13
+ "operation": "mutation",
14
+ "name": {
15
+ "kind": "Name",
16
+ "value": "ApplyWorkflowProposal"
17
+ },
18
+ "variableDefinitions": [{
19
+ "kind": "VariableDefinition",
20
+ "variable": {
21
+ "kind": "Variable",
22
+ "name": {
23
+ "kind": "Name",
24
+ "value": "id"
25
+ }
26
+ },
27
+ "type": {
28
+ "kind": "NonNullType",
29
+ "type": {
30
+ "kind": "NamedType",
31
+ "name": {
32
+ "kind": "Name",
33
+ "value": "ID"
34
+ }
35
+ }
36
+ },
37
+ "directives": []
38
+ }],
39
+ "directives": [],
40
+ "selectionSet": {
41
+ "kind": "SelectionSet",
42
+ "selections": [{
43
+ "kind": "Field",
44
+ "name": {
45
+ "kind": "Name",
46
+ "value": "applyWorkflowProposal"
47
+ },
48
+ "arguments": [{
49
+ "kind": "Argument",
50
+ "name": {
51
+ "kind": "Name",
52
+ "value": "id"
53
+ },
54
+ "value": {
55
+ "kind": "Variable",
56
+ "name": {
57
+ "kind": "Name",
58
+ "value": "id"
59
+ }
60
+ }
61
+ }],
62
+ "directives": [],
63
+ "selectionSet": {
64
+ "kind": "SelectionSet",
65
+ "selections": [
66
+ {
67
+ "kind": "Field",
68
+ "name": {
69
+ "kind": "Name",
70
+ "value": "id"
71
+ },
72
+ "arguments": [],
73
+ "directives": []
74
+ },
75
+ {
76
+ "kind": "Field",
77
+ "name": {
78
+ "kind": "Name",
79
+ "value": "kind"
80
+ },
81
+ "arguments": [],
82
+ "directives": []
83
+ },
84
+ {
85
+ "kind": "Field",
86
+ "name": {
87
+ "kind": "Name",
88
+ "value": "status"
89
+ },
90
+ "arguments": [],
91
+ "directives": []
92
+ },
93
+ {
94
+ "kind": "Field",
95
+ "name": {
96
+ "kind": "Name",
97
+ "value": "prompt"
98
+ },
99
+ "arguments": [],
100
+ "directives": []
101
+ },
102
+ {
103
+ "kind": "Field",
104
+ "name": {
105
+ "kind": "Name",
106
+ "value": "message"
107
+ },
108
+ "arguments": [],
109
+ "directives": []
110
+ },
111
+ {
112
+ "kind": "Field",
113
+ "name": {
114
+ "kind": "Name",
115
+ "value": "workflowId"
116
+ },
117
+ "arguments": [],
118
+ "directives": []
119
+ },
120
+ {
121
+ "kind": "Field",
122
+ "name": {
123
+ "kind": "Name",
124
+ "value": "workflowKey"
125
+ },
126
+ "arguments": [],
127
+ "directives": []
128
+ },
129
+ {
130
+ "kind": "Field",
131
+ "name": {
132
+ "kind": "Name",
133
+ "value": "baseVersion"
134
+ },
135
+ "arguments": [],
136
+ "directives": []
137
+ },
138
+ {
139
+ "kind": "Field",
140
+ "name": {
141
+ "kind": "Name",
142
+ "value": "runId"
143
+ },
144
+ "arguments": [],
145
+ "directives": []
146
+ },
147
+ {
148
+ "kind": "Field",
149
+ "name": {
150
+ "kind": "Name",
151
+ "value": "afterNodeId"
152
+ },
153
+ "arguments": [],
154
+ "directives": []
155
+ },
156
+ {
157
+ "kind": "Field",
158
+ "name": {
159
+ "kind": "Name",
160
+ "value": "name"
161
+ },
162
+ "arguments": [],
163
+ "directives": []
164
+ },
165
+ {
166
+ "kind": "Field",
167
+ "name": {
168
+ "kind": "Name",
169
+ "value": "description"
170
+ },
171
+ "arguments": [],
172
+ "directives": []
173
+ },
174
+ {
175
+ "kind": "Field",
176
+ "name": {
177
+ "kind": "Name",
178
+ "value": "explanation"
179
+ },
180
+ "arguments": [],
181
+ "directives": []
182
+ },
183
+ {
184
+ "kind": "Field",
185
+ "name": {
186
+ "kind": "Name",
187
+ "value": "definitionJson"
188
+ },
189
+ "arguments": [],
190
+ "directives": []
191
+ },
192
+ {
193
+ "kind": "Field",
194
+ "name": {
195
+ "kind": "Name",
196
+ "value": "modelUsed"
197
+ },
198
+ "arguments": [],
199
+ "directives": []
200
+ },
201
+ {
202
+ "kind": "Field",
203
+ "name": {
204
+ "kind": "Name",
205
+ "value": "attempts"
206
+ },
207
+ "arguments": [],
208
+ "directives": []
209
+ },
210
+ {
211
+ "kind": "Field",
212
+ "name": {
213
+ "kind": "Name",
214
+ "value": "appliedWorkflowId"
215
+ },
216
+ "arguments": [],
217
+ "directives": []
218
+ },
219
+ {
220
+ "kind": "Field",
221
+ "name": {
222
+ "kind": "Name",
223
+ "value": "appliedWorkflowKey"
224
+ },
225
+ "arguments": [],
226
+ "directives": []
227
+ },
228
+ {
229
+ "kind": "Field",
230
+ "name": {
231
+ "kind": "Name",
232
+ "value": "appliedVersion"
233
+ },
234
+ "arguments": [],
235
+ "directives": []
236
+ },
237
+ {
238
+ "kind": "Field",
239
+ "name": {
240
+ "kind": "Name",
241
+ "value": "restoreHint"
242
+ },
243
+ "arguments": [],
244
+ "directives": []
245
+ },
246
+ {
247
+ "kind": "Field",
248
+ "name": {
249
+ "kind": "Name",
250
+ "value": "createdAt"
251
+ },
252
+ "arguments": [],
253
+ "directives": []
254
+ },
255
+ {
256
+ "kind": "Field",
257
+ "name": {
258
+ "kind": "Name",
259
+ "value": "updatedAt"
260
+ },
261
+ "arguments": [],
262
+ "directives": []
263
+ },
264
+ {
265
+ "kind": "Field",
266
+ "name": {
267
+ "kind": "Name",
268
+ "value": "progress"
269
+ },
270
+ "arguments": [],
271
+ "directives": [],
272
+ "selectionSet": {
273
+ "kind": "SelectionSet",
274
+ "selections": [
275
+ {
276
+ "kind": "Field",
277
+ "name": {
278
+ "kind": "Name",
279
+ "value": "stage"
280
+ },
281
+ "arguments": [],
282
+ "directives": []
283
+ },
284
+ {
285
+ "kind": "Field",
286
+ "name": {
287
+ "kind": "Name",
288
+ "value": "attempt"
289
+ },
290
+ "arguments": [],
291
+ "directives": []
292
+ },
293
+ {
294
+ "kind": "Field",
295
+ "name": {
296
+ "kind": "Name",
297
+ "value": "updatedAt"
298
+ },
299
+ "arguments": [],
300
+ "directives": []
301
+ }
302
+ ]
303
+ }
304
+ },
305
+ {
306
+ "kind": "Field",
307
+ "name": {
308
+ "kind": "Name",
309
+ "value": "validation"
310
+ },
311
+ "arguments": [],
312
+ "directives": [],
313
+ "selectionSet": {
314
+ "kind": "SelectionSet",
315
+ "selections": [
316
+ {
317
+ "kind": "Field",
318
+ "name": {
319
+ "kind": "Name",
320
+ "value": "valid"
321
+ },
322
+ "arguments": [],
323
+ "directives": []
324
+ },
325
+ {
326
+ "kind": "Field",
327
+ "name": {
328
+ "kind": "Name",
329
+ "value": "errors"
330
+ },
331
+ "arguments": [],
332
+ "directives": []
333
+ },
334
+ {
335
+ "kind": "Field",
336
+ "name": {
337
+ "kind": "Name",
338
+ "value": "warnings"
339
+ },
340
+ "arguments": [],
341
+ "directives": []
342
+ }
343
+ ]
344
+ }
345
+ },
346
+ {
347
+ "kind": "Field",
348
+ "name": {
349
+ "kind": "Name",
350
+ "value": "diff"
351
+ },
352
+ "arguments": [],
353
+ "directives": [],
354
+ "selectionSet": {
355
+ "kind": "SelectionSet",
356
+ "selections": [
357
+ {
358
+ "kind": "Field",
359
+ "name": {
360
+ "kind": "Name",
361
+ "value": "summary"
362
+ },
363
+ "arguments": [],
364
+ "directives": []
365
+ },
366
+ {
367
+ "kind": "Field",
368
+ "name": {
369
+ "kind": "Name",
370
+ "value": "addedNodes"
371
+ },
372
+ "arguments": [],
373
+ "directives": [],
374
+ "selectionSet": {
375
+ "kind": "SelectionSet",
376
+ "selections": [
377
+ {
378
+ "kind": "Field",
379
+ "name": {
380
+ "kind": "Name",
381
+ "value": "id"
382
+ },
383
+ "arguments": [],
384
+ "directives": []
385
+ },
386
+ {
387
+ "kind": "Field",
388
+ "name": {
389
+ "kind": "Name",
390
+ "value": "type"
391
+ },
392
+ "arguments": [],
393
+ "directives": []
394
+ },
395
+ {
396
+ "kind": "Field",
397
+ "name": {
398
+ "kind": "Name",
399
+ "value": "label"
400
+ },
401
+ "arguments": [],
402
+ "directives": []
403
+ },
404
+ {
405
+ "kind": "Field",
406
+ "name": {
407
+ "kind": "Name",
408
+ "value": "fields"
409
+ },
410
+ "arguments": [],
411
+ "directives": []
412
+ }
413
+ ]
414
+ }
415
+ },
416
+ {
417
+ "kind": "Field",
418
+ "name": {
419
+ "kind": "Name",
420
+ "value": "removedNodes"
421
+ },
422
+ "arguments": [],
423
+ "directives": [],
424
+ "selectionSet": {
425
+ "kind": "SelectionSet",
426
+ "selections": [
427
+ {
428
+ "kind": "Field",
429
+ "name": {
430
+ "kind": "Name",
431
+ "value": "id"
432
+ },
433
+ "arguments": [],
434
+ "directives": []
435
+ },
436
+ {
437
+ "kind": "Field",
438
+ "name": {
439
+ "kind": "Name",
440
+ "value": "type"
441
+ },
442
+ "arguments": [],
443
+ "directives": []
444
+ },
445
+ {
446
+ "kind": "Field",
447
+ "name": {
448
+ "kind": "Name",
449
+ "value": "label"
450
+ },
451
+ "arguments": [],
452
+ "directives": []
453
+ },
454
+ {
455
+ "kind": "Field",
456
+ "name": {
457
+ "kind": "Name",
458
+ "value": "fields"
459
+ },
460
+ "arguments": [],
461
+ "directives": []
462
+ }
463
+ ]
464
+ }
465
+ },
466
+ {
467
+ "kind": "Field",
468
+ "name": {
469
+ "kind": "Name",
470
+ "value": "changedNodes"
471
+ },
472
+ "arguments": [],
473
+ "directives": [],
474
+ "selectionSet": {
475
+ "kind": "SelectionSet",
476
+ "selections": [
477
+ {
478
+ "kind": "Field",
479
+ "name": {
480
+ "kind": "Name",
481
+ "value": "id"
482
+ },
483
+ "arguments": [],
484
+ "directives": []
485
+ },
486
+ {
487
+ "kind": "Field",
488
+ "name": {
489
+ "kind": "Name",
490
+ "value": "type"
491
+ },
492
+ "arguments": [],
493
+ "directives": []
494
+ },
495
+ {
496
+ "kind": "Field",
497
+ "name": {
498
+ "kind": "Name",
499
+ "value": "label"
500
+ },
501
+ "arguments": [],
502
+ "directives": []
503
+ },
504
+ {
505
+ "kind": "Field",
506
+ "name": {
507
+ "kind": "Name",
508
+ "value": "fields"
509
+ },
510
+ "arguments": [],
511
+ "directives": []
512
+ }
513
+ ]
514
+ }
515
+ },
516
+ {
517
+ "kind": "Field",
518
+ "name": {
519
+ "kind": "Name",
520
+ "value": "addedEdges"
521
+ },
522
+ "arguments": [],
523
+ "directives": [],
524
+ "selectionSet": {
525
+ "kind": "SelectionSet",
526
+ "selections": [
527
+ {
528
+ "kind": "Field",
529
+ "name": {
530
+ "kind": "Name",
531
+ "value": "source"
532
+ },
533
+ "arguments": [],
534
+ "directives": []
535
+ },
536
+ {
537
+ "kind": "Field",
538
+ "name": {
539
+ "kind": "Name",
540
+ "value": "target"
541
+ },
542
+ "arguments": [],
543
+ "directives": []
544
+ },
545
+ {
546
+ "kind": "Field",
547
+ "name": {
548
+ "kind": "Name",
549
+ "value": "sourceHandle"
550
+ },
551
+ "arguments": [],
552
+ "directives": []
553
+ },
554
+ {
555
+ "kind": "Field",
556
+ "name": {
557
+ "kind": "Name",
558
+ "value": "targetHandle"
559
+ },
560
+ "arguments": [],
561
+ "directives": []
562
+ }
563
+ ]
564
+ }
565
+ },
566
+ {
567
+ "kind": "Field",
568
+ "name": {
569
+ "kind": "Name",
570
+ "value": "removedEdges"
571
+ },
572
+ "arguments": [],
573
+ "directives": [],
574
+ "selectionSet": {
575
+ "kind": "SelectionSet",
576
+ "selections": [
577
+ {
578
+ "kind": "Field",
579
+ "name": {
580
+ "kind": "Name",
581
+ "value": "source"
582
+ },
583
+ "arguments": [],
584
+ "directives": []
585
+ },
586
+ {
587
+ "kind": "Field",
588
+ "name": {
589
+ "kind": "Name",
590
+ "value": "target"
591
+ },
592
+ "arguments": [],
593
+ "directives": []
594
+ },
595
+ {
596
+ "kind": "Field",
597
+ "name": {
598
+ "kind": "Name",
599
+ "value": "sourceHandle"
600
+ },
601
+ "arguments": [],
602
+ "directives": []
603
+ },
604
+ {
605
+ "kind": "Field",
606
+ "name": {
607
+ "kind": "Name",
608
+ "value": "targetHandle"
609
+ },
610
+ "arguments": [],
611
+ "directives": []
612
+ }
613
+ ]
614
+ }
615
+ }
616
+ ]
617
+ }
618
+ }
619
+ ]
620
+ }
621
+ }]
622
+ }
623
+ }]
624
+ };
625
+
626
+ // src/generated/documents/wspace/CancelWorkflowProposalDocument.ts
627
+ const CancelWorkflowProposalDocument = {
628
+ "kind": "Document",
629
+ "definitions": [{
630
+ "kind": "OperationDefinition",
631
+ "operation": "mutation",
632
+ "name": {
633
+ "kind": "Name",
634
+ "value": "CancelWorkflowProposal"
635
+ },
636
+ "variableDefinitions": [{
637
+ "kind": "VariableDefinition",
638
+ "variable": {
639
+ "kind": "Variable",
640
+ "name": {
641
+ "kind": "Name",
642
+ "value": "id"
643
+ }
644
+ },
645
+ "type": {
646
+ "kind": "NonNullType",
647
+ "type": {
648
+ "kind": "NamedType",
649
+ "name": {
650
+ "kind": "Name",
651
+ "value": "ID"
652
+ }
653
+ }
654
+ },
655
+ "directives": []
656
+ }],
657
+ "directives": [],
658
+ "selectionSet": {
659
+ "kind": "SelectionSet",
660
+ "selections": [{
661
+ "kind": "Field",
662
+ "name": {
663
+ "kind": "Name",
664
+ "value": "cancelWorkflowProposal"
665
+ },
666
+ "arguments": [{
667
+ "kind": "Argument",
668
+ "name": {
669
+ "kind": "Name",
670
+ "value": "id"
671
+ },
672
+ "value": {
673
+ "kind": "Variable",
674
+ "name": {
675
+ "kind": "Name",
676
+ "value": "id"
677
+ }
678
+ }
679
+ }],
680
+ "directives": [],
681
+ "selectionSet": {
682
+ "kind": "SelectionSet",
683
+ "selections": [
684
+ {
685
+ "kind": "Field",
686
+ "name": {
687
+ "kind": "Name",
688
+ "value": "id"
689
+ },
690
+ "arguments": [],
691
+ "directives": []
692
+ },
693
+ {
694
+ "kind": "Field",
695
+ "name": {
696
+ "kind": "Name",
697
+ "value": "kind"
698
+ },
699
+ "arguments": [],
700
+ "directives": []
701
+ },
702
+ {
703
+ "kind": "Field",
704
+ "name": {
705
+ "kind": "Name",
706
+ "value": "status"
707
+ },
708
+ "arguments": [],
709
+ "directives": []
710
+ },
711
+ {
712
+ "kind": "Field",
713
+ "name": {
714
+ "kind": "Name",
715
+ "value": "prompt"
716
+ },
717
+ "arguments": [],
718
+ "directives": []
719
+ },
720
+ {
721
+ "kind": "Field",
722
+ "name": {
723
+ "kind": "Name",
724
+ "value": "message"
725
+ },
726
+ "arguments": [],
727
+ "directives": []
728
+ },
729
+ {
730
+ "kind": "Field",
731
+ "name": {
732
+ "kind": "Name",
733
+ "value": "workflowId"
734
+ },
735
+ "arguments": [],
736
+ "directives": []
737
+ },
738
+ {
739
+ "kind": "Field",
740
+ "name": {
741
+ "kind": "Name",
742
+ "value": "workflowKey"
743
+ },
744
+ "arguments": [],
745
+ "directives": []
746
+ },
747
+ {
748
+ "kind": "Field",
749
+ "name": {
750
+ "kind": "Name",
751
+ "value": "baseVersion"
752
+ },
753
+ "arguments": [],
754
+ "directives": []
755
+ },
756
+ {
757
+ "kind": "Field",
758
+ "name": {
759
+ "kind": "Name",
760
+ "value": "runId"
761
+ },
762
+ "arguments": [],
763
+ "directives": []
764
+ },
765
+ {
766
+ "kind": "Field",
767
+ "name": {
768
+ "kind": "Name",
769
+ "value": "afterNodeId"
770
+ },
771
+ "arguments": [],
772
+ "directives": []
773
+ },
774
+ {
775
+ "kind": "Field",
776
+ "name": {
777
+ "kind": "Name",
778
+ "value": "name"
779
+ },
780
+ "arguments": [],
781
+ "directives": []
782
+ },
783
+ {
784
+ "kind": "Field",
785
+ "name": {
786
+ "kind": "Name",
787
+ "value": "description"
788
+ },
789
+ "arguments": [],
790
+ "directives": []
791
+ },
792
+ {
793
+ "kind": "Field",
794
+ "name": {
795
+ "kind": "Name",
796
+ "value": "explanation"
797
+ },
798
+ "arguments": [],
799
+ "directives": []
800
+ },
801
+ {
802
+ "kind": "Field",
803
+ "name": {
804
+ "kind": "Name",
805
+ "value": "definitionJson"
806
+ },
807
+ "arguments": [],
808
+ "directives": []
809
+ },
810
+ {
811
+ "kind": "Field",
812
+ "name": {
813
+ "kind": "Name",
814
+ "value": "modelUsed"
815
+ },
816
+ "arguments": [],
817
+ "directives": []
818
+ },
819
+ {
820
+ "kind": "Field",
821
+ "name": {
822
+ "kind": "Name",
823
+ "value": "attempts"
824
+ },
825
+ "arguments": [],
826
+ "directives": []
827
+ },
828
+ {
829
+ "kind": "Field",
830
+ "name": {
831
+ "kind": "Name",
832
+ "value": "appliedWorkflowId"
833
+ },
834
+ "arguments": [],
835
+ "directives": []
836
+ },
837
+ {
838
+ "kind": "Field",
839
+ "name": {
840
+ "kind": "Name",
841
+ "value": "appliedWorkflowKey"
842
+ },
843
+ "arguments": [],
844
+ "directives": []
845
+ },
846
+ {
847
+ "kind": "Field",
848
+ "name": {
849
+ "kind": "Name",
850
+ "value": "appliedVersion"
851
+ },
852
+ "arguments": [],
853
+ "directives": []
854
+ },
855
+ {
856
+ "kind": "Field",
857
+ "name": {
858
+ "kind": "Name",
859
+ "value": "restoreHint"
860
+ },
861
+ "arguments": [],
862
+ "directives": []
863
+ },
864
+ {
865
+ "kind": "Field",
866
+ "name": {
867
+ "kind": "Name",
868
+ "value": "createdAt"
869
+ },
870
+ "arguments": [],
871
+ "directives": []
872
+ },
873
+ {
874
+ "kind": "Field",
875
+ "name": {
876
+ "kind": "Name",
877
+ "value": "updatedAt"
878
+ },
879
+ "arguments": [],
880
+ "directives": []
881
+ },
882
+ {
883
+ "kind": "Field",
884
+ "name": {
885
+ "kind": "Name",
886
+ "value": "progress"
887
+ },
888
+ "arguments": [],
889
+ "directives": [],
890
+ "selectionSet": {
891
+ "kind": "SelectionSet",
892
+ "selections": [
893
+ {
894
+ "kind": "Field",
895
+ "name": {
896
+ "kind": "Name",
897
+ "value": "stage"
898
+ },
899
+ "arguments": [],
900
+ "directives": []
901
+ },
902
+ {
903
+ "kind": "Field",
904
+ "name": {
905
+ "kind": "Name",
906
+ "value": "attempt"
907
+ },
908
+ "arguments": [],
909
+ "directives": []
910
+ },
911
+ {
912
+ "kind": "Field",
913
+ "name": {
914
+ "kind": "Name",
915
+ "value": "updatedAt"
916
+ },
917
+ "arguments": [],
918
+ "directives": []
919
+ }
920
+ ]
921
+ }
922
+ },
923
+ {
924
+ "kind": "Field",
925
+ "name": {
926
+ "kind": "Name",
927
+ "value": "validation"
928
+ },
929
+ "arguments": [],
930
+ "directives": [],
931
+ "selectionSet": {
932
+ "kind": "SelectionSet",
933
+ "selections": [
934
+ {
935
+ "kind": "Field",
936
+ "name": {
937
+ "kind": "Name",
938
+ "value": "valid"
939
+ },
940
+ "arguments": [],
941
+ "directives": []
942
+ },
943
+ {
944
+ "kind": "Field",
945
+ "name": {
946
+ "kind": "Name",
947
+ "value": "errors"
948
+ },
949
+ "arguments": [],
950
+ "directives": []
951
+ },
952
+ {
953
+ "kind": "Field",
954
+ "name": {
955
+ "kind": "Name",
956
+ "value": "warnings"
957
+ },
958
+ "arguments": [],
959
+ "directives": []
960
+ }
961
+ ]
962
+ }
963
+ },
964
+ {
965
+ "kind": "Field",
966
+ "name": {
967
+ "kind": "Name",
968
+ "value": "diff"
969
+ },
970
+ "arguments": [],
971
+ "directives": [],
972
+ "selectionSet": {
973
+ "kind": "SelectionSet",
974
+ "selections": [
975
+ {
976
+ "kind": "Field",
977
+ "name": {
978
+ "kind": "Name",
979
+ "value": "summary"
980
+ },
981
+ "arguments": [],
982
+ "directives": []
983
+ },
984
+ {
985
+ "kind": "Field",
986
+ "name": {
987
+ "kind": "Name",
988
+ "value": "addedNodes"
989
+ },
990
+ "arguments": [],
991
+ "directives": [],
992
+ "selectionSet": {
993
+ "kind": "SelectionSet",
994
+ "selections": [
995
+ {
996
+ "kind": "Field",
997
+ "name": {
998
+ "kind": "Name",
999
+ "value": "id"
1000
+ },
1001
+ "arguments": [],
1002
+ "directives": []
1003
+ },
1004
+ {
1005
+ "kind": "Field",
1006
+ "name": {
1007
+ "kind": "Name",
1008
+ "value": "type"
1009
+ },
1010
+ "arguments": [],
1011
+ "directives": []
1012
+ },
1013
+ {
1014
+ "kind": "Field",
1015
+ "name": {
1016
+ "kind": "Name",
1017
+ "value": "label"
1018
+ },
1019
+ "arguments": [],
1020
+ "directives": []
1021
+ },
1022
+ {
1023
+ "kind": "Field",
1024
+ "name": {
1025
+ "kind": "Name",
1026
+ "value": "fields"
1027
+ },
1028
+ "arguments": [],
1029
+ "directives": []
1030
+ }
1031
+ ]
1032
+ }
1033
+ },
1034
+ {
1035
+ "kind": "Field",
1036
+ "name": {
1037
+ "kind": "Name",
1038
+ "value": "removedNodes"
1039
+ },
1040
+ "arguments": [],
1041
+ "directives": [],
1042
+ "selectionSet": {
1043
+ "kind": "SelectionSet",
1044
+ "selections": [
1045
+ {
1046
+ "kind": "Field",
1047
+ "name": {
1048
+ "kind": "Name",
1049
+ "value": "id"
1050
+ },
1051
+ "arguments": [],
1052
+ "directives": []
1053
+ },
1054
+ {
1055
+ "kind": "Field",
1056
+ "name": {
1057
+ "kind": "Name",
1058
+ "value": "type"
1059
+ },
1060
+ "arguments": [],
1061
+ "directives": []
1062
+ },
1063
+ {
1064
+ "kind": "Field",
1065
+ "name": {
1066
+ "kind": "Name",
1067
+ "value": "label"
1068
+ },
1069
+ "arguments": [],
1070
+ "directives": []
1071
+ },
1072
+ {
1073
+ "kind": "Field",
1074
+ "name": {
1075
+ "kind": "Name",
1076
+ "value": "fields"
1077
+ },
1078
+ "arguments": [],
1079
+ "directives": []
1080
+ }
1081
+ ]
1082
+ }
1083
+ },
1084
+ {
1085
+ "kind": "Field",
1086
+ "name": {
1087
+ "kind": "Name",
1088
+ "value": "changedNodes"
1089
+ },
1090
+ "arguments": [],
1091
+ "directives": [],
1092
+ "selectionSet": {
1093
+ "kind": "SelectionSet",
1094
+ "selections": [
1095
+ {
1096
+ "kind": "Field",
1097
+ "name": {
1098
+ "kind": "Name",
1099
+ "value": "id"
1100
+ },
1101
+ "arguments": [],
1102
+ "directives": []
1103
+ },
1104
+ {
1105
+ "kind": "Field",
1106
+ "name": {
1107
+ "kind": "Name",
1108
+ "value": "type"
1109
+ },
1110
+ "arguments": [],
1111
+ "directives": []
1112
+ },
1113
+ {
1114
+ "kind": "Field",
1115
+ "name": {
1116
+ "kind": "Name",
1117
+ "value": "label"
1118
+ },
1119
+ "arguments": [],
1120
+ "directives": []
1121
+ },
1122
+ {
1123
+ "kind": "Field",
1124
+ "name": {
1125
+ "kind": "Name",
1126
+ "value": "fields"
1127
+ },
1128
+ "arguments": [],
1129
+ "directives": []
1130
+ }
1131
+ ]
1132
+ }
1133
+ },
1134
+ {
1135
+ "kind": "Field",
1136
+ "name": {
1137
+ "kind": "Name",
1138
+ "value": "addedEdges"
1139
+ },
1140
+ "arguments": [],
1141
+ "directives": [],
1142
+ "selectionSet": {
1143
+ "kind": "SelectionSet",
1144
+ "selections": [
1145
+ {
1146
+ "kind": "Field",
1147
+ "name": {
1148
+ "kind": "Name",
1149
+ "value": "source"
1150
+ },
1151
+ "arguments": [],
1152
+ "directives": []
1153
+ },
1154
+ {
1155
+ "kind": "Field",
1156
+ "name": {
1157
+ "kind": "Name",
1158
+ "value": "target"
1159
+ },
1160
+ "arguments": [],
1161
+ "directives": []
1162
+ },
1163
+ {
1164
+ "kind": "Field",
1165
+ "name": {
1166
+ "kind": "Name",
1167
+ "value": "sourceHandle"
1168
+ },
1169
+ "arguments": [],
1170
+ "directives": []
1171
+ },
1172
+ {
1173
+ "kind": "Field",
1174
+ "name": {
1175
+ "kind": "Name",
1176
+ "value": "targetHandle"
1177
+ },
1178
+ "arguments": [],
1179
+ "directives": []
1180
+ }
1181
+ ]
1182
+ }
1183
+ },
1184
+ {
1185
+ "kind": "Field",
1186
+ "name": {
1187
+ "kind": "Name",
1188
+ "value": "removedEdges"
1189
+ },
1190
+ "arguments": [],
1191
+ "directives": [],
1192
+ "selectionSet": {
1193
+ "kind": "SelectionSet",
1194
+ "selections": [
1195
+ {
1196
+ "kind": "Field",
1197
+ "name": {
1198
+ "kind": "Name",
1199
+ "value": "source"
1200
+ },
1201
+ "arguments": [],
1202
+ "directives": []
1203
+ },
1204
+ {
1205
+ "kind": "Field",
1206
+ "name": {
1207
+ "kind": "Name",
1208
+ "value": "target"
1209
+ },
1210
+ "arguments": [],
1211
+ "directives": []
1212
+ },
1213
+ {
1214
+ "kind": "Field",
1215
+ "name": {
1216
+ "kind": "Name",
1217
+ "value": "sourceHandle"
1218
+ },
1219
+ "arguments": [],
1220
+ "directives": []
1221
+ },
1222
+ {
1223
+ "kind": "Field",
1224
+ "name": {
1225
+ "kind": "Name",
1226
+ "value": "targetHandle"
1227
+ },
1228
+ "arguments": [],
1229
+ "directives": []
1230
+ }
1231
+ ]
1232
+ }
1233
+ }
1234
+ ]
1235
+ }
1236
+ }
1237
+ ]
1238
+ }
1239
+ }]
1240
+ }
1241
+ }]
1242
+ };
1243
+
1244
+ // src/generated/documents/wspace/ProposeRunFixDocument.ts
1245
+ const ProposeRunFixDocument = {
1246
+ "kind": "Document",
1247
+ "definitions": [{
1248
+ "kind": "OperationDefinition",
1249
+ "operation": "mutation",
1250
+ "name": {
1251
+ "kind": "Name",
1252
+ "value": "ProposeRunFix"
1253
+ },
1254
+ "variableDefinitions": [{
1255
+ "kind": "VariableDefinition",
1256
+ "variable": {
1257
+ "kind": "Variable",
1258
+ "name": {
1259
+ "kind": "Name",
1260
+ "value": "input"
1261
+ }
1262
+ },
1263
+ "type": {
1264
+ "kind": "NonNullType",
1265
+ "type": {
1266
+ "kind": "NamedType",
1267
+ "name": {
1268
+ "kind": "Name",
1269
+ "value": "ProposeRunFixInput"
1270
+ }
1271
+ }
1272
+ },
1273
+ "directives": []
1274
+ }],
1275
+ "directives": [],
1276
+ "selectionSet": {
1277
+ "kind": "SelectionSet",
1278
+ "selections": [{
1279
+ "kind": "Field",
1280
+ "name": {
1281
+ "kind": "Name",
1282
+ "value": "proposeRunFix"
1283
+ },
1284
+ "arguments": [{
1285
+ "kind": "Argument",
1286
+ "name": {
1287
+ "kind": "Name",
1288
+ "value": "input"
1289
+ },
1290
+ "value": {
1291
+ "kind": "Variable",
1292
+ "name": {
1293
+ "kind": "Name",
1294
+ "value": "input"
1295
+ }
1296
+ }
1297
+ }],
1298
+ "directives": [],
1299
+ "selectionSet": {
1300
+ "kind": "SelectionSet",
1301
+ "selections": [
1302
+ {
1303
+ "kind": "Field",
1304
+ "name": {
1305
+ "kind": "Name",
1306
+ "value": "id"
1307
+ },
1308
+ "arguments": [],
1309
+ "directives": []
1310
+ },
1311
+ {
1312
+ "kind": "Field",
1313
+ "name": {
1314
+ "kind": "Name",
1315
+ "value": "kind"
1316
+ },
1317
+ "arguments": [],
1318
+ "directives": []
1319
+ },
1320
+ {
1321
+ "kind": "Field",
1322
+ "name": {
1323
+ "kind": "Name",
1324
+ "value": "status"
1325
+ },
1326
+ "arguments": [],
1327
+ "directives": []
1328
+ },
1329
+ {
1330
+ "kind": "Field",
1331
+ "name": {
1332
+ "kind": "Name",
1333
+ "value": "prompt"
1334
+ },
1335
+ "arguments": [],
1336
+ "directives": []
1337
+ },
1338
+ {
1339
+ "kind": "Field",
1340
+ "name": {
1341
+ "kind": "Name",
1342
+ "value": "message"
1343
+ },
1344
+ "arguments": [],
1345
+ "directives": []
1346
+ },
1347
+ {
1348
+ "kind": "Field",
1349
+ "name": {
1350
+ "kind": "Name",
1351
+ "value": "workflowId"
1352
+ },
1353
+ "arguments": [],
1354
+ "directives": []
1355
+ },
1356
+ {
1357
+ "kind": "Field",
1358
+ "name": {
1359
+ "kind": "Name",
1360
+ "value": "workflowKey"
1361
+ },
1362
+ "arguments": [],
1363
+ "directives": []
1364
+ },
1365
+ {
1366
+ "kind": "Field",
1367
+ "name": {
1368
+ "kind": "Name",
1369
+ "value": "baseVersion"
1370
+ },
1371
+ "arguments": [],
1372
+ "directives": []
1373
+ },
1374
+ {
1375
+ "kind": "Field",
1376
+ "name": {
1377
+ "kind": "Name",
1378
+ "value": "runId"
1379
+ },
1380
+ "arguments": [],
1381
+ "directives": []
1382
+ },
1383
+ {
1384
+ "kind": "Field",
1385
+ "name": {
1386
+ "kind": "Name",
1387
+ "value": "afterNodeId"
1388
+ },
1389
+ "arguments": [],
1390
+ "directives": []
1391
+ },
1392
+ {
1393
+ "kind": "Field",
1394
+ "name": {
1395
+ "kind": "Name",
1396
+ "value": "name"
1397
+ },
1398
+ "arguments": [],
1399
+ "directives": []
1400
+ },
1401
+ {
1402
+ "kind": "Field",
1403
+ "name": {
1404
+ "kind": "Name",
1405
+ "value": "description"
1406
+ },
1407
+ "arguments": [],
1408
+ "directives": []
1409
+ },
1410
+ {
1411
+ "kind": "Field",
1412
+ "name": {
1413
+ "kind": "Name",
1414
+ "value": "explanation"
1415
+ },
1416
+ "arguments": [],
1417
+ "directives": []
1418
+ },
1419
+ {
1420
+ "kind": "Field",
1421
+ "name": {
1422
+ "kind": "Name",
1423
+ "value": "definitionJson"
1424
+ },
1425
+ "arguments": [],
1426
+ "directives": []
1427
+ },
1428
+ {
1429
+ "kind": "Field",
1430
+ "name": {
1431
+ "kind": "Name",
1432
+ "value": "modelUsed"
1433
+ },
1434
+ "arguments": [],
1435
+ "directives": []
1436
+ },
1437
+ {
1438
+ "kind": "Field",
1439
+ "name": {
1440
+ "kind": "Name",
1441
+ "value": "attempts"
1442
+ },
1443
+ "arguments": [],
1444
+ "directives": []
1445
+ },
1446
+ {
1447
+ "kind": "Field",
1448
+ "name": {
1449
+ "kind": "Name",
1450
+ "value": "appliedWorkflowId"
1451
+ },
1452
+ "arguments": [],
1453
+ "directives": []
1454
+ },
1455
+ {
1456
+ "kind": "Field",
1457
+ "name": {
1458
+ "kind": "Name",
1459
+ "value": "appliedWorkflowKey"
1460
+ },
1461
+ "arguments": [],
1462
+ "directives": []
1463
+ },
1464
+ {
1465
+ "kind": "Field",
1466
+ "name": {
1467
+ "kind": "Name",
1468
+ "value": "appliedVersion"
1469
+ },
1470
+ "arguments": [],
1471
+ "directives": []
1472
+ },
1473
+ {
1474
+ "kind": "Field",
1475
+ "name": {
1476
+ "kind": "Name",
1477
+ "value": "restoreHint"
1478
+ },
1479
+ "arguments": [],
1480
+ "directives": []
1481
+ },
1482
+ {
1483
+ "kind": "Field",
1484
+ "name": {
1485
+ "kind": "Name",
1486
+ "value": "createdAt"
1487
+ },
1488
+ "arguments": [],
1489
+ "directives": []
1490
+ },
1491
+ {
1492
+ "kind": "Field",
1493
+ "name": {
1494
+ "kind": "Name",
1495
+ "value": "updatedAt"
1496
+ },
1497
+ "arguments": [],
1498
+ "directives": []
1499
+ },
1500
+ {
1501
+ "kind": "Field",
1502
+ "name": {
1503
+ "kind": "Name",
1504
+ "value": "progress"
1505
+ },
1506
+ "arguments": [],
1507
+ "directives": [],
1508
+ "selectionSet": {
1509
+ "kind": "SelectionSet",
1510
+ "selections": [
1511
+ {
1512
+ "kind": "Field",
1513
+ "name": {
1514
+ "kind": "Name",
1515
+ "value": "stage"
1516
+ },
1517
+ "arguments": [],
1518
+ "directives": []
1519
+ },
1520
+ {
1521
+ "kind": "Field",
1522
+ "name": {
1523
+ "kind": "Name",
1524
+ "value": "attempt"
1525
+ },
1526
+ "arguments": [],
1527
+ "directives": []
1528
+ },
1529
+ {
1530
+ "kind": "Field",
1531
+ "name": {
1532
+ "kind": "Name",
1533
+ "value": "updatedAt"
1534
+ },
1535
+ "arguments": [],
1536
+ "directives": []
1537
+ }
1538
+ ]
1539
+ }
1540
+ },
1541
+ {
1542
+ "kind": "Field",
1543
+ "name": {
1544
+ "kind": "Name",
1545
+ "value": "validation"
1546
+ },
1547
+ "arguments": [],
1548
+ "directives": [],
1549
+ "selectionSet": {
1550
+ "kind": "SelectionSet",
1551
+ "selections": [
1552
+ {
1553
+ "kind": "Field",
1554
+ "name": {
1555
+ "kind": "Name",
1556
+ "value": "valid"
1557
+ },
1558
+ "arguments": [],
1559
+ "directives": []
1560
+ },
1561
+ {
1562
+ "kind": "Field",
1563
+ "name": {
1564
+ "kind": "Name",
1565
+ "value": "errors"
1566
+ },
1567
+ "arguments": [],
1568
+ "directives": []
1569
+ },
1570
+ {
1571
+ "kind": "Field",
1572
+ "name": {
1573
+ "kind": "Name",
1574
+ "value": "warnings"
1575
+ },
1576
+ "arguments": [],
1577
+ "directives": []
1578
+ }
1579
+ ]
1580
+ }
1581
+ },
1582
+ {
1583
+ "kind": "Field",
1584
+ "name": {
1585
+ "kind": "Name",
1586
+ "value": "diff"
1587
+ },
1588
+ "arguments": [],
1589
+ "directives": [],
1590
+ "selectionSet": {
1591
+ "kind": "SelectionSet",
1592
+ "selections": [
1593
+ {
1594
+ "kind": "Field",
1595
+ "name": {
1596
+ "kind": "Name",
1597
+ "value": "summary"
1598
+ },
1599
+ "arguments": [],
1600
+ "directives": []
1601
+ },
1602
+ {
1603
+ "kind": "Field",
1604
+ "name": {
1605
+ "kind": "Name",
1606
+ "value": "addedNodes"
1607
+ },
1608
+ "arguments": [],
1609
+ "directives": [],
1610
+ "selectionSet": {
1611
+ "kind": "SelectionSet",
1612
+ "selections": [
1613
+ {
1614
+ "kind": "Field",
1615
+ "name": {
1616
+ "kind": "Name",
1617
+ "value": "id"
1618
+ },
1619
+ "arguments": [],
1620
+ "directives": []
1621
+ },
1622
+ {
1623
+ "kind": "Field",
1624
+ "name": {
1625
+ "kind": "Name",
1626
+ "value": "type"
1627
+ },
1628
+ "arguments": [],
1629
+ "directives": []
1630
+ },
1631
+ {
1632
+ "kind": "Field",
1633
+ "name": {
1634
+ "kind": "Name",
1635
+ "value": "label"
1636
+ },
1637
+ "arguments": [],
1638
+ "directives": []
1639
+ },
1640
+ {
1641
+ "kind": "Field",
1642
+ "name": {
1643
+ "kind": "Name",
1644
+ "value": "fields"
1645
+ },
1646
+ "arguments": [],
1647
+ "directives": []
1648
+ }
1649
+ ]
1650
+ }
1651
+ },
1652
+ {
1653
+ "kind": "Field",
1654
+ "name": {
1655
+ "kind": "Name",
1656
+ "value": "removedNodes"
1657
+ },
1658
+ "arguments": [],
1659
+ "directives": [],
1660
+ "selectionSet": {
1661
+ "kind": "SelectionSet",
1662
+ "selections": [
1663
+ {
1664
+ "kind": "Field",
1665
+ "name": {
1666
+ "kind": "Name",
1667
+ "value": "id"
1668
+ },
1669
+ "arguments": [],
1670
+ "directives": []
1671
+ },
1672
+ {
1673
+ "kind": "Field",
1674
+ "name": {
1675
+ "kind": "Name",
1676
+ "value": "type"
1677
+ },
1678
+ "arguments": [],
1679
+ "directives": []
1680
+ },
1681
+ {
1682
+ "kind": "Field",
1683
+ "name": {
1684
+ "kind": "Name",
1685
+ "value": "label"
1686
+ },
1687
+ "arguments": [],
1688
+ "directives": []
1689
+ },
1690
+ {
1691
+ "kind": "Field",
1692
+ "name": {
1693
+ "kind": "Name",
1694
+ "value": "fields"
1695
+ },
1696
+ "arguments": [],
1697
+ "directives": []
1698
+ }
1699
+ ]
1700
+ }
1701
+ },
1702
+ {
1703
+ "kind": "Field",
1704
+ "name": {
1705
+ "kind": "Name",
1706
+ "value": "changedNodes"
1707
+ },
1708
+ "arguments": [],
1709
+ "directives": [],
1710
+ "selectionSet": {
1711
+ "kind": "SelectionSet",
1712
+ "selections": [
1713
+ {
1714
+ "kind": "Field",
1715
+ "name": {
1716
+ "kind": "Name",
1717
+ "value": "id"
1718
+ },
1719
+ "arguments": [],
1720
+ "directives": []
1721
+ },
1722
+ {
1723
+ "kind": "Field",
1724
+ "name": {
1725
+ "kind": "Name",
1726
+ "value": "type"
1727
+ },
1728
+ "arguments": [],
1729
+ "directives": []
1730
+ },
1731
+ {
1732
+ "kind": "Field",
1733
+ "name": {
1734
+ "kind": "Name",
1735
+ "value": "label"
1736
+ },
1737
+ "arguments": [],
1738
+ "directives": []
1739
+ },
1740
+ {
1741
+ "kind": "Field",
1742
+ "name": {
1743
+ "kind": "Name",
1744
+ "value": "fields"
1745
+ },
1746
+ "arguments": [],
1747
+ "directives": []
1748
+ }
1749
+ ]
1750
+ }
1751
+ },
1752
+ {
1753
+ "kind": "Field",
1754
+ "name": {
1755
+ "kind": "Name",
1756
+ "value": "addedEdges"
1757
+ },
1758
+ "arguments": [],
1759
+ "directives": [],
1760
+ "selectionSet": {
1761
+ "kind": "SelectionSet",
1762
+ "selections": [
1763
+ {
1764
+ "kind": "Field",
1765
+ "name": {
1766
+ "kind": "Name",
1767
+ "value": "source"
1768
+ },
1769
+ "arguments": [],
1770
+ "directives": []
1771
+ },
1772
+ {
1773
+ "kind": "Field",
1774
+ "name": {
1775
+ "kind": "Name",
1776
+ "value": "target"
1777
+ },
1778
+ "arguments": [],
1779
+ "directives": []
1780
+ },
1781
+ {
1782
+ "kind": "Field",
1783
+ "name": {
1784
+ "kind": "Name",
1785
+ "value": "sourceHandle"
1786
+ },
1787
+ "arguments": [],
1788
+ "directives": []
1789
+ },
1790
+ {
1791
+ "kind": "Field",
1792
+ "name": {
1793
+ "kind": "Name",
1794
+ "value": "targetHandle"
1795
+ },
1796
+ "arguments": [],
1797
+ "directives": []
1798
+ }
1799
+ ]
1800
+ }
1801
+ },
1802
+ {
1803
+ "kind": "Field",
1804
+ "name": {
1805
+ "kind": "Name",
1806
+ "value": "removedEdges"
1807
+ },
1808
+ "arguments": [],
1809
+ "directives": [],
1810
+ "selectionSet": {
1811
+ "kind": "SelectionSet",
1812
+ "selections": [
1813
+ {
1814
+ "kind": "Field",
1815
+ "name": {
1816
+ "kind": "Name",
1817
+ "value": "source"
1818
+ },
1819
+ "arguments": [],
1820
+ "directives": []
1821
+ },
1822
+ {
1823
+ "kind": "Field",
1824
+ "name": {
1825
+ "kind": "Name",
1826
+ "value": "target"
1827
+ },
1828
+ "arguments": [],
1829
+ "directives": []
1830
+ },
1831
+ {
1832
+ "kind": "Field",
1833
+ "name": {
1834
+ "kind": "Name",
1835
+ "value": "sourceHandle"
1836
+ },
1837
+ "arguments": [],
1838
+ "directives": []
1839
+ },
1840
+ {
1841
+ "kind": "Field",
1842
+ "name": {
1843
+ "kind": "Name",
1844
+ "value": "targetHandle"
1845
+ },
1846
+ "arguments": [],
1847
+ "directives": []
1848
+ }
1849
+ ]
1850
+ }
1851
+ }
1852
+ ]
1853
+ }
1854
+ }
1855
+ ]
1856
+ }
1857
+ }]
1858
+ }
1859
+ }]
1860
+ };
1861
+
1862
+ // src/generated/documents/wspace/ProposeWorkflowChangeDocument.ts
1863
+ const ProposeWorkflowChangeDocument = {
1864
+ "kind": "Document",
1865
+ "definitions": [{
1866
+ "kind": "OperationDefinition",
1867
+ "operation": "mutation",
1868
+ "name": {
1869
+ "kind": "Name",
1870
+ "value": "ProposeWorkflowChange"
1871
+ },
1872
+ "variableDefinitions": [{
1873
+ "kind": "VariableDefinition",
1874
+ "variable": {
1875
+ "kind": "Variable",
1876
+ "name": {
1877
+ "kind": "Name",
1878
+ "value": "input"
1879
+ }
1880
+ },
1881
+ "type": {
1882
+ "kind": "NonNullType",
1883
+ "type": {
1884
+ "kind": "NamedType",
1885
+ "name": {
1886
+ "kind": "Name",
1887
+ "value": "ProposeWorkflowChangeInput"
1888
+ }
1889
+ }
1890
+ },
1891
+ "directives": []
1892
+ }],
1893
+ "directives": [],
1894
+ "selectionSet": {
1895
+ "kind": "SelectionSet",
1896
+ "selections": [{
1897
+ "kind": "Field",
1898
+ "name": {
1899
+ "kind": "Name",
1900
+ "value": "proposeWorkflowChange"
1901
+ },
1902
+ "arguments": [{
1903
+ "kind": "Argument",
1904
+ "name": {
1905
+ "kind": "Name",
1906
+ "value": "input"
1907
+ },
1908
+ "value": {
1909
+ "kind": "Variable",
1910
+ "name": {
1911
+ "kind": "Name",
1912
+ "value": "input"
1913
+ }
1914
+ }
1915
+ }],
1916
+ "directives": [],
1917
+ "selectionSet": {
1918
+ "kind": "SelectionSet",
1919
+ "selections": [
1920
+ {
1921
+ "kind": "Field",
1922
+ "name": {
1923
+ "kind": "Name",
1924
+ "value": "id"
1925
+ },
1926
+ "arguments": [],
1927
+ "directives": []
1928
+ },
1929
+ {
1930
+ "kind": "Field",
1931
+ "name": {
1932
+ "kind": "Name",
1933
+ "value": "kind"
1934
+ },
1935
+ "arguments": [],
1936
+ "directives": []
1937
+ },
1938
+ {
1939
+ "kind": "Field",
1940
+ "name": {
1941
+ "kind": "Name",
1942
+ "value": "status"
1943
+ },
1944
+ "arguments": [],
1945
+ "directives": []
1946
+ },
1947
+ {
1948
+ "kind": "Field",
1949
+ "name": {
1950
+ "kind": "Name",
1951
+ "value": "prompt"
1952
+ },
1953
+ "arguments": [],
1954
+ "directives": []
1955
+ },
1956
+ {
1957
+ "kind": "Field",
1958
+ "name": {
1959
+ "kind": "Name",
1960
+ "value": "message"
1961
+ },
1962
+ "arguments": [],
1963
+ "directives": []
1964
+ },
1965
+ {
1966
+ "kind": "Field",
1967
+ "name": {
1968
+ "kind": "Name",
1969
+ "value": "workflowId"
1970
+ },
1971
+ "arguments": [],
1972
+ "directives": []
1973
+ },
1974
+ {
1975
+ "kind": "Field",
1976
+ "name": {
1977
+ "kind": "Name",
1978
+ "value": "workflowKey"
1979
+ },
1980
+ "arguments": [],
1981
+ "directives": []
1982
+ },
1983
+ {
1984
+ "kind": "Field",
1985
+ "name": {
1986
+ "kind": "Name",
1987
+ "value": "baseVersion"
1988
+ },
1989
+ "arguments": [],
1990
+ "directives": []
1991
+ },
1992
+ {
1993
+ "kind": "Field",
1994
+ "name": {
1995
+ "kind": "Name",
1996
+ "value": "runId"
1997
+ },
1998
+ "arguments": [],
1999
+ "directives": []
2000
+ },
2001
+ {
2002
+ "kind": "Field",
2003
+ "name": {
2004
+ "kind": "Name",
2005
+ "value": "afterNodeId"
2006
+ },
2007
+ "arguments": [],
2008
+ "directives": []
2009
+ },
2010
+ {
2011
+ "kind": "Field",
2012
+ "name": {
2013
+ "kind": "Name",
2014
+ "value": "name"
2015
+ },
2016
+ "arguments": [],
2017
+ "directives": []
2018
+ },
2019
+ {
2020
+ "kind": "Field",
2021
+ "name": {
2022
+ "kind": "Name",
2023
+ "value": "description"
2024
+ },
2025
+ "arguments": [],
2026
+ "directives": []
2027
+ },
2028
+ {
2029
+ "kind": "Field",
2030
+ "name": {
2031
+ "kind": "Name",
2032
+ "value": "explanation"
2033
+ },
2034
+ "arguments": [],
2035
+ "directives": []
2036
+ },
2037
+ {
2038
+ "kind": "Field",
2039
+ "name": {
2040
+ "kind": "Name",
2041
+ "value": "definitionJson"
2042
+ },
2043
+ "arguments": [],
2044
+ "directives": []
2045
+ },
2046
+ {
2047
+ "kind": "Field",
2048
+ "name": {
2049
+ "kind": "Name",
2050
+ "value": "modelUsed"
2051
+ },
2052
+ "arguments": [],
2053
+ "directives": []
2054
+ },
2055
+ {
2056
+ "kind": "Field",
2057
+ "name": {
2058
+ "kind": "Name",
2059
+ "value": "attempts"
2060
+ },
2061
+ "arguments": [],
2062
+ "directives": []
2063
+ },
2064
+ {
2065
+ "kind": "Field",
2066
+ "name": {
2067
+ "kind": "Name",
2068
+ "value": "appliedWorkflowId"
2069
+ },
2070
+ "arguments": [],
2071
+ "directives": []
2072
+ },
2073
+ {
2074
+ "kind": "Field",
2075
+ "name": {
2076
+ "kind": "Name",
2077
+ "value": "appliedWorkflowKey"
2078
+ },
2079
+ "arguments": [],
2080
+ "directives": []
2081
+ },
2082
+ {
2083
+ "kind": "Field",
2084
+ "name": {
2085
+ "kind": "Name",
2086
+ "value": "appliedVersion"
2087
+ },
2088
+ "arguments": [],
2089
+ "directives": []
2090
+ },
2091
+ {
2092
+ "kind": "Field",
2093
+ "name": {
2094
+ "kind": "Name",
2095
+ "value": "restoreHint"
2096
+ },
2097
+ "arguments": [],
2098
+ "directives": []
2099
+ },
2100
+ {
2101
+ "kind": "Field",
2102
+ "name": {
2103
+ "kind": "Name",
2104
+ "value": "createdAt"
2105
+ },
2106
+ "arguments": [],
2107
+ "directives": []
2108
+ },
2109
+ {
2110
+ "kind": "Field",
2111
+ "name": {
2112
+ "kind": "Name",
2113
+ "value": "updatedAt"
2114
+ },
2115
+ "arguments": [],
2116
+ "directives": []
2117
+ },
2118
+ {
2119
+ "kind": "Field",
2120
+ "name": {
2121
+ "kind": "Name",
2122
+ "value": "progress"
2123
+ },
2124
+ "arguments": [],
2125
+ "directives": [],
2126
+ "selectionSet": {
2127
+ "kind": "SelectionSet",
2128
+ "selections": [
2129
+ {
2130
+ "kind": "Field",
2131
+ "name": {
2132
+ "kind": "Name",
2133
+ "value": "stage"
2134
+ },
2135
+ "arguments": [],
2136
+ "directives": []
2137
+ },
2138
+ {
2139
+ "kind": "Field",
2140
+ "name": {
2141
+ "kind": "Name",
2142
+ "value": "attempt"
2143
+ },
2144
+ "arguments": [],
2145
+ "directives": []
2146
+ },
2147
+ {
2148
+ "kind": "Field",
2149
+ "name": {
2150
+ "kind": "Name",
2151
+ "value": "updatedAt"
2152
+ },
2153
+ "arguments": [],
2154
+ "directives": []
2155
+ }
2156
+ ]
2157
+ }
2158
+ },
2159
+ {
2160
+ "kind": "Field",
2161
+ "name": {
2162
+ "kind": "Name",
2163
+ "value": "validation"
2164
+ },
2165
+ "arguments": [],
2166
+ "directives": [],
2167
+ "selectionSet": {
2168
+ "kind": "SelectionSet",
2169
+ "selections": [
2170
+ {
2171
+ "kind": "Field",
2172
+ "name": {
2173
+ "kind": "Name",
2174
+ "value": "valid"
2175
+ },
2176
+ "arguments": [],
2177
+ "directives": []
2178
+ },
2179
+ {
2180
+ "kind": "Field",
2181
+ "name": {
2182
+ "kind": "Name",
2183
+ "value": "errors"
2184
+ },
2185
+ "arguments": [],
2186
+ "directives": []
2187
+ },
2188
+ {
2189
+ "kind": "Field",
2190
+ "name": {
2191
+ "kind": "Name",
2192
+ "value": "warnings"
2193
+ },
2194
+ "arguments": [],
2195
+ "directives": []
2196
+ }
2197
+ ]
2198
+ }
2199
+ },
2200
+ {
2201
+ "kind": "Field",
2202
+ "name": {
2203
+ "kind": "Name",
2204
+ "value": "diff"
2205
+ },
2206
+ "arguments": [],
2207
+ "directives": [],
2208
+ "selectionSet": {
2209
+ "kind": "SelectionSet",
2210
+ "selections": [
2211
+ {
2212
+ "kind": "Field",
2213
+ "name": {
2214
+ "kind": "Name",
2215
+ "value": "summary"
2216
+ },
2217
+ "arguments": [],
2218
+ "directives": []
2219
+ },
2220
+ {
2221
+ "kind": "Field",
2222
+ "name": {
2223
+ "kind": "Name",
2224
+ "value": "addedNodes"
2225
+ },
2226
+ "arguments": [],
2227
+ "directives": [],
2228
+ "selectionSet": {
2229
+ "kind": "SelectionSet",
2230
+ "selections": [
2231
+ {
2232
+ "kind": "Field",
2233
+ "name": {
2234
+ "kind": "Name",
2235
+ "value": "id"
2236
+ },
2237
+ "arguments": [],
2238
+ "directives": []
2239
+ },
2240
+ {
2241
+ "kind": "Field",
2242
+ "name": {
2243
+ "kind": "Name",
2244
+ "value": "type"
2245
+ },
2246
+ "arguments": [],
2247
+ "directives": []
2248
+ },
2249
+ {
2250
+ "kind": "Field",
2251
+ "name": {
2252
+ "kind": "Name",
2253
+ "value": "label"
2254
+ },
2255
+ "arguments": [],
2256
+ "directives": []
2257
+ },
2258
+ {
2259
+ "kind": "Field",
2260
+ "name": {
2261
+ "kind": "Name",
2262
+ "value": "fields"
2263
+ },
2264
+ "arguments": [],
2265
+ "directives": []
2266
+ }
2267
+ ]
2268
+ }
2269
+ },
2270
+ {
2271
+ "kind": "Field",
2272
+ "name": {
2273
+ "kind": "Name",
2274
+ "value": "removedNodes"
2275
+ },
2276
+ "arguments": [],
2277
+ "directives": [],
2278
+ "selectionSet": {
2279
+ "kind": "SelectionSet",
2280
+ "selections": [
2281
+ {
2282
+ "kind": "Field",
2283
+ "name": {
2284
+ "kind": "Name",
2285
+ "value": "id"
2286
+ },
2287
+ "arguments": [],
2288
+ "directives": []
2289
+ },
2290
+ {
2291
+ "kind": "Field",
2292
+ "name": {
2293
+ "kind": "Name",
2294
+ "value": "type"
2295
+ },
2296
+ "arguments": [],
2297
+ "directives": []
2298
+ },
2299
+ {
2300
+ "kind": "Field",
2301
+ "name": {
2302
+ "kind": "Name",
2303
+ "value": "label"
2304
+ },
2305
+ "arguments": [],
2306
+ "directives": []
2307
+ },
2308
+ {
2309
+ "kind": "Field",
2310
+ "name": {
2311
+ "kind": "Name",
2312
+ "value": "fields"
2313
+ },
2314
+ "arguments": [],
2315
+ "directives": []
2316
+ }
2317
+ ]
2318
+ }
2319
+ },
2320
+ {
2321
+ "kind": "Field",
2322
+ "name": {
2323
+ "kind": "Name",
2324
+ "value": "changedNodes"
2325
+ },
2326
+ "arguments": [],
2327
+ "directives": [],
2328
+ "selectionSet": {
2329
+ "kind": "SelectionSet",
2330
+ "selections": [
2331
+ {
2332
+ "kind": "Field",
2333
+ "name": {
2334
+ "kind": "Name",
2335
+ "value": "id"
2336
+ },
2337
+ "arguments": [],
2338
+ "directives": []
2339
+ },
2340
+ {
2341
+ "kind": "Field",
2342
+ "name": {
2343
+ "kind": "Name",
2344
+ "value": "type"
2345
+ },
2346
+ "arguments": [],
2347
+ "directives": []
2348
+ },
2349
+ {
2350
+ "kind": "Field",
2351
+ "name": {
2352
+ "kind": "Name",
2353
+ "value": "label"
2354
+ },
2355
+ "arguments": [],
2356
+ "directives": []
2357
+ },
2358
+ {
2359
+ "kind": "Field",
2360
+ "name": {
2361
+ "kind": "Name",
2362
+ "value": "fields"
2363
+ },
2364
+ "arguments": [],
2365
+ "directives": []
2366
+ }
2367
+ ]
2368
+ }
2369
+ },
2370
+ {
2371
+ "kind": "Field",
2372
+ "name": {
2373
+ "kind": "Name",
2374
+ "value": "addedEdges"
2375
+ },
2376
+ "arguments": [],
2377
+ "directives": [],
2378
+ "selectionSet": {
2379
+ "kind": "SelectionSet",
2380
+ "selections": [
2381
+ {
2382
+ "kind": "Field",
2383
+ "name": {
2384
+ "kind": "Name",
2385
+ "value": "source"
2386
+ },
2387
+ "arguments": [],
2388
+ "directives": []
2389
+ },
2390
+ {
2391
+ "kind": "Field",
2392
+ "name": {
2393
+ "kind": "Name",
2394
+ "value": "target"
2395
+ },
2396
+ "arguments": [],
2397
+ "directives": []
2398
+ },
2399
+ {
2400
+ "kind": "Field",
2401
+ "name": {
2402
+ "kind": "Name",
2403
+ "value": "sourceHandle"
2404
+ },
2405
+ "arguments": [],
2406
+ "directives": []
2407
+ },
2408
+ {
2409
+ "kind": "Field",
2410
+ "name": {
2411
+ "kind": "Name",
2412
+ "value": "targetHandle"
2413
+ },
2414
+ "arguments": [],
2415
+ "directives": []
2416
+ }
2417
+ ]
2418
+ }
2419
+ },
2420
+ {
2421
+ "kind": "Field",
2422
+ "name": {
2423
+ "kind": "Name",
2424
+ "value": "removedEdges"
2425
+ },
2426
+ "arguments": [],
2427
+ "directives": [],
2428
+ "selectionSet": {
2429
+ "kind": "SelectionSet",
2430
+ "selections": [
2431
+ {
2432
+ "kind": "Field",
2433
+ "name": {
2434
+ "kind": "Name",
2435
+ "value": "source"
2436
+ },
2437
+ "arguments": [],
2438
+ "directives": []
2439
+ },
2440
+ {
2441
+ "kind": "Field",
2442
+ "name": {
2443
+ "kind": "Name",
2444
+ "value": "target"
2445
+ },
2446
+ "arguments": [],
2447
+ "directives": []
2448
+ },
2449
+ {
2450
+ "kind": "Field",
2451
+ "name": {
2452
+ "kind": "Name",
2453
+ "value": "sourceHandle"
2454
+ },
2455
+ "arguments": [],
2456
+ "directives": []
2457
+ },
2458
+ {
2459
+ "kind": "Field",
2460
+ "name": {
2461
+ "kind": "Name",
2462
+ "value": "targetHandle"
2463
+ },
2464
+ "arguments": [],
2465
+ "directives": []
2466
+ }
2467
+ ]
2468
+ }
2469
+ }
2470
+ ]
2471
+ }
2472
+ }
2473
+ ]
2474
+ }
2475
+ }]
2476
+ }
2477
+ }]
2478
+ };
2479
+
2480
+ // src/generated/documents/wspace/RejectWorkflowProposalDocument.ts
2481
+ const RejectWorkflowProposalDocument = {
2482
+ "kind": "Document",
2483
+ "definitions": [{
2484
+ "kind": "OperationDefinition",
2485
+ "operation": "mutation",
2486
+ "name": {
2487
+ "kind": "Name",
2488
+ "value": "RejectWorkflowProposal"
2489
+ },
2490
+ "variableDefinitions": [{
2491
+ "kind": "VariableDefinition",
2492
+ "variable": {
2493
+ "kind": "Variable",
2494
+ "name": {
2495
+ "kind": "Name",
2496
+ "value": "id"
2497
+ }
2498
+ },
2499
+ "type": {
2500
+ "kind": "NonNullType",
2501
+ "type": {
2502
+ "kind": "NamedType",
2503
+ "name": {
2504
+ "kind": "Name",
2505
+ "value": "ID"
2506
+ }
2507
+ }
2508
+ },
2509
+ "directives": []
2510
+ }],
2511
+ "directives": [],
2512
+ "selectionSet": {
2513
+ "kind": "SelectionSet",
2514
+ "selections": [{
2515
+ "kind": "Field",
2516
+ "name": {
2517
+ "kind": "Name",
2518
+ "value": "rejectWorkflowProposal"
2519
+ },
2520
+ "arguments": [{
2521
+ "kind": "Argument",
2522
+ "name": {
2523
+ "kind": "Name",
2524
+ "value": "id"
2525
+ },
2526
+ "value": {
2527
+ "kind": "Variable",
2528
+ "name": {
2529
+ "kind": "Name",
2530
+ "value": "id"
2531
+ }
2532
+ }
2533
+ }],
2534
+ "directives": [],
2535
+ "selectionSet": {
2536
+ "kind": "SelectionSet",
2537
+ "selections": [
2538
+ {
2539
+ "kind": "Field",
2540
+ "name": {
2541
+ "kind": "Name",
2542
+ "value": "id"
2543
+ },
2544
+ "arguments": [],
2545
+ "directives": []
2546
+ },
2547
+ {
2548
+ "kind": "Field",
2549
+ "name": {
2550
+ "kind": "Name",
2551
+ "value": "kind"
2552
+ },
2553
+ "arguments": [],
2554
+ "directives": []
2555
+ },
2556
+ {
2557
+ "kind": "Field",
2558
+ "name": {
2559
+ "kind": "Name",
2560
+ "value": "status"
2561
+ },
2562
+ "arguments": [],
2563
+ "directives": []
2564
+ },
2565
+ {
2566
+ "kind": "Field",
2567
+ "name": {
2568
+ "kind": "Name",
2569
+ "value": "prompt"
2570
+ },
2571
+ "arguments": [],
2572
+ "directives": []
2573
+ },
2574
+ {
2575
+ "kind": "Field",
2576
+ "name": {
2577
+ "kind": "Name",
2578
+ "value": "message"
2579
+ },
2580
+ "arguments": [],
2581
+ "directives": []
2582
+ },
2583
+ {
2584
+ "kind": "Field",
2585
+ "name": {
2586
+ "kind": "Name",
2587
+ "value": "workflowId"
2588
+ },
2589
+ "arguments": [],
2590
+ "directives": []
2591
+ },
2592
+ {
2593
+ "kind": "Field",
2594
+ "name": {
2595
+ "kind": "Name",
2596
+ "value": "workflowKey"
2597
+ },
2598
+ "arguments": [],
2599
+ "directives": []
2600
+ },
2601
+ {
2602
+ "kind": "Field",
2603
+ "name": {
2604
+ "kind": "Name",
2605
+ "value": "baseVersion"
2606
+ },
2607
+ "arguments": [],
2608
+ "directives": []
2609
+ },
2610
+ {
2611
+ "kind": "Field",
2612
+ "name": {
2613
+ "kind": "Name",
2614
+ "value": "runId"
2615
+ },
2616
+ "arguments": [],
2617
+ "directives": []
2618
+ },
2619
+ {
2620
+ "kind": "Field",
2621
+ "name": {
2622
+ "kind": "Name",
2623
+ "value": "afterNodeId"
2624
+ },
2625
+ "arguments": [],
2626
+ "directives": []
2627
+ },
2628
+ {
2629
+ "kind": "Field",
2630
+ "name": {
2631
+ "kind": "Name",
2632
+ "value": "name"
2633
+ },
2634
+ "arguments": [],
2635
+ "directives": []
2636
+ },
2637
+ {
2638
+ "kind": "Field",
2639
+ "name": {
2640
+ "kind": "Name",
2641
+ "value": "description"
2642
+ },
2643
+ "arguments": [],
2644
+ "directives": []
2645
+ },
2646
+ {
2647
+ "kind": "Field",
2648
+ "name": {
2649
+ "kind": "Name",
2650
+ "value": "explanation"
2651
+ },
2652
+ "arguments": [],
2653
+ "directives": []
2654
+ },
2655
+ {
2656
+ "kind": "Field",
2657
+ "name": {
2658
+ "kind": "Name",
2659
+ "value": "definitionJson"
2660
+ },
2661
+ "arguments": [],
2662
+ "directives": []
2663
+ },
2664
+ {
2665
+ "kind": "Field",
2666
+ "name": {
2667
+ "kind": "Name",
2668
+ "value": "modelUsed"
2669
+ },
2670
+ "arguments": [],
2671
+ "directives": []
2672
+ },
2673
+ {
2674
+ "kind": "Field",
2675
+ "name": {
2676
+ "kind": "Name",
2677
+ "value": "attempts"
2678
+ },
2679
+ "arguments": [],
2680
+ "directives": []
2681
+ },
2682
+ {
2683
+ "kind": "Field",
2684
+ "name": {
2685
+ "kind": "Name",
2686
+ "value": "appliedWorkflowId"
2687
+ },
2688
+ "arguments": [],
2689
+ "directives": []
2690
+ },
2691
+ {
2692
+ "kind": "Field",
2693
+ "name": {
2694
+ "kind": "Name",
2695
+ "value": "appliedWorkflowKey"
2696
+ },
2697
+ "arguments": [],
2698
+ "directives": []
2699
+ },
2700
+ {
2701
+ "kind": "Field",
2702
+ "name": {
2703
+ "kind": "Name",
2704
+ "value": "appliedVersion"
2705
+ },
2706
+ "arguments": [],
2707
+ "directives": []
2708
+ },
2709
+ {
2710
+ "kind": "Field",
2711
+ "name": {
2712
+ "kind": "Name",
2713
+ "value": "restoreHint"
2714
+ },
2715
+ "arguments": [],
2716
+ "directives": []
2717
+ },
2718
+ {
2719
+ "kind": "Field",
2720
+ "name": {
2721
+ "kind": "Name",
2722
+ "value": "createdAt"
2723
+ },
2724
+ "arguments": [],
2725
+ "directives": []
2726
+ },
2727
+ {
2728
+ "kind": "Field",
2729
+ "name": {
2730
+ "kind": "Name",
2731
+ "value": "updatedAt"
2732
+ },
2733
+ "arguments": [],
2734
+ "directives": []
2735
+ },
2736
+ {
2737
+ "kind": "Field",
2738
+ "name": {
2739
+ "kind": "Name",
2740
+ "value": "progress"
2741
+ },
2742
+ "arguments": [],
2743
+ "directives": [],
2744
+ "selectionSet": {
2745
+ "kind": "SelectionSet",
2746
+ "selections": [
2747
+ {
2748
+ "kind": "Field",
2749
+ "name": {
2750
+ "kind": "Name",
2751
+ "value": "stage"
2752
+ },
2753
+ "arguments": [],
2754
+ "directives": []
2755
+ },
2756
+ {
2757
+ "kind": "Field",
2758
+ "name": {
2759
+ "kind": "Name",
2760
+ "value": "attempt"
2761
+ },
2762
+ "arguments": [],
2763
+ "directives": []
2764
+ },
2765
+ {
2766
+ "kind": "Field",
2767
+ "name": {
2768
+ "kind": "Name",
2769
+ "value": "updatedAt"
2770
+ },
2771
+ "arguments": [],
2772
+ "directives": []
2773
+ }
2774
+ ]
2775
+ }
2776
+ },
2777
+ {
2778
+ "kind": "Field",
2779
+ "name": {
2780
+ "kind": "Name",
2781
+ "value": "validation"
2782
+ },
2783
+ "arguments": [],
2784
+ "directives": [],
2785
+ "selectionSet": {
2786
+ "kind": "SelectionSet",
2787
+ "selections": [
2788
+ {
2789
+ "kind": "Field",
2790
+ "name": {
2791
+ "kind": "Name",
2792
+ "value": "valid"
2793
+ },
2794
+ "arguments": [],
2795
+ "directives": []
2796
+ },
2797
+ {
2798
+ "kind": "Field",
2799
+ "name": {
2800
+ "kind": "Name",
2801
+ "value": "errors"
2802
+ },
2803
+ "arguments": [],
2804
+ "directives": []
2805
+ },
2806
+ {
2807
+ "kind": "Field",
2808
+ "name": {
2809
+ "kind": "Name",
2810
+ "value": "warnings"
2811
+ },
2812
+ "arguments": [],
2813
+ "directives": []
2814
+ }
2815
+ ]
2816
+ }
2817
+ },
2818
+ {
2819
+ "kind": "Field",
2820
+ "name": {
2821
+ "kind": "Name",
2822
+ "value": "diff"
2823
+ },
2824
+ "arguments": [],
2825
+ "directives": [],
2826
+ "selectionSet": {
2827
+ "kind": "SelectionSet",
2828
+ "selections": [
2829
+ {
2830
+ "kind": "Field",
2831
+ "name": {
2832
+ "kind": "Name",
2833
+ "value": "summary"
2834
+ },
2835
+ "arguments": [],
2836
+ "directives": []
2837
+ },
2838
+ {
2839
+ "kind": "Field",
2840
+ "name": {
2841
+ "kind": "Name",
2842
+ "value": "addedNodes"
2843
+ },
2844
+ "arguments": [],
2845
+ "directives": [],
2846
+ "selectionSet": {
2847
+ "kind": "SelectionSet",
2848
+ "selections": [
2849
+ {
2850
+ "kind": "Field",
2851
+ "name": {
2852
+ "kind": "Name",
2853
+ "value": "id"
2854
+ },
2855
+ "arguments": [],
2856
+ "directives": []
2857
+ },
2858
+ {
2859
+ "kind": "Field",
2860
+ "name": {
2861
+ "kind": "Name",
2862
+ "value": "type"
2863
+ },
2864
+ "arguments": [],
2865
+ "directives": []
2866
+ },
2867
+ {
2868
+ "kind": "Field",
2869
+ "name": {
2870
+ "kind": "Name",
2871
+ "value": "label"
2872
+ },
2873
+ "arguments": [],
2874
+ "directives": []
2875
+ },
2876
+ {
2877
+ "kind": "Field",
2878
+ "name": {
2879
+ "kind": "Name",
2880
+ "value": "fields"
2881
+ },
2882
+ "arguments": [],
2883
+ "directives": []
2884
+ }
2885
+ ]
2886
+ }
2887
+ },
2888
+ {
2889
+ "kind": "Field",
2890
+ "name": {
2891
+ "kind": "Name",
2892
+ "value": "removedNodes"
2893
+ },
2894
+ "arguments": [],
2895
+ "directives": [],
2896
+ "selectionSet": {
2897
+ "kind": "SelectionSet",
2898
+ "selections": [
2899
+ {
2900
+ "kind": "Field",
2901
+ "name": {
2902
+ "kind": "Name",
2903
+ "value": "id"
2904
+ },
2905
+ "arguments": [],
2906
+ "directives": []
2907
+ },
2908
+ {
2909
+ "kind": "Field",
2910
+ "name": {
2911
+ "kind": "Name",
2912
+ "value": "type"
2913
+ },
2914
+ "arguments": [],
2915
+ "directives": []
2916
+ },
2917
+ {
2918
+ "kind": "Field",
2919
+ "name": {
2920
+ "kind": "Name",
2921
+ "value": "label"
2922
+ },
2923
+ "arguments": [],
2924
+ "directives": []
2925
+ },
2926
+ {
2927
+ "kind": "Field",
2928
+ "name": {
2929
+ "kind": "Name",
2930
+ "value": "fields"
2931
+ },
2932
+ "arguments": [],
2933
+ "directives": []
2934
+ }
2935
+ ]
2936
+ }
2937
+ },
2938
+ {
2939
+ "kind": "Field",
2940
+ "name": {
2941
+ "kind": "Name",
2942
+ "value": "changedNodes"
2943
+ },
2944
+ "arguments": [],
2945
+ "directives": [],
2946
+ "selectionSet": {
2947
+ "kind": "SelectionSet",
2948
+ "selections": [
2949
+ {
2950
+ "kind": "Field",
2951
+ "name": {
2952
+ "kind": "Name",
2953
+ "value": "id"
2954
+ },
2955
+ "arguments": [],
2956
+ "directives": []
2957
+ },
2958
+ {
2959
+ "kind": "Field",
2960
+ "name": {
2961
+ "kind": "Name",
2962
+ "value": "type"
2963
+ },
2964
+ "arguments": [],
2965
+ "directives": []
2966
+ },
2967
+ {
2968
+ "kind": "Field",
2969
+ "name": {
2970
+ "kind": "Name",
2971
+ "value": "label"
2972
+ },
2973
+ "arguments": [],
2974
+ "directives": []
2975
+ },
2976
+ {
2977
+ "kind": "Field",
2978
+ "name": {
2979
+ "kind": "Name",
2980
+ "value": "fields"
2981
+ },
2982
+ "arguments": [],
2983
+ "directives": []
2984
+ }
2985
+ ]
2986
+ }
2987
+ },
2988
+ {
2989
+ "kind": "Field",
2990
+ "name": {
2991
+ "kind": "Name",
2992
+ "value": "addedEdges"
2993
+ },
2994
+ "arguments": [],
2995
+ "directives": [],
2996
+ "selectionSet": {
2997
+ "kind": "SelectionSet",
2998
+ "selections": [
2999
+ {
3000
+ "kind": "Field",
3001
+ "name": {
3002
+ "kind": "Name",
3003
+ "value": "source"
3004
+ },
3005
+ "arguments": [],
3006
+ "directives": []
3007
+ },
3008
+ {
3009
+ "kind": "Field",
3010
+ "name": {
3011
+ "kind": "Name",
3012
+ "value": "target"
3013
+ },
3014
+ "arguments": [],
3015
+ "directives": []
3016
+ },
3017
+ {
3018
+ "kind": "Field",
3019
+ "name": {
3020
+ "kind": "Name",
3021
+ "value": "sourceHandle"
3022
+ },
3023
+ "arguments": [],
3024
+ "directives": []
3025
+ },
3026
+ {
3027
+ "kind": "Field",
3028
+ "name": {
3029
+ "kind": "Name",
3030
+ "value": "targetHandle"
3031
+ },
3032
+ "arguments": [],
3033
+ "directives": []
3034
+ }
3035
+ ]
3036
+ }
3037
+ },
3038
+ {
3039
+ "kind": "Field",
3040
+ "name": {
3041
+ "kind": "Name",
3042
+ "value": "removedEdges"
3043
+ },
3044
+ "arguments": [],
3045
+ "directives": [],
3046
+ "selectionSet": {
3047
+ "kind": "SelectionSet",
3048
+ "selections": [
3049
+ {
3050
+ "kind": "Field",
3051
+ "name": {
3052
+ "kind": "Name",
3053
+ "value": "source"
3054
+ },
3055
+ "arguments": [],
3056
+ "directives": []
3057
+ },
3058
+ {
3059
+ "kind": "Field",
3060
+ "name": {
3061
+ "kind": "Name",
3062
+ "value": "target"
3063
+ },
3064
+ "arguments": [],
3065
+ "directives": []
3066
+ },
3067
+ {
3068
+ "kind": "Field",
3069
+ "name": {
3070
+ "kind": "Name",
3071
+ "value": "sourceHandle"
3072
+ },
3073
+ "arguments": [],
3074
+ "directives": []
3075
+ },
3076
+ {
3077
+ "kind": "Field",
3078
+ "name": {
3079
+ "kind": "Name",
3080
+ "value": "targetHandle"
3081
+ },
3082
+ "arguments": [],
3083
+ "directives": []
3084
+ }
3085
+ ]
3086
+ }
3087
+ }
3088
+ ]
3089
+ }
3090
+ }
3091
+ ]
3092
+ }
3093
+ }]
3094
+ }
3095
+ }]
3096
+ };
3097
+
3098
+ // src/hooks/useWorkflowProposal.ts
3099
+ /**
3100
+ * useWorkflowProposal — drives one AI workflow proposal (BOFF-3662): start it
3101
+ * (author, run fix or next node), poll `workflowProposal(id)` while it is
3102
+ * PROCESSING, then apply, reject or cancel it.
3103
+ *
3104
+ * A proposal never changes a workflow by itself. Applying it creates a new
3105
+ * DRAFT version (or a new DRAFT workflow); the server marks it STALE when the
3106
+ * workflow changed after the proposal was made.
3107
+ */
3108
+ /** How often a PROCESSING proposal is polled. */
3109
+ const PROPOSAL_POLL_INTERVAL_MS = 3e3;
3110
+ /** Stop polling after this long; the server closes a stuck proposal after 20 minutes. */
3111
+ const PROPOSAL_MAX_WAIT_MS = 36e4;
3112
+ function messageOf(error) {
3113
+ return error instanceof Error ? error.message : String(error);
3114
+ }
3115
+ /** Whether a proposal status means the model is still working. */
3116
+ function isProposalRunning(status) {
3117
+ return status === "PROCESSING";
3118
+ }
3119
+ function useWorkflowProposal(options = {}) {
3120
+ const clientRef = useRef(options.client ?? null);
3121
+ useEffect(() => {
3122
+ clientRef.current = options.client ?? null;
3123
+ }, [options.client]);
3124
+ const getClient = useCallback(() => clientRef.current ?? getFluidGridsClient(), []);
3125
+ const [proposal, setProposal] = useState(null);
3126
+ const [isWorking, setIsWorking] = useState(false);
3127
+ const [isDeciding, setIsDeciding] = useState(false);
3128
+ const [error, setError] = useState(null);
3129
+ const [timedOut, setTimedOut] = useState(false);
3130
+ const runRef = useRef(0);
3131
+ const timerRef = useRef(null);
3132
+ const clearTimer = useCallback(() => {
3133
+ if (timerRef.current) clearTimeout(timerRef.current);
3134
+ timerRef.current = null;
3135
+ }, []);
3136
+ useEffect(() => () => {
3137
+ runRef.current++;
3138
+ clearTimer();
3139
+ }, [clearTimer]);
3140
+ const reset = useCallback(() => {
3141
+ runRef.current++;
3142
+ clearTimer();
3143
+ setProposal(null);
3144
+ setIsWorking(false);
3145
+ setIsDeciding(false);
3146
+ setError(null);
3147
+ setTimedOut(false);
3148
+ }, [clearTimer]);
3149
+ const poll = useCallback(async (run, id, startedAt) => {
3150
+ if (run !== runRef.current) return;
3151
+ try {
3152
+ const result = throwIfResultError(await getClient().query({
3153
+ query: WorkflowProposalDocument,
3154
+ variables: { id },
3155
+ fetchPolicy: "network-only"
3156
+ }));
3157
+ if (run !== runRef.current) return;
3158
+ const next = result.data?.workflowProposal ?? null;
3159
+ if (next) setProposal(next);
3160
+ if (isProposalRunning(next ? String(next.status) : void 0)) {
3161
+ if (Date.now() - startedAt < 36e4) {
3162
+ timerRef.current = setTimeout(() => void poll(run, id, startedAt), PROPOSAL_POLL_INTERVAL_MS);
3163
+ return;
3164
+ }
3165
+ setTimedOut(true);
3166
+ } else notifyFluidGridsAiCreditsUpdated();
3167
+ setIsWorking(false);
3168
+ } catch (pollError) {
3169
+ if (run !== runRef.current) return;
3170
+ setError(messageOf(pollError));
3171
+ setIsWorking(false);
3172
+ }
3173
+ }, [getClient]);
3174
+ const start = useCallback(async (input) => {
3175
+ const run = ++runRef.current;
3176
+ clearTimer();
3177
+ setProposal(null);
3178
+ setError(null);
3179
+ setTimedOut(false);
3180
+ setIsWorking(true);
3181
+ try {
3182
+ const client = getClient();
3183
+ let started;
3184
+ if (input.kind === "runFix") started = throwIfResultError(await client.mutate({
3185
+ mutation: ProposeRunFixDocument,
3186
+ variables: { input: {
3187
+ runId: input.runId,
3188
+ ...input.prompt ? { prompt: input.prompt } : {}
3189
+ } }
3190
+ })).data?.proposeRunFix;
3191
+ else started = throwIfResultError(await client.mutate({
3192
+ mutation: ProposeWorkflowChangeDocument,
3193
+ variables: { input: {
3194
+ prompt: input.prompt,
3195
+ ...input.workflowKey ? { workflowKey: input.workflowKey } : {},
3196
+ ...input.baseVersion ? { baseVersion: input.baseVersion } : {},
3197
+ ...input.template ? { template: input.template } : {}
3198
+ } }
3199
+ })).data?.proposeWorkflowChange;
3200
+ if (!started?.id) throw new Error("The proposal did not start");
3201
+ if (run !== runRef.current) return;
3202
+ setProposal(started);
3203
+ const id = started.id;
3204
+ timerRef.current = setTimeout(() => void poll(run, id, Date.now()), PROPOSAL_POLL_INTERVAL_MS);
3205
+ } catch (startError) {
3206
+ if (run !== runRef.current) return;
3207
+ setError(messageOf(startError));
3208
+ setIsWorking(false);
3209
+ }
3210
+ }, [
3211
+ clearTimer,
3212
+ getClient,
3213
+ poll
3214
+ ]);
3215
+ const open = useCallback(async (id) => {
3216
+ const run = ++runRef.current;
3217
+ clearTimer();
3218
+ setError(null);
3219
+ setTimedOut(false);
3220
+ setIsWorking(true);
3221
+ await poll(run, id, Date.now());
3222
+ }, [clearTimer, poll]);
3223
+ const decide = useCallback(async (action) => {
3224
+ const id = proposal?.id;
3225
+ if (!id) return null;
3226
+ const run = runRef.current;
3227
+ setIsDeciding(true);
3228
+ setError(null);
3229
+ try {
3230
+ const client = getClient();
3231
+ let next;
3232
+ if (action === "apply") next = throwIfResultError(await client.mutate({
3233
+ mutation: ApplyWorkflowProposalDocument,
3234
+ variables: { id }
3235
+ })).data?.applyWorkflowProposal;
3236
+ else if (action === "reject") next = throwIfResultError(await client.mutate({
3237
+ mutation: RejectWorkflowProposalDocument,
3238
+ variables: { id }
3239
+ })).data?.rejectWorkflowProposal;
3240
+ else {
3241
+ clearTimer();
3242
+ next = throwIfResultError(await client.mutate({
3243
+ mutation: CancelWorkflowProposalDocument,
3244
+ variables: { id }
3245
+ })).data?.cancelWorkflowProposal;
3246
+ setIsWorking(false);
3247
+ }
3248
+ if (run === runRef.current && next) setProposal(next);
3249
+ return next ?? null;
3250
+ } catch (decideError) {
3251
+ if (run === runRef.current) setError(messageOf(decideError));
3252
+ return null;
3253
+ } finally {
3254
+ if (run === runRef.current) setIsDeciding(false);
3255
+ }
3256
+ }, [
3257
+ clearTimer,
3258
+ getClient,
3259
+ proposal?.id
3260
+ ]);
3261
+ return {
3262
+ proposal,
3263
+ isWorking,
3264
+ isDeciding,
3265
+ error,
3266
+ timedOut,
3267
+ start,
3268
+ open,
3269
+ apply: useCallback(() => decide("apply"), [decide]),
3270
+ reject: useCallback(async () => {
3271
+ await decide("reject");
3272
+ }, [decide]),
3273
+ cancel: useCallback(async () => {
3274
+ await decide("cancel");
3275
+ }, [decide]),
3276
+ reset
3277
+ };
3278
+ }
3279
+
3280
+ export { CancelWorkflowProposalDocument as a, ProposeRunFixDocument as i, RejectWorkflowProposalDocument as n, ApplyWorkflowProposalDocument as o, ProposeWorkflowChangeDocument as r, useWorkflowProposal as t };