@fluidgrids/fe-sdk 0.0.0-stage → 2026.1203.8

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,1787 @@
1
+ "use client";
2
+ import { n as getFluidGridsClient } from "./client-holder-C0M5Cfwl.js";
3
+ import { s as throwIfResultError, t as describeOperationError } from "./errors-ClKb5sEt.js";
4
+ import { c as statusCountsOf, s as statusCountFilter, t as STATUS_COUNT_GROUP_BY } from "./run-parity-CWXqEJqM.js";
5
+ import { useCallback, useEffect, useRef, useState } from "react";
6
+
7
+ // src/generated/documents/wspace/SetWorkflowRunVersioningOverrideDocument.ts
8
+ const SetWorkflowRunVersioningOverrideDocument = {
9
+ "kind": "Document",
10
+ "definitions": [{
11
+ "kind": "OperationDefinition",
12
+ "operation": "mutation",
13
+ "name": {
14
+ "kind": "Name",
15
+ "value": "SetWorkflowRunVersioningOverride"
16
+ },
17
+ "variableDefinitions": [
18
+ {
19
+ "kind": "VariableDefinition",
20
+ "variable": {
21
+ "kind": "Variable",
22
+ "name": {
23
+ "kind": "Name",
24
+ "value": "runId"
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
+ {
40
+ "kind": "VariableDefinition",
41
+ "variable": {
42
+ "kind": "Variable",
43
+ "name": {
44
+ "kind": "Name",
45
+ "value": "override"
46
+ }
47
+ },
48
+ "type": {
49
+ "kind": "NamedType",
50
+ "name": {
51
+ "kind": "Name",
52
+ "value": "VersioningOverrideInput"
53
+ }
54
+ },
55
+ "directives": []
56
+ },
57
+ {
58
+ "kind": "VariableDefinition",
59
+ "variable": {
60
+ "kind": "Variable",
61
+ "name": {
62
+ "kind": "Name",
63
+ "value": "reason"
64
+ }
65
+ },
66
+ "type": {
67
+ "kind": "NamedType",
68
+ "name": {
69
+ "kind": "Name",
70
+ "value": "String"
71
+ }
72
+ },
73
+ "directives": []
74
+ }
75
+ ],
76
+ "directives": [],
77
+ "selectionSet": {
78
+ "kind": "SelectionSet",
79
+ "selections": [{
80
+ "kind": "Field",
81
+ "name": {
82
+ "kind": "Name",
83
+ "value": "setWorkflowRunVersioningOverride"
84
+ },
85
+ "arguments": [
86
+ {
87
+ "kind": "Argument",
88
+ "name": {
89
+ "kind": "Name",
90
+ "value": "runId"
91
+ },
92
+ "value": {
93
+ "kind": "Variable",
94
+ "name": {
95
+ "kind": "Name",
96
+ "value": "runId"
97
+ }
98
+ }
99
+ },
100
+ {
101
+ "kind": "Argument",
102
+ "name": {
103
+ "kind": "Name",
104
+ "value": "override"
105
+ },
106
+ "value": {
107
+ "kind": "Variable",
108
+ "name": {
109
+ "kind": "Name",
110
+ "value": "override"
111
+ }
112
+ }
113
+ },
114
+ {
115
+ "kind": "Argument",
116
+ "name": {
117
+ "kind": "Name",
118
+ "value": "reason"
119
+ },
120
+ "value": {
121
+ "kind": "Variable",
122
+ "name": {
123
+ "kind": "Name",
124
+ "value": "reason"
125
+ }
126
+ }
127
+ }
128
+ ],
129
+ "directives": [],
130
+ "selectionSet": {
131
+ "kind": "SelectionSet",
132
+ "selections": [{
133
+ "kind": "Field",
134
+ "name": {
135
+ "kind": "Name",
136
+ "value": "id"
137
+ },
138
+ "arguments": [],
139
+ "directives": []
140
+ }, {
141
+ "kind": "Field",
142
+ "name": {
143
+ "kind": "Name",
144
+ "value": "versioning"
145
+ },
146
+ "arguments": [],
147
+ "directives": [],
148
+ "selectionSet": {
149
+ "kind": "SelectionSet",
150
+ "selections": [
151
+ {
152
+ "kind": "Field",
153
+ "name": {
154
+ "kind": "Name",
155
+ "value": "behavior"
156
+ },
157
+ "arguments": [],
158
+ "directives": []
159
+ },
160
+ {
161
+ "kind": "Field",
162
+ "name": {
163
+ "kind": "Name",
164
+ "value": "startBehavior"
165
+ },
166
+ "arguments": [],
167
+ "directives": []
168
+ },
169
+ {
170
+ "kind": "Field",
171
+ "name": {
172
+ "kind": "Name",
173
+ "value": "override"
174
+ },
175
+ "arguments": [],
176
+ "directives": [],
177
+ "selectionSet": {
178
+ "kind": "SelectionSet",
179
+ "selections": [{
180
+ "kind": "Field",
181
+ "name": {
182
+ "kind": "Name",
183
+ "value": "behavior"
184
+ },
185
+ "arguments": [],
186
+ "directives": []
187
+ }, {
188
+ "kind": "Field",
189
+ "name": {
190
+ "kind": "Name",
191
+ "value": "version"
192
+ },
193
+ "arguments": [],
194
+ "directives": []
195
+ }]
196
+ }
197
+ },
198
+ {
199
+ "kind": "Field",
200
+ "name": {
201
+ "kind": "Name",
202
+ "value": "servingVersion"
203
+ },
204
+ "arguments": [],
205
+ "directives": []
206
+ },
207
+ {
208
+ "kind": "Field",
209
+ "name": {
210
+ "kind": "Name",
211
+ "value": "buildId"
212
+ },
213
+ "arguments": [],
214
+ "directives": []
215
+ },
216
+ {
217
+ "kind": "Field",
218
+ "name": {
219
+ "kind": "Name",
220
+ "value": "heldFromVersion"
221
+ },
222
+ "arguments": [],
223
+ "directives": []
224
+ },
225
+ {
226
+ "kind": "Field",
227
+ "name": {
228
+ "kind": "Name",
229
+ "value": "pendingOverride"
230
+ },
231
+ "arguments": [],
232
+ "directives": [],
233
+ "selectionSet": {
234
+ "kind": "SelectionSet",
235
+ "selections": [{
236
+ "kind": "FragmentSpread",
237
+ "name": {
238
+ "kind": "Name",
239
+ "value": "RunCodeReplaceFields"
240
+ },
241
+ "directives": []
242
+ }]
243
+ }
244
+ }
245
+ ]
246
+ }
247
+ }]
248
+ }
249
+ }]
250
+ }
251
+ }, {
252
+ "kind": "FragmentDefinition",
253
+ "name": {
254
+ "kind": "Name",
255
+ "value": "RunCodeReplaceFields"
256
+ },
257
+ "variableDefinitions": [],
258
+ "typeCondition": {
259
+ "kind": "NamedType",
260
+ "name": {
261
+ "kind": "Name",
262
+ "value": "WorkflowCodeReplaceResult"
263
+ }
264
+ },
265
+ "directives": [],
266
+ "selectionSet": {
267
+ "kind": "SelectionSet",
268
+ "selections": [
269
+ {
270
+ "kind": "Field",
271
+ "name": {
272
+ "kind": "Name",
273
+ "value": "id"
274
+ },
275
+ "arguments": [],
276
+ "directives": []
277
+ },
278
+ {
279
+ "kind": "Field",
280
+ "name": {
281
+ "kind": "Name",
282
+ "value": "kind"
283
+ },
284
+ "arguments": [],
285
+ "directives": []
286
+ },
287
+ {
288
+ "kind": "Field",
289
+ "name": {
290
+ "kind": "Name",
291
+ "value": "status"
292
+ },
293
+ "arguments": [],
294
+ "directives": []
295
+ },
296
+ {
297
+ "kind": "Field",
298
+ "name": {
299
+ "kind": "Name",
300
+ "value": "buildId"
301
+ },
302
+ "arguments": [],
303
+ "directives": []
304
+ },
305
+ {
306
+ "kind": "Field",
307
+ "name": {
308
+ "kind": "Name",
309
+ "value": "previousBuildId"
310
+ },
311
+ "arguments": [],
312
+ "directives": []
313
+ },
314
+ {
315
+ "kind": "Field",
316
+ "name": {
317
+ "kind": "Name",
318
+ "value": "targetVersion"
319
+ },
320
+ "arguments": [],
321
+ "directives": []
322
+ },
323
+ {
324
+ "kind": "Field",
325
+ "name": {
326
+ "kind": "Name",
327
+ "value": "runId"
328
+ },
329
+ "arguments": [],
330
+ "directives": []
331
+ },
332
+ {
333
+ "kind": "Field",
334
+ "name": {
335
+ "kind": "Name",
336
+ "value": "force"
337
+ },
338
+ "arguments": [],
339
+ "directives": []
340
+ },
341
+ {
342
+ "kind": "Field",
343
+ "name": {
344
+ "kind": "Name",
345
+ "value": "verifiedRuns"
346
+ },
347
+ "arguments": [],
348
+ "directives": []
349
+ },
350
+ {
351
+ "kind": "Field",
352
+ "name": {
353
+ "kind": "Name",
354
+ "value": "violations"
355
+ },
356
+ "arguments": [],
357
+ "directives": [],
358
+ "selectionSet": {
359
+ "kind": "SelectionSet",
360
+ "selections": [
361
+ {
362
+ "kind": "Field",
363
+ "name": {
364
+ "kind": "Name",
365
+ "value": "runId"
366
+ },
367
+ "arguments": [],
368
+ "directives": []
369
+ },
370
+ {
371
+ "kind": "Field",
372
+ "name": {
373
+ "kind": "Name",
374
+ "value": "seq"
375
+ },
376
+ "arguments": [],
377
+ "directives": []
378
+ },
379
+ {
380
+ "kind": "Field",
381
+ "name": {
382
+ "kind": "Name",
383
+ "value": "message"
384
+ },
385
+ "arguments": [],
386
+ "directives": []
387
+ }
388
+ ]
389
+ }
390
+ }
391
+ ]
392
+ }
393
+ }]
394
+ };
395
+
396
+ // src/generated/documents/wspace/DurableParityRunFieldsDocument.ts
397
+ const DurableParityRunFieldsDocument = {
398
+ "kind": "Document",
399
+ "definitions": [{
400
+ "kind": "OperationDefinition",
401
+ "operation": "query",
402
+ "name": {
403
+ "kind": "Name",
404
+ "value": "DurableParityRunFields"
405
+ },
406
+ "variableDefinitions": [{
407
+ "kind": "VariableDefinition",
408
+ "variable": {
409
+ "kind": "Variable",
410
+ "name": {
411
+ "kind": "Name",
412
+ "value": "id"
413
+ }
414
+ },
415
+ "type": {
416
+ "kind": "NonNullType",
417
+ "type": {
418
+ "kind": "NamedType",
419
+ "name": {
420
+ "kind": "Name",
421
+ "value": "ID"
422
+ }
423
+ }
424
+ },
425
+ "directives": []
426
+ }],
427
+ "directives": [],
428
+ "selectionSet": {
429
+ "kind": "SelectionSet",
430
+ "selections": [{
431
+ "kind": "Field",
432
+ "name": {
433
+ "kind": "Name",
434
+ "value": "workflowRun"
435
+ },
436
+ "arguments": [{
437
+ "kind": "Argument",
438
+ "name": {
439
+ "kind": "Name",
440
+ "value": "id"
441
+ },
442
+ "value": {
443
+ "kind": "Variable",
444
+ "name": {
445
+ "kind": "Name",
446
+ "value": "id"
447
+ }
448
+ }
449
+ }],
450
+ "directives": [],
451
+ "selectionSet": {
452
+ "kind": "SelectionSet",
453
+ "selections": [
454
+ {
455
+ "kind": "Field",
456
+ "name": {
457
+ "kind": "Name",
458
+ "value": "id"
459
+ },
460
+ "arguments": [],
461
+ "directives": []
462
+ },
463
+ {
464
+ "kind": "Field",
465
+ "name": {
466
+ "kind": "Name",
467
+ "value": "businessId"
468
+ },
469
+ "arguments": [],
470
+ "directives": []
471
+ },
472
+ {
473
+ "kind": "Field",
474
+ "name": {
475
+ "kind": "Name",
476
+ "value": "runAttempt"
477
+ },
478
+ "arguments": [],
479
+ "directives": []
480
+ },
481
+ {
482
+ "kind": "Field",
483
+ "name": {
484
+ "kind": "Name",
485
+ "value": "firstRunId"
486
+ },
487
+ "arguments": [],
488
+ "directives": []
489
+ },
490
+ {
491
+ "kind": "Field",
492
+ "name": {
493
+ "kind": "Name",
494
+ "value": "continuedFromRunId"
495
+ },
496
+ "arguments": [],
497
+ "directives": []
498
+ },
499
+ {
500
+ "kind": "Field",
501
+ "name": {
502
+ "kind": "Name",
503
+ "value": "continuedToRunId"
504
+ },
505
+ "arguments": [],
506
+ "directives": []
507
+ },
508
+ {
509
+ "kind": "Field",
510
+ "name": {
511
+ "kind": "Name",
512
+ "value": "rootRunId"
513
+ },
514
+ "arguments": [],
515
+ "directives": []
516
+ },
517
+ {
518
+ "kind": "Field",
519
+ "name": {
520
+ "kind": "Name",
521
+ "value": "priority"
522
+ },
523
+ "arguments": [],
524
+ "directives": []
525
+ },
526
+ {
527
+ "kind": "Field",
528
+ "name": {
529
+ "kind": "Name",
530
+ "value": "summary"
531
+ },
532
+ "arguments": [],
533
+ "directives": []
534
+ },
535
+ {
536
+ "kind": "Field",
537
+ "name": {
538
+ "kind": "Name",
539
+ "value": "details"
540
+ },
541
+ "arguments": [],
542
+ "directives": []
543
+ },
544
+ {
545
+ "kind": "Field",
546
+ "name": {
547
+ "kind": "Name",
548
+ "value": "currentDetails"
549
+ },
550
+ "arguments": [],
551
+ "directives": []
552
+ },
553
+ {
554
+ "kind": "Field",
555
+ "name": {
556
+ "kind": "Name",
557
+ "value": "memo"
558
+ },
559
+ "arguments": [],
560
+ "directives": []
561
+ },
562
+ {
563
+ "kind": "Field",
564
+ "name": {
565
+ "kind": "Name",
566
+ "value": "startDelayUntil"
567
+ },
568
+ "arguments": [],
569
+ "directives": []
570
+ },
571
+ {
572
+ "kind": "Field",
573
+ "name": {
574
+ "kind": "Name",
575
+ "value": "runTimeoutAt"
576
+ },
577
+ "arguments": [],
578
+ "directives": []
579
+ },
580
+ {
581
+ "kind": "Field",
582
+ "name": {
583
+ "kind": "Name",
584
+ "value": "executionTimeoutAt"
585
+ },
586
+ "arguments": [],
587
+ "directives": []
588
+ },
589
+ {
590
+ "kind": "Field",
591
+ "name": {
592
+ "kind": "Name",
593
+ "value": "completionCallback"
594
+ },
595
+ "arguments": [],
596
+ "directives": [],
597
+ "selectionSet": {
598
+ "kind": "SelectionSet",
599
+ "selections": [
600
+ {
601
+ "kind": "Field",
602
+ "name": {
603
+ "kind": "Name",
604
+ "value": "url"
605
+ },
606
+ "arguments": [],
607
+ "directives": []
608
+ },
609
+ {
610
+ "kind": "Field",
611
+ "name": {
612
+ "kind": "Name",
613
+ "value": "status"
614
+ },
615
+ "arguments": [],
616
+ "directives": []
617
+ },
618
+ {
619
+ "kind": "Field",
620
+ "name": {
621
+ "kind": "Name",
622
+ "value": "attempts"
623
+ },
624
+ "arguments": [],
625
+ "directives": []
626
+ },
627
+ {
628
+ "kind": "Field",
629
+ "name": {
630
+ "kind": "Name",
631
+ "value": "lastStatusCode"
632
+ },
633
+ "arguments": [],
634
+ "directives": []
635
+ },
636
+ {
637
+ "kind": "Field",
638
+ "name": {
639
+ "kind": "Name",
640
+ "value": "lastError"
641
+ },
642
+ "arguments": [],
643
+ "directives": []
644
+ },
645
+ {
646
+ "kind": "Field",
647
+ "name": {
648
+ "kind": "Name",
649
+ "value": "lastAttemptAt"
650
+ },
651
+ "arguments": [],
652
+ "directives": []
653
+ },
654
+ {
655
+ "kind": "Field",
656
+ "name": {
657
+ "kind": "Name",
658
+ "value": "deliveredAt"
659
+ },
660
+ "arguments": [],
661
+ "directives": []
662
+ },
663
+ {
664
+ "kind": "Field",
665
+ "name": {
666
+ "kind": "Name",
667
+ "value": "nextAttemptAt"
668
+ },
669
+ "arguments": [],
670
+ "directives": []
671
+ }
672
+ ]
673
+ }
674
+ },
675
+ {
676
+ "kind": "Field",
677
+ "name": {
678
+ "kind": "Name",
679
+ "value": "versioning"
680
+ },
681
+ "arguments": [],
682
+ "directives": [],
683
+ "selectionSet": {
684
+ "kind": "SelectionSet",
685
+ "selections": [
686
+ {
687
+ "kind": "Field",
688
+ "name": {
689
+ "kind": "Name",
690
+ "value": "behavior"
691
+ },
692
+ "arguments": [],
693
+ "directives": []
694
+ },
695
+ {
696
+ "kind": "Field",
697
+ "name": {
698
+ "kind": "Name",
699
+ "value": "startBehavior"
700
+ },
701
+ "arguments": [],
702
+ "directives": []
703
+ },
704
+ {
705
+ "kind": "Field",
706
+ "name": {
707
+ "kind": "Name",
708
+ "value": "override"
709
+ },
710
+ "arguments": [],
711
+ "directives": [],
712
+ "selectionSet": {
713
+ "kind": "SelectionSet",
714
+ "selections": [{
715
+ "kind": "Field",
716
+ "name": {
717
+ "kind": "Name",
718
+ "value": "behavior"
719
+ },
720
+ "arguments": [],
721
+ "directives": []
722
+ }, {
723
+ "kind": "Field",
724
+ "name": {
725
+ "kind": "Name",
726
+ "value": "version"
727
+ },
728
+ "arguments": [],
729
+ "directives": []
730
+ }]
731
+ }
732
+ },
733
+ {
734
+ "kind": "Field",
735
+ "name": {
736
+ "kind": "Name",
737
+ "value": "servingVersion"
738
+ },
739
+ "arguments": [],
740
+ "directives": []
741
+ },
742
+ {
743
+ "kind": "Field",
744
+ "name": {
745
+ "kind": "Name",
746
+ "value": "buildId"
747
+ },
748
+ "arguments": [],
749
+ "directives": []
750
+ },
751
+ {
752
+ "kind": "Field",
753
+ "name": {
754
+ "kind": "Name",
755
+ "value": "heldFromVersion"
756
+ },
757
+ "arguments": [],
758
+ "directives": []
759
+ },
760
+ {
761
+ "kind": "Field",
762
+ "name": {
763
+ "kind": "Name",
764
+ "value": "pendingOverride"
765
+ },
766
+ "arguments": [],
767
+ "directives": [],
768
+ "selectionSet": {
769
+ "kind": "SelectionSet",
770
+ "selections": [{
771
+ "kind": "FragmentSpread",
772
+ "name": {
773
+ "kind": "Name",
774
+ "value": "RunCodeReplaceFields"
775
+ },
776
+ "directives": []
777
+ }]
778
+ }
779
+ }
780
+ ]
781
+ }
782
+ }
783
+ ]
784
+ }
785
+ }]
786
+ }
787
+ }, {
788
+ "kind": "FragmentDefinition",
789
+ "name": {
790
+ "kind": "Name",
791
+ "value": "RunCodeReplaceFields"
792
+ },
793
+ "variableDefinitions": [],
794
+ "typeCondition": {
795
+ "kind": "NamedType",
796
+ "name": {
797
+ "kind": "Name",
798
+ "value": "WorkflowCodeReplaceResult"
799
+ }
800
+ },
801
+ "directives": [],
802
+ "selectionSet": {
803
+ "kind": "SelectionSet",
804
+ "selections": [
805
+ {
806
+ "kind": "Field",
807
+ "name": {
808
+ "kind": "Name",
809
+ "value": "id"
810
+ },
811
+ "arguments": [],
812
+ "directives": []
813
+ },
814
+ {
815
+ "kind": "Field",
816
+ "name": {
817
+ "kind": "Name",
818
+ "value": "kind"
819
+ },
820
+ "arguments": [],
821
+ "directives": []
822
+ },
823
+ {
824
+ "kind": "Field",
825
+ "name": {
826
+ "kind": "Name",
827
+ "value": "status"
828
+ },
829
+ "arguments": [],
830
+ "directives": []
831
+ },
832
+ {
833
+ "kind": "Field",
834
+ "name": {
835
+ "kind": "Name",
836
+ "value": "buildId"
837
+ },
838
+ "arguments": [],
839
+ "directives": []
840
+ },
841
+ {
842
+ "kind": "Field",
843
+ "name": {
844
+ "kind": "Name",
845
+ "value": "previousBuildId"
846
+ },
847
+ "arguments": [],
848
+ "directives": []
849
+ },
850
+ {
851
+ "kind": "Field",
852
+ "name": {
853
+ "kind": "Name",
854
+ "value": "targetVersion"
855
+ },
856
+ "arguments": [],
857
+ "directives": []
858
+ },
859
+ {
860
+ "kind": "Field",
861
+ "name": {
862
+ "kind": "Name",
863
+ "value": "runId"
864
+ },
865
+ "arguments": [],
866
+ "directives": []
867
+ },
868
+ {
869
+ "kind": "Field",
870
+ "name": {
871
+ "kind": "Name",
872
+ "value": "force"
873
+ },
874
+ "arguments": [],
875
+ "directives": []
876
+ },
877
+ {
878
+ "kind": "Field",
879
+ "name": {
880
+ "kind": "Name",
881
+ "value": "verifiedRuns"
882
+ },
883
+ "arguments": [],
884
+ "directives": []
885
+ },
886
+ {
887
+ "kind": "Field",
888
+ "name": {
889
+ "kind": "Name",
890
+ "value": "violations"
891
+ },
892
+ "arguments": [],
893
+ "directives": [],
894
+ "selectionSet": {
895
+ "kind": "SelectionSet",
896
+ "selections": [
897
+ {
898
+ "kind": "Field",
899
+ "name": {
900
+ "kind": "Name",
901
+ "value": "runId"
902
+ },
903
+ "arguments": [],
904
+ "directives": []
905
+ },
906
+ {
907
+ "kind": "Field",
908
+ "name": {
909
+ "kind": "Name",
910
+ "value": "seq"
911
+ },
912
+ "arguments": [],
913
+ "directives": []
914
+ },
915
+ {
916
+ "kind": "Field",
917
+ "name": {
918
+ "kind": "Name",
919
+ "value": "message"
920
+ },
921
+ "arguments": [],
922
+ "directives": []
923
+ }
924
+ ]
925
+ }
926
+ }
927
+ ]
928
+ }
929
+ }]
930
+ };
931
+
932
+ // src/generated/documents/wspace/WorkflowRunMetadataDocument.ts
933
+ const WorkflowRunMetadataDocument = {
934
+ "kind": "Document",
935
+ "definitions": [{
936
+ "kind": "OperationDefinition",
937
+ "operation": "query",
938
+ "name": {
939
+ "kind": "Name",
940
+ "value": "WorkflowRunMetadata"
941
+ },
942
+ "variableDefinitions": [{
943
+ "kind": "VariableDefinition",
944
+ "variable": {
945
+ "kind": "Variable",
946
+ "name": {
947
+ "kind": "Name",
948
+ "value": "runId"
949
+ }
950
+ },
951
+ "type": {
952
+ "kind": "NonNullType",
953
+ "type": {
954
+ "kind": "NamedType",
955
+ "name": {
956
+ "kind": "Name",
957
+ "value": "ID"
958
+ }
959
+ }
960
+ },
961
+ "directives": []
962
+ }],
963
+ "directives": [],
964
+ "selectionSet": {
965
+ "kind": "SelectionSet",
966
+ "selections": [{
967
+ "kind": "Field",
968
+ "name": {
969
+ "kind": "Name",
970
+ "value": "workflowRunStackTrace"
971
+ },
972
+ "arguments": [
973
+ {
974
+ "kind": "Argument",
975
+ "name": {
976
+ "kind": "Name",
977
+ "value": "runId"
978
+ },
979
+ "value": {
980
+ "kind": "Variable",
981
+ "name": {
982
+ "kind": "Name",
983
+ "value": "runId"
984
+ }
985
+ }
986
+ },
987
+ {
988
+ "kind": "Argument",
989
+ "name": {
990
+ "kind": "Name",
991
+ "value": "enhanced"
992
+ },
993
+ "value": {
994
+ "kind": "BooleanValue",
995
+ "value": false
996
+ }
997
+ },
998
+ {
999
+ "kind": "Argument",
1000
+ "name": {
1001
+ "kind": "Name",
1002
+ "value": "metadata"
1003
+ },
1004
+ "value": {
1005
+ "kind": "BooleanValue",
1006
+ "value": true
1007
+ }
1008
+ }
1009
+ ],
1010
+ "directives": [],
1011
+ "selectionSet": {
1012
+ "kind": "SelectionSet",
1013
+ "selections": [
1014
+ {
1015
+ "kind": "Field",
1016
+ "name": {
1017
+ "kind": "Name",
1018
+ "value": "trace"
1019
+ },
1020
+ "arguments": [],
1021
+ "directives": []
1022
+ },
1023
+ {
1024
+ "kind": "Field",
1025
+ "name": {
1026
+ "kind": "Name",
1027
+ "value": "enhanced"
1028
+ },
1029
+ "arguments": [],
1030
+ "directives": []
1031
+ },
1032
+ {
1033
+ "kind": "Field",
1034
+ "name": {
1035
+ "kind": "Name",
1036
+ "value": "metadata"
1037
+ },
1038
+ "arguments": [],
1039
+ "directives": [],
1040
+ "selectionSet": {
1041
+ "kind": "SelectionSet",
1042
+ "selections": [{
1043
+ "kind": "Field",
1044
+ "name": {
1045
+ "kind": "Name",
1046
+ "value": "definition"
1047
+ },
1048
+ "arguments": [],
1049
+ "directives": []
1050
+ }, {
1051
+ "kind": "Field",
1052
+ "name": {
1053
+ "kind": "Name",
1054
+ "value": "currentDetails"
1055
+ },
1056
+ "arguments": [],
1057
+ "directives": []
1058
+ }]
1059
+ }
1060
+ }
1061
+ ]
1062
+ }
1063
+ }]
1064
+ }
1065
+ }]
1066
+ };
1067
+
1068
+ // src/generated/documents/wspace/WorkflowRunPendingDocument.ts
1069
+ const WorkflowRunPendingDocument = {
1070
+ "kind": "Document",
1071
+ "definitions": [{
1072
+ "kind": "OperationDefinition",
1073
+ "operation": "query",
1074
+ "name": {
1075
+ "kind": "Name",
1076
+ "value": "WorkflowRunPending"
1077
+ },
1078
+ "variableDefinitions": [{
1079
+ "kind": "VariableDefinition",
1080
+ "variable": {
1081
+ "kind": "Variable",
1082
+ "name": {
1083
+ "kind": "Name",
1084
+ "value": "id"
1085
+ }
1086
+ },
1087
+ "type": {
1088
+ "kind": "NonNullType",
1089
+ "type": {
1090
+ "kind": "NamedType",
1091
+ "name": {
1092
+ "kind": "Name",
1093
+ "value": "ID"
1094
+ }
1095
+ }
1096
+ },
1097
+ "directives": []
1098
+ }],
1099
+ "directives": [],
1100
+ "selectionSet": {
1101
+ "kind": "SelectionSet",
1102
+ "selections": [{
1103
+ "kind": "Field",
1104
+ "name": {
1105
+ "kind": "Name",
1106
+ "value": "workflowRun"
1107
+ },
1108
+ "arguments": [{
1109
+ "kind": "Argument",
1110
+ "name": {
1111
+ "kind": "Name",
1112
+ "value": "id"
1113
+ },
1114
+ "value": {
1115
+ "kind": "Variable",
1116
+ "name": {
1117
+ "kind": "Name",
1118
+ "value": "id"
1119
+ }
1120
+ }
1121
+ }],
1122
+ "directives": [],
1123
+ "selectionSet": {
1124
+ "kind": "SelectionSet",
1125
+ "selections": [{
1126
+ "kind": "Field",
1127
+ "name": {
1128
+ "kind": "Name",
1129
+ "value": "id"
1130
+ },
1131
+ "arguments": [],
1132
+ "directives": []
1133
+ }, {
1134
+ "kind": "Field",
1135
+ "name": {
1136
+ "kind": "Name",
1137
+ "value": "pending"
1138
+ },
1139
+ "arguments": [],
1140
+ "directives": [],
1141
+ "selectionSet": {
1142
+ "kind": "SelectionSet",
1143
+ "selections": [
1144
+ {
1145
+ "kind": "Field",
1146
+ "name": {
1147
+ "kind": "Name",
1148
+ "value": "activities"
1149
+ },
1150
+ "arguments": [],
1151
+ "directives": [],
1152
+ "selectionSet": {
1153
+ "kind": "SelectionSet",
1154
+ "selections": [
1155
+ {
1156
+ "kind": "Field",
1157
+ "name": {
1158
+ "kind": "Name",
1159
+ "value": "activityId"
1160
+ },
1161
+ "arguments": [],
1162
+ "directives": []
1163
+ },
1164
+ {
1165
+ "kind": "Field",
1166
+ "name": {
1167
+ "kind": "Name",
1168
+ "value": "activityType"
1169
+ },
1170
+ "arguments": [],
1171
+ "directives": []
1172
+ },
1173
+ {
1174
+ "kind": "Field",
1175
+ "name": {
1176
+ "kind": "Name",
1177
+ "value": "state"
1178
+ },
1179
+ "arguments": [],
1180
+ "directives": []
1181
+ },
1182
+ {
1183
+ "kind": "Field",
1184
+ "name": {
1185
+ "kind": "Name",
1186
+ "value": "attempt"
1187
+ },
1188
+ "arguments": [],
1189
+ "directives": []
1190
+ },
1191
+ {
1192
+ "kind": "Field",
1193
+ "name": {
1194
+ "kind": "Name",
1195
+ "value": "maxAttempts"
1196
+ },
1197
+ "arguments": [],
1198
+ "directives": []
1199
+ },
1200
+ {
1201
+ "kind": "Field",
1202
+ "name": {
1203
+ "kind": "Name",
1204
+ "value": "scheduledAt"
1205
+ },
1206
+ "arguments": [],
1207
+ "directives": []
1208
+ },
1209
+ {
1210
+ "kind": "Field",
1211
+ "name": {
1212
+ "kind": "Name",
1213
+ "value": "lastStartedAt"
1214
+ },
1215
+ "arguments": [],
1216
+ "directives": []
1217
+ },
1218
+ {
1219
+ "kind": "Field",
1220
+ "name": {
1221
+ "kind": "Name",
1222
+ "value": "lastHeartbeatAt"
1223
+ },
1224
+ "arguments": [],
1225
+ "directives": []
1226
+ },
1227
+ {
1228
+ "kind": "Field",
1229
+ "name": {
1230
+ "kind": "Name",
1231
+ "value": "heartbeatDetails"
1232
+ },
1233
+ "arguments": [],
1234
+ "directives": []
1235
+ },
1236
+ {
1237
+ "kind": "Field",
1238
+ "name": {
1239
+ "kind": "Name",
1240
+ "value": "lastFailure"
1241
+ },
1242
+ "arguments": [],
1243
+ "directives": []
1244
+ },
1245
+ {
1246
+ "kind": "Field",
1247
+ "name": {
1248
+ "kind": "Name",
1249
+ "value": "nextAttemptAt"
1250
+ },
1251
+ "arguments": [],
1252
+ "directives": []
1253
+ },
1254
+ {
1255
+ "kind": "Field",
1256
+ "name": {
1257
+ "kind": "Name",
1258
+ "value": "summary"
1259
+ },
1260
+ "arguments": [],
1261
+ "directives": []
1262
+ }
1263
+ ]
1264
+ }
1265
+ },
1266
+ {
1267
+ "kind": "Field",
1268
+ "name": {
1269
+ "kind": "Name",
1270
+ "value": "children"
1271
+ },
1272
+ "arguments": [],
1273
+ "directives": [],
1274
+ "selectionSet": {
1275
+ "kind": "SelectionSet",
1276
+ "selections": [
1277
+ {
1278
+ "kind": "Field",
1279
+ "name": {
1280
+ "kind": "Name",
1281
+ "value": "runId"
1282
+ },
1283
+ "arguments": [],
1284
+ "directives": []
1285
+ },
1286
+ {
1287
+ "kind": "Field",
1288
+ "name": {
1289
+ "kind": "Name",
1290
+ "value": "workflowKey"
1291
+ },
1292
+ "arguments": [],
1293
+ "directives": []
1294
+ },
1295
+ {
1296
+ "kind": "Field",
1297
+ "name": {
1298
+ "kind": "Name",
1299
+ "value": "version"
1300
+ },
1301
+ "arguments": [],
1302
+ "directives": []
1303
+ },
1304
+ {
1305
+ "kind": "Field",
1306
+ "name": {
1307
+ "kind": "Name",
1308
+ "value": "status"
1309
+ },
1310
+ "arguments": [],
1311
+ "directives": []
1312
+ },
1313
+ {
1314
+ "kind": "Field",
1315
+ "name": {
1316
+ "kind": "Name",
1317
+ "value": "startedAt"
1318
+ },
1319
+ "arguments": [],
1320
+ "directives": []
1321
+ }
1322
+ ]
1323
+ }
1324
+ },
1325
+ {
1326
+ "kind": "Field",
1327
+ "name": {
1328
+ "kind": "Name",
1329
+ "value": "timers"
1330
+ },
1331
+ "arguments": [],
1332
+ "directives": [],
1333
+ "selectionSet": {
1334
+ "kind": "SelectionSet",
1335
+ "selections": [
1336
+ {
1337
+ "kind": "Field",
1338
+ "name": {
1339
+ "kind": "Name",
1340
+ "value": "timerId"
1341
+ },
1342
+ "arguments": [],
1343
+ "directives": []
1344
+ },
1345
+ {
1346
+ "kind": "Field",
1347
+ "name": {
1348
+ "kind": "Name",
1349
+ "value": "fireAt"
1350
+ },
1351
+ "arguments": [],
1352
+ "directives": []
1353
+ },
1354
+ {
1355
+ "kind": "Field",
1356
+ "name": {
1357
+ "kind": "Name",
1358
+ "value": "summary"
1359
+ },
1360
+ "arguments": [],
1361
+ "directives": []
1362
+ }
1363
+ ]
1364
+ }
1365
+ },
1366
+ {
1367
+ "kind": "Field",
1368
+ "name": {
1369
+ "kind": "Name",
1370
+ "value": "bufferedSignals"
1371
+ },
1372
+ "arguments": [],
1373
+ "directives": []
1374
+ },
1375
+ {
1376
+ "kind": "Field",
1377
+ "name": {
1378
+ "kind": "Name",
1379
+ "value": "workflowTask"
1380
+ },
1381
+ "arguments": [],
1382
+ "directives": [],
1383
+ "selectionSet": {
1384
+ "kind": "SelectionSet",
1385
+ "selections": [
1386
+ {
1387
+ "kind": "Field",
1388
+ "name": {
1389
+ "kind": "Name",
1390
+ "value": "state"
1391
+ },
1392
+ "arguments": [],
1393
+ "directives": []
1394
+ },
1395
+ {
1396
+ "kind": "Field",
1397
+ "name": {
1398
+ "kind": "Name",
1399
+ "value": "attempt"
1400
+ },
1401
+ "arguments": [],
1402
+ "directives": []
1403
+ },
1404
+ {
1405
+ "kind": "Field",
1406
+ "name": {
1407
+ "kind": "Name",
1408
+ "value": "startedAt"
1409
+ },
1410
+ "arguments": [],
1411
+ "directives": []
1412
+ },
1413
+ {
1414
+ "kind": "Field",
1415
+ "name": {
1416
+ "kind": "Name",
1417
+ "value": "failureCause"
1418
+ },
1419
+ "arguments": [],
1420
+ "directives": []
1421
+ }
1422
+ ]
1423
+ }
1424
+ }
1425
+ ]
1426
+ }
1427
+ }]
1428
+ }
1429
+ }]
1430
+ }
1431
+ }]
1432
+ };
1433
+
1434
+ // src/generated/documents/wspace/WorkflowRunsCountDocument.ts
1435
+ const WorkflowRunsCountDocument = {
1436
+ "kind": "Document",
1437
+ "definitions": [{
1438
+ "kind": "OperationDefinition",
1439
+ "operation": "query",
1440
+ "name": {
1441
+ "kind": "Name",
1442
+ "value": "WorkflowRunsCount"
1443
+ },
1444
+ "variableDefinitions": [{
1445
+ "kind": "VariableDefinition",
1446
+ "variable": {
1447
+ "kind": "Variable",
1448
+ "name": {
1449
+ "kind": "Name",
1450
+ "value": "filter"
1451
+ }
1452
+ },
1453
+ "type": {
1454
+ "kind": "NamedType",
1455
+ "name": {
1456
+ "kind": "Name",
1457
+ "value": "ListWorkflowRunsInput"
1458
+ }
1459
+ },
1460
+ "directives": []
1461
+ }, {
1462
+ "kind": "VariableDefinition",
1463
+ "variable": {
1464
+ "kind": "Variable",
1465
+ "name": {
1466
+ "kind": "Name",
1467
+ "value": "groupBy"
1468
+ }
1469
+ },
1470
+ "type": {
1471
+ "kind": "ListType",
1472
+ "type": {
1473
+ "kind": "NonNullType",
1474
+ "type": {
1475
+ "kind": "NamedType",
1476
+ "name": {
1477
+ "kind": "Name",
1478
+ "value": "RunGroupBy"
1479
+ }
1480
+ }
1481
+ }
1482
+ },
1483
+ "directives": []
1484
+ }],
1485
+ "directives": [],
1486
+ "selectionSet": {
1487
+ "kind": "SelectionSet",
1488
+ "selections": [{
1489
+ "kind": "Field",
1490
+ "name": {
1491
+ "kind": "Name",
1492
+ "value": "workflowRunsCount"
1493
+ },
1494
+ "arguments": [{
1495
+ "kind": "Argument",
1496
+ "name": {
1497
+ "kind": "Name",
1498
+ "value": "filter"
1499
+ },
1500
+ "value": {
1501
+ "kind": "Variable",
1502
+ "name": {
1503
+ "kind": "Name",
1504
+ "value": "filter"
1505
+ }
1506
+ }
1507
+ }, {
1508
+ "kind": "Argument",
1509
+ "name": {
1510
+ "kind": "Name",
1511
+ "value": "groupBy"
1512
+ },
1513
+ "value": {
1514
+ "kind": "Variable",
1515
+ "name": {
1516
+ "kind": "Name",
1517
+ "value": "groupBy"
1518
+ }
1519
+ }
1520
+ }],
1521
+ "directives": [],
1522
+ "selectionSet": {
1523
+ "kind": "SelectionSet",
1524
+ "selections": [{
1525
+ "kind": "FragmentSpread",
1526
+ "name": {
1527
+ "kind": "Name",
1528
+ "value": "RunStatusCountFields"
1529
+ },
1530
+ "directives": []
1531
+ }]
1532
+ }
1533
+ }]
1534
+ }
1535
+ }, {
1536
+ "kind": "FragmentDefinition",
1537
+ "name": {
1538
+ "kind": "Name",
1539
+ "value": "RunStatusCountFields"
1540
+ },
1541
+ "variableDefinitions": [],
1542
+ "typeCondition": {
1543
+ "kind": "NamedType",
1544
+ "name": {
1545
+ "kind": "Name",
1546
+ "value": "RunCountResult"
1547
+ }
1548
+ },
1549
+ "directives": [],
1550
+ "selectionSet": {
1551
+ "kind": "SelectionSet",
1552
+ "selections": [
1553
+ {
1554
+ "kind": "Field",
1555
+ "name": {
1556
+ "kind": "Name",
1557
+ "value": "total"
1558
+ },
1559
+ "arguments": [],
1560
+ "directives": []
1561
+ },
1562
+ {
1563
+ "kind": "Field",
1564
+ "name": {
1565
+ "kind": "Name",
1566
+ "value": "groups"
1567
+ },
1568
+ "arguments": [],
1569
+ "directives": [],
1570
+ "selectionSet": {
1571
+ "kind": "SelectionSet",
1572
+ "selections": [
1573
+ {
1574
+ "kind": "Field",
1575
+ "name": {
1576
+ "kind": "Name",
1577
+ "value": "key"
1578
+ },
1579
+ "arguments": [],
1580
+ "directives": []
1581
+ },
1582
+ {
1583
+ "kind": "Field",
1584
+ "name": {
1585
+ "kind": "Name",
1586
+ "value": "values"
1587
+ },
1588
+ "arguments": [],
1589
+ "directives": []
1590
+ },
1591
+ {
1592
+ "kind": "Field",
1593
+ "name": {
1594
+ "kind": "Name",
1595
+ "value": "count"
1596
+ },
1597
+ "arguments": [],
1598
+ "directives": []
1599
+ }
1600
+ ]
1601
+ }
1602
+ },
1603
+ {
1604
+ "kind": "Field",
1605
+ "name": {
1606
+ "kind": "Name",
1607
+ "value": "groupsTruncated"
1608
+ },
1609
+ "arguments": [],
1610
+ "directives": []
1611
+ }
1612
+ ]
1613
+ }
1614
+ }]
1615
+ };
1616
+
1617
+ // src/modules/executions/hooks/useDurableParity.ts
1618
+ /**
1619
+ * Durable-function parity reads and writes of the run page and the Runs list
1620
+ * (BOFF-9905, spec code-first 11): the run's workflow id, chain, metadata,
1621
+ * callback and versioning; what it is waiting on; the `__metadata` answer;
1622
+ * status counts; and the per-run versioning override.
1623
+ *
1624
+ * Like useDurableRun, every read is a plain network read and nothing is sent
1625
+ * while `enabled` is false, which the pages tie to useDurableParityEnabled().
1626
+ * A failed read keeps the last good answer, or none, so a gateway or service
1627
+ * without the parity release never breaks the page: the parity views simply
1628
+ * stay empty.
1629
+ */
1630
+ /** Re-read cadence of the pending state while the run is live. */
1631
+ const RUN_PENDING_POLL_INTERVAL_MS = 5e3;
1632
+ async function fetchDurableParityRunFields(runId) {
1633
+ const result = await getFluidGridsClient().query({
1634
+ query: DurableParityRunFieldsDocument,
1635
+ variables: { id: runId },
1636
+ fetchPolicy: "network-only"
1637
+ });
1638
+ throwIfResultError(result);
1639
+ return result.data?.workflowRun ?? null;
1640
+ }
1641
+ async function fetchRunPending(runId) {
1642
+ const result = await getFluidGridsClient().query({
1643
+ query: WorkflowRunPendingDocument,
1644
+ variables: { id: runId },
1645
+ fetchPolicy: "network-only"
1646
+ });
1647
+ throwIfResultError(result);
1648
+ return result.data?.workflowRun?.pending ?? null;
1649
+ }
1650
+ async function fetchRunMetadata(runId) {
1651
+ const result = await getFluidGridsClient().query({
1652
+ query: WorkflowRunMetadataDocument,
1653
+ variables: { runId },
1654
+ fetchPolicy: "network-only"
1655
+ });
1656
+ throwIfResultError(result);
1657
+ return result.data?.workflowRunStackTrace ?? null;
1658
+ }
1659
+ async function fetchRunStatusCounts(input) {
1660
+ const filter = statusCountFilter(input);
1661
+ const result = await getFluidGridsClient().query({
1662
+ query: WorkflowRunsCountDocument,
1663
+ variables: {
1664
+ filter,
1665
+ groupBy: [...STATUS_COUNT_GROUP_BY]
1666
+ },
1667
+ fetchPolicy: "network-only",
1668
+ context: { queryDeduplication: false }
1669
+ });
1670
+ throwIfResultError(result);
1671
+ const count = result.data?.workflowRunsCount;
1672
+ if (!count) throw new Error("The run count returned no result");
1673
+ return {
1674
+ total: count.total,
1675
+ counts: statusCountsOf(count.groups)
1676
+ };
1677
+ }
1678
+ async function setRunVersioningOverride(input) {
1679
+ const reason = input.reason?.trim();
1680
+ const result = await getFluidGridsClient().mutate({
1681
+ mutation: SetWorkflowRunVersioningOverrideDocument,
1682
+ variables: {
1683
+ runId: input.runId,
1684
+ override: input.override,
1685
+ reason: reason || null
1686
+ }
1687
+ });
1688
+ throwIfResultError(result);
1689
+ const data = result.data?.setWorkflowRunVersioningOverride;
1690
+ if (!data) throw new Error("The override returned no result");
1691
+ return data.versioning ?? null;
1692
+ }
1693
+ /**
1694
+ * A read keyed by run id that keeps the last good answer, ignores answers to
1695
+ * superseded requests, and re-reads every `intervalMs` while `live`.
1696
+ */
1697
+ function useRunRead(runId, enabled, load, { live = false, intervalMs = 0 }) {
1698
+ const [data, setData] = useState(null);
1699
+ const [loading, setLoading] = useState(false);
1700
+ const [error, setError] = useState(null);
1701
+ const request = useRef(0);
1702
+ const refetch = useCallback(async () => {
1703
+ if (!runId || !enabled) return true;
1704
+ const id = ++request.current;
1705
+ setLoading(true);
1706
+ try {
1707
+ const next = await load(runId);
1708
+ if (id !== request.current) return true;
1709
+ setData(next);
1710
+ setError(null);
1711
+ return true;
1712
+ } catch (err) {
1713
+ if (id !== request.current) return true;
1714
+ setError(describeOperationError(err));
1715
+ return false;
1716
+ } finally {
1717
+ if (id === request.current) setLoading(false);
1718
+ }
1719
+ }, [
1720
+ runId,
1721
+ enabled,
1722
+ load
1723
+ ]);
1724
+ useEffect(() => {
1725
+ request.current += 1;
1726
+ setData(null);
1727
+ setError(null);
1728
+ setLoading(false);
1729
+ refetch();
1730
+ }, [refetch]);
1731
+ useEffect(() => {
1732
+ if (!live || !enabled || !runId || intervalMs <= 0) return;
1733
+ const timer = setInterval(() => {
1734
+ refetch();
1735
+ }, intervalMs);
1736
+ return () => clearInterval(timer);
1737
+ }, [
1738
+ live,
1739
+ enabled,
1740
+ runId,
1741
+ intervalMs,
1742
+ refetch
1743
+ ]);
1744
+ return {
1745
+ data: enabled ? data : null,
1746
+ loading,
1747
+ error,
1748
+ refetch
1749
+ };
1750
+ }
1751
+ /** The parity fields of a run; nothing is read while `enabled` is false. */
1752
+ function useDurableParityRunFields(runId, enabled) {
1753
+ const { data, error, refetch } = useRunRead(runId, enabled, fetchDurableParityRunFields, {});
1754
+ return {
1755
+ fields: data,
1756
+ error,
1757
+ refetch
1758
+ };
1759
+ }
1760
+ /** What an open run is waiting on, re-read every 5 s while `live`. */
1761
+ function useRunPending(runId, { enabled, live }) {
1762
+ const { data, loading, error, refetch } = useRunRead(runId, enabled, fetchRunPending, {
1763
+ live,
1764
+ intervalMs: RUN_PENDING_POLL_INTERVAL_MS
1765
+ });
1766
+ return {
1767
+ pending: data,
1768
+ loading,
1769
+ error,
1770
+ refetch
1771
+ };
1772
+ }
1773
+ /**
1774
+ * `__stack_trace` with `__metadata` of an open durable run: one replay in the
1775
+ * service, so it is read once when shown and on request, never polled.
1776
+ */
1777
+ function useRunMetadata(runId, enabled) {
1778
+ const { data, loading, error, refetch } = useRunRead(runId, enabled, fetchRunMetadata, {});
1779
+ return {
1780
+ answer: data,
1781
+ loading,
1782
+ error,
1783
+ refetch
1784
+ };
1785
+ }
1786
+
1787
+ export { useRunPending as a, WorkflowRunMetadataDocument as c, useRunMetadata as i, DurableParityRunFieldsDocument as l, setRunVersioningOverride as n, WorkflowRunsCountDocument as o, useDurableParityRunFields as r, WorkflowRunPendingDocument as s, fetchRunStatusCounts as t, SetWorkflowRunVersioningOverrideDocument as u };