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