@burdenoff/fluidgrids-fe-sdk 2026.1113.1 → 2026.1113.2

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 (127) hide show
  1. package/dist/{AiStudioPage-D3MAk-bs.js → AiStudioPage-5KYZ8r8-.js} +464 -7
  2. package/dist/{ApprovalInboxPage-Bb8H9ruw.js → ApprovalInboxPage-BsJX4osU.js} +4 -3
  3. package/dist/{ConnectionFormDialog-Bg9_OdHX.js → ConnectionFormDialog-Dr1-CTan.js} +2 -1
  4. package/dist/CreateFluidgridsTagDocument-Dtp9KPLJ.js +1055 -0
  5. package/dist/{DataSinkDashboardPage-Dc2QuJbL.js → DataSinkDashboardPage-8ZDn85e2.js} +1 -1
  6. package/dist/{DataTablesPage-Cv4veaKK.js → DataTablesPage-BBvABuxE.js} +5 -4
  7. package/dist/{EntityTagPicker-D8ws706D.js → EntityTagPicker-BppBSEJk.js} +2 -2
  8. package/dist/{ExecutionDetailPage-CTVGE-d-.js → ExecutionDetailPage-BXDF2eoT.js} +1444 -18
  9. package/dist/ExecutionsListDocument-CzdLPpj5.js +1259 -0
  10. package/dist/{ExecutionsListPage-J0sJPuoM.js → ExecutionsListPage--4BthM8L.js} +285 -11
  11. package/dist/FailureTriagePanel-B5WCSRFo.js +1252 -0
  12. package/dist/{FluidGridsProvider-C4FVNz0n.js → FluidGridsProvider-Dc_Jhtch.js} +8666 -8734
  13. package/dist/{HistoryPage-B9XcTPrO.js → HistoryPage-BvFk2m1m.js} +4 -3
  14. package/dist/{InsightsPage-DFOltjyj.js → InsightsPage-Dwmb02F6.js} +2682 -5
  15. package/dist/{MissingNodesInstallModal-D8H-YNCJ.js → MissingNodesInstallModal-Cze674hp.js} +2 -2
  16. package/dist/{NodesPage-YQ-hP60x.js → NodesPage-C5Dq-ru-.js} +3 -2
  17. package/dist/{OpenTemplateAsCodeButton-hH26HQCk.js → OpenTemplateAsCodeButton-8MZHih6I.js} +2 -2
  18. package/dist/{PaidTemplateConfirm-DoKWMBtR.js → PaidTemplateConfirm-0G-gv29n.js} +1 -1
  19. package/dist/{PublishCustomNodeAction-5XXnSA3H.js → PublishCustomNodeAction-OOY35dUv.js} +1 -1
  20. package/dist/QuotaExhaustedDialog-wvu_-WJ-.js +55 -0
  21. package/dist/{RunnerStatusPill-Ctg4TJcP.js → RunnerStatusPill-Bh7mEsPh.js} +2 -1
  22. package/dist/{RunnersPage-CAt4YDhB.js → RunnersPage-DHeuUDil.js} +2 -2
  23. package/dist/{SettingsPage-DEKPCVVP.js → SettingsPage-CfjXiGpb.js} +694 -14
  24. package/dist/{TagFilterSelect-CwM2-DU6.js → TagFilterSelect-CAShgvbS.js} +1 -1
  25. package/dist/{TaskQueuesPage-Dhi6SIT4.js → TaskQueuesPage--Mmn36b-.js} +3 -3
  26. package/dist/{TemplateCard-DVSd_4zJ.js → TemplateCard-BA_9em22.js} +644 -352
  27. package/dist/{TemplateConfigurationModal-BKi1z7z7.js → TemplateConfigurationModal-BT3PaR0O.js} +4 -3
  28. package/dist/{TemplateDetailPanel-DK1gF7P5.js → TemplateDetailPanel-BxFNnlXm.js} +2 -1
  29. package/dist/{TemplatePreview-DuSX2Q7H.js → TemplatePreview-Bagja6WN.js} +7 -7
  30. package/dist/{TemplatesPage-CAWHh61l.js → TemplatesPage-CAajpJ5w.js} +711 -6
  31. package/dist/{VariablesPage-D7CoatWf.js → VariablesPage-CgUBKhAe.js} +3 -3
  32. package/dist/{VersionDiffDialog-DGwysiyE.js → VersionDiffDialog-D9W5Fm56.js} +233 -129
  33. package/dist/VersionLifecycleBar-DuphLOT0.js +131 -0
  34. package/dist/{WorkflowBuilder-DAeoQi5E.js → WorkflowBuilder-DMpSPElu.js} +16 -13
  35. package/dist/{WorkflowBuilder-BJgqDboZ.js → WorkflowBuilder-v8h8skwG.js} +5 -5
  36. package/dist/WorkflowDefinitionDocument-DZLbTPUZ.js +321 -0
  37. package/dist/WorkflowEditLeaseStatusDocument-Dp62med3.js +627 -0
  38. package/dist/WorkflowProposalCard-zCdUpCk8.js +249 -0
  39. package/dist/WorkflowProposalDocument-BdUbsrd0.js +620 -0
  40. package/dist/{WorkflowSearchRedirect-CMEvd_AR.js → WorkflowSearchRedirect-G78lINAE.js} +1 -1
  41. package/dist/{WorkflowShareDialog-BgHRsDP0.js → WorkflowShareDialog-B7VOgr4-.js} +304 -3
  42. package/dist/WorkflowVersionsDocument-CfPMloRW.js +3195 -0
  43. package/dist/{WorkflowsList-CcQPxWKL.js → WorkflowsList-CPYzfE4K.js} +11 -9
  44. package/dist/agent-form-D0uLvzx4.js +718 -0
  45. package/dist/{agentTools-DKpNKztf.js → agentTools-DTXUqtfu.js} +4 -4
  46. package/dist/api-BZVyX5d2.js +2286 -0
  47. package/dist/api-BqA-f-AD.js +8064 -0
  48. package/dist/app-BJUvugPM.js +3813 -0
  49. package/dist/assert-rules-CPNrO44K.js +318 -0
  50. package/dist/attach-node-helpers-CNsYtLOR.js +32 -0
  51. package/dist/badge-CXfPhoMH.js +26 -0
  52. package/dist/{canvasNoteTools-C_AN79m0.js → canvasNoteTools-DmfZwtnL.js} +3 -3
  53. package/dist/{channel-CZ70oI81.js → channel-DtF1n_ab.js} +1 -1
  54. package/dist/client-Ctl4jmY3.js +127 -0
  55. package/dist/code-editor-diagnostics-Zr0cIcx1.js +46 -0
  56. package/dist/{code-editor-field-Dt6KNWwN.js → code-editor-field-Cv907s3W.js} +2 -2
  57. package/dist/{codec-client-CJ95Rmqo.js → codec-client-CAYl6j46.js} +2 -1
  58. package/dist/conditionBuilder-D8aLGL1w.js +1134 -0
  59. package/dist/config-X97zrIvn.js +600 -0
  60. package/dist/{definition-canvas-Bshn_dSP.js → definition-canvas-DL25_6NH.js} +1 -1
  61. package/dist/{dialog-Cjb4lB4D.js → dialog-BVd152GS.js} +3 -14
  62. package/dist/durable-nodes-DXCCQYWD.js +81 -0
  63. package/dist/errors-xPZ-IbQd.js +142 -0
  64. package/dist/executions.js +2 -2
  65. package/dist/{flow-builder-D3Hl2AFk.js → flow-builder-Dv5fWJ6F.js} +9301 -8189
  66. package/dist/{node-registry-refresh-Dy0uRg9f.js → global-client-DP_Wxe5t.js} +2 -27
  67. package/dist/global-operations-7pvXw_j9.js +145 -0
  68. package/dist/history.js +1 -1
  69. package/dist/{index-CWcP-tG1.d.ts → index-DtMUtXNq.d.ts} +247 -247
  70. package/dist/index.d.ts +1 -1
  71. package/dist/index.js +4403 -46
  72. package/dist/input-ChT6Q-Pr.js +17 -0
  73. package/dist/logs-panel-DtG93ocy.js +342 -0
  74. package/dist/mapping-colors-BIX_YeCQ.js +48 -0
  75. package/dist/{node-detail-view-bVLeYarT.js → node-detail-view-BKI_2kM6.js} +12 -11
  76. package/dist/{node-editor-tab-body-JHHVtQgR.js → node-editor-tab-body-Cc1MWEFR.js} +3 -3
  77. package/dist/{node-operation-selection-DAbS6jSY.js → node-operation-selection-Czeeb2D4.js} +2 -139
  78. package/dist/node-registry-refresh-s3okf83X.js +27 -0
  79. package/dist/nodes.js +1 -1
  80. package/dist/notesKey-5EaREBGA.js +12 -0
  81. package/dist/observability.d.ts +1 -1
  82. package/dist/observability.js +2 -2
  83. package/dist/{popover-Xx3gN7vg.js → popover-DDv7J1Kl.js} +717 -6
  84. package/dist/{quick-config-panel-BvVQXuIL.js → quick-config-panel-BPCRfqWI.js} +4 -4
  85. package/dist/read-only-context-Dt9N9SIG.js +18 -0
  86. package/dist/{schedule-panel-DCb40TPN.js → schedule-panel-C1KwfLCE.js} +14 -12
  87. package/dist/settings.js +1 -1
  88. package/dist/{shared-CMfn30xT.js → shared-Ctl9ZHo1.js} +2 -1
  89. package/dist/{sidebar-node-editor-DxCWFZG2.js → sidebar-node-editor-d9Rlq5pU.js} +4 -4
  90. package/dist/sticky-notes-23j-wL6Q.js +96 -0
  91. package/dist/template-code-dqRunGOv.js +184 -0
  92. package/dist/template-preview-C01KV277.js +29 -0
  93. package/dist/templates.js +2 -2
  94. package/dist/token-refresh-link-BjN7H4qA.js +291 -0
  95. package/dist/useAgentDefinitions-ZKX2N9aP.js +3101 -0
  96. package/dist/useConnections-BlB0gbOB.js +931 -0
  97. package/dist/useDurableParity-BgLH_SCF.js +2088 -0
  98. package/dist/{useEntityTags-Db4Pc8_M.js → useEntityTags-4iW6UTly.js} +227 -3
  99. package/dist/{useExecutions-DOpG1pUQ.js → useExecutions-Bm7q_UwN.js} +6 -3
  100. package/dist/useGlobalStoreClient-DMTrywdX.js +24 -0
  101. package/dist/{useHumanRequests-ZiR0sSzS.js → useHumanRequests-DwG2tQ3f.js} +2 -1
  102. package/dist/{useObservability-rQmwhoZZ.js → useObservability-DPATdbw7.js} +4 -2
  103. package/dist/{useRunHistory-COn6dl7l.js → useRunHistory-CGfjCsJ3.js} +1122 -4
  104. package/dist/{useVariables-2ddyJX4a.js → useVariables-DFdZofLQ.js} +2 -1
  105. package/dist/{useWorkflowCodeExport-ZoUJKRSK.js → useWorkflowCodeExport-D_mCuhKP.js} +289 -4
  106. package/dist/useWorkflowOrganization-r5FWNBs6.js +1690 -0
  107. package/dist/useWorkflowProposal-Bh2_qjmM.js +7478 -0
  108. package/dist/{useWorkflows-jOW60YmD.js → useWorkflows-aqVD7kGa.js} +694 -4
  109. package/dist/workflow-builder.js +5 -5
  110. package/dist/{workflow-code-transfer-l9wO34S0.js → workflow-code-transfer-5C0HUzae.js} +1 -53
  111. package/dist/workflow-host.js +4 -2
  112. package/dist/workflow-pages.d.ts +1 -1
  113. package/dist/workflow-pages.js +19 -19
  114. package/dist/workflow-preview.js +3 -2
  115. package/dist/workflows-list.js +1 -1
  116. package/package.json +1 -1
  117. package/dist/FailureTriagePanel-BbYFYeV_.js +0 -311
  118. package/dist/WorkflowProposalCard-DGMdZC4R.js +0 -1432
  119. package/dist/agent-form-Bfvm32j1.js +0 -83
  120. package/dist/api-DQtHXbIg.js +0 -224
  121. package/dist/api-MeAm6g7E.js +0 -55
  122. package/dist/client-C9XSzSXr.js +0 -1147
  123. package/dist/graphql-operation-types-C9qbvRa8.js +0 -53122
  124. package/dist/useAgentDefinitions-_hgNCK1A.js +0 -550
  125. package/dist/useConnections-Cs7LCWEM.js +0 -401
  126. package/dist/useDurableParity-CcLeCDfv.js +0 -504
  127. package/dist/useWorkflowOrganization-QxVePSkk.js +0 -282
@@ -0,0 +1,2286 @@
1
+ "use client";
2
+ import { d as readTyped, f as writeTyped } from "./shared-Ctl9ZHo1.js";
3
+
4
+ // src/generated/documents/wspace/CreateTaskQueueDocument.ts
5
+ const CreateTaskQueueDocument = {
6
+ "kind": "Document",
7
+ "definitions": [{
8
+ "kind": "OperationDefinition",
9
+ "operation": "mutation",
10
+ "name": {
11
+ "kind": "Name",
12
+ "value": "CreateTaskQueue"
13
+ },
14
+ "variableDefinitions": [{
15
+ "kind": "VariableDefinition",
16
+ "variable": {
17
+ "kind": "Variable",
18
+ "name": {
19
+ "kind": "Name",
20
+ "value": "input"
21
+ }
22
+ },
23
+ "type": {
24
+ "kind": "NonNullType",
25
+ "type": {
26
+ "kind": "NamedType",
27
+ "name": {
28
+ "kind": "Name",
29
+ "value": "CreateTaskQueueInput"
30
+ }
31
+ }
32
+ },
33
+ "directives": []
34
+ }],
35
+ "directives": [],
36
+ "selectionSet": {
37
+ "kind": "SelectionSet",
38
+ "selections": [{
39
+ "kind": "Field",
40
+ "name": {
41
+ "kind": "Name",
42
+ "value": "createTaskQueue"
43
+ },
44
+ "arguments": [{
45
+ "kind": "Argument",
46
+ "name": {
47
+ "kind": "Name",
48
+ "value": "input"
49
+ },
50
+ "value": {
51
+ "kind": "Variable",
52
+ "name": {
53
+ "kind": "Name",
54
+ "value": "input"
55
+ }
56
+ }
57
+ }],
58
+ "directives": [],
59
+ "selectionSet": {
60
+ "kind": "SelectionSet",
61
+ "selections": [{
62
+ "kind": "FragmentSpread",
63
+ "name": {
64
+ "kind": "Name",
65
+ "value": "TaskQueueFields"
66
+ },
67
+ "directives": []
68
+ }]
69
+ }
70
+ }]
71
+ }
72
+ }, {
73
+ "kind": "FragmentDefinition",
74
+ "name": {
75
+ "kind": "Name",
76
+ "value": "TaskQueueFields"
77
+ },
78
+ "variableDefinitions": [],
79
+ "typeCondition": {
80
+ "kind": "NamedType",
81
+ "name": {
82
+ "kind": "Name",
83
+ "value": "TaskQueue"
84
+ }
85
+ },
86
+ "directives": [],
87
+ "selectionSet": {
88
+ "kind": "SelectionSet",
89
+ "selections": [
90
+ {
91
+ "kind": "Field",
92
+ "name": {
93
+ "kind": "Name",
94
+ "value": "id"
95
+ },
96
+ "arguments": [],
97
+ "directives": []
98
+ },
99
+ {
100
+ "kind": "Field",
101
+ "name": {
102
+ "kind": "Name",
103
+ "value": "name"
104
+ },
105
+ "arguments": [],
106
+ "directives": []
107
+ },
108
+ {
109
+ "kind": "Field",
110
+ "name": {
111
+ "kind": "Name",
112
+ "value": "kind"
113
+ },
114
+ "arguments": [],
115
+ "directives": []
116
+ },
117
+ {
118
+ "kind": "Field",
119
+ "name": {
120
+ "kind": "Name",
121
+ "value": "environment"
122
+ },
123
+ "arguments": [],
124
+ "directives": []
125
+ },
126
+ {
127
+ "kind": "Field",
128
+ "name": {
129
+ "kind": "Name",
130
+ "value": "description"
131
+ },
132
+ "arguments": [],
133
+ "directives": []
134
+ },
135
+ {
136
+ "kind": "Field",
137
+ "name": {
138
+ "kind": "Name",
139
+ "value": "maxTasksPerSecond"
140
+ },
141
+ "arguments": [],
142
+ "directives": []
143
+ },
144
+ {
145
+ "kind": "Field",
146
+ "name": {
147
+ "kind": "Name",
148
+ "value": "workerUnavailableTimeoutSeconds"
149
+ },
150
+ "arguments": [],
151
+ "directives": []
152
+ },
153
+ {
154
+ "kind": "Field",
155
+ "name": {
156
+ "kind": "Name",
157
+ "value": "createdAt"
158
+ },
159
+ "arguments": [],
160
+ "directives": []
161
+ },
162
+ {
163
+ "kind": "Field",
164
+ "name": {
165
+ "kind": "Name",
166
+ "value": "updatedAt"
167
+ },
168
+ "arguments": [],
169
+ "directives": []
170
+ }
171
+ ]
172
+ }
173
+ }]
174
+ };
175
+
176
+ // src/generated/documents/wspace/UpdateTaskQueueDocument.ts
177
+ const UpdateTaskQueueDocument = {
178
+ "kind": "Document",
179
+ "definitions": [{
180
+ "kind": "OperationDefinition",
181
+ "operation": "mutation",
182
+ "name": {
183
+ "kind": "Name",
184
+ "value": "UpdateTaskQueue"
185
+ },
186
+ "variableDefinitions": [{
187
+ "kind": "VariableDefinition",
188
+ "variable": {
189
+ "kind": "Variable",
190
+ "name": {
191
+ "kind": "Name",
192
+ "value": "id"
193
+ }
194
+ },
195
+ "type": {
196
+ "kind": "NonNullType",
197
+ "type": {
198
+ "kind": "NamedType",
199
+ "name": {
200
+ "kind": "Name",
201
+ "value": "ID"
202
+ }
203
+ }
204
+ },
205
+ "directives": []
206
+ }, {
207
+ "kind": "VariableDefinition",
208
+ "variable": {
209
+ "kind": "Variable",
210
+ "name": {
211
+ "kind": "Name",
212
+ "value": "input"
213
+ }
214
+ },
215
+ "type": {
216
+ "kind": "NonNullType",
217
+ "type": {
218
+ "kind": "NamedType",
219
+ "name": {
220
+ "kind": "Name",
221
+ "value": "UpdateTaskQueueInput"
222
+ }
223
+ }
224
+ },
225
+ "directives": []
226
+ }],
227
+ "directives": [],
228
+ "selectionSet": {
229
+ "kind": "SelectionSet",
230
+ "selections": [{
231
+ "kind": "Field",
232
+ "name": {
233
+ "kind": "Name",
234
+ "value": "updateTaskQueue"
235
+ },
236
+ "arguments": [{
237
+ "kind": "Argument",
238
+ "name": {
239
+ "kind": "Name",
240
+ "value": "id"
241
+ },
242
+ "value": {
243
+ "kind": "Variable",
244
+ "name": {
245
+ "kind": "Name",
246
+ "value": "id"
247
+ }
248
+ }
249
+ }, {
250
+ "kind": "Argument",
251
+ "name": {
252
+ "kind": "Name",
253
+ "value": "input"
254
+ },
255
+ "value": {
256
+ "kind": "Variable",
257
+ "name": {
258
+ "kind": "Name",
259
+ "value": "input"
260
+ }
261
+ }
262
+ }],
263
+ "directives": [],
264
+ "selectionSet": {
265
+ "kind": "SelectionSet",
266
+ "selections": [{
267
+ "kind": "FragmentSpread",
268
+ "name": {
269
+ "kind": "Name",
270
+ "value": "TaskQueueFields"
271
+ },
272
+ "directives": []
273
+ }]
274
+ }
275
+ }]
276
+ }
277
+ }, {
278
+ "kind": "FragmentDefinition",
279
+ "name": {
280
+ "kind": "Name",
281
+ "value": "TaskQueueFields"
282
+ },
283
+ "variableDefinitions": [],
284
+ "typeCondition": {
285
+ "kind": "NamedType",
286
+ "name": {
287
+ "kind": "Name",
288
+ "value": "TaskQueue"
289
+ }
290
+ },
291
+ "directives": [],
292
+ "selectionSet": {
293
+ "kind": "SelectionSet",
294
+ "selections": [
295
+ {
296
+ "kind": "Field",
297
+ "name": {
298
+ "kind": "Name",
299
+ "value": "id"
300
+ },
301
+ "arguments": [],
302
+ "directives": []
303
+ },
304
+ {
305
+ "kind": "Field",
306
+ "name": {
307
+ "kind": "Name",
308
+ "value": "name"
309
+ },
310
+ "arguments": [],
311
+ "directives": []
312
+ },
313
+ {
314
+ "kind": "Field",
315
+ "name": {
316
+ "kind": "Name",
317
+ "value": "kind"
318
+ },
319
+ "arguments": [],
320
+ "directives": []
321
+ },
322
+ {
323
+ "kind": "Field",
324
+ "name": {
325
+ "kind": "Name",
326
+ "value": "environment"
327
+ },
328
+ "arguments": [],
329
+ "directives": []
330
+ },
331
+ {
332
+ "kind": "Field",
333
+ "name": {
334
+ "kind": "Name",
335
+ "value": "description"
336
+ },
337
+ "arguments": [],
338
+ "directives": []
339
+ },
340
+ {
341
+ "kind": "Field",
342
+ "name": {
343
+ "kind": "Name",
344
+ "value": "maxTasksPerSecond"
345
+ },
346
+ "arguments": [],
347
+ "directives": []
348
+ },
349
+ {
350
+ "kind": "Field",
351
+ "name": {
352
+ "kind": "Name",
353
+ "value": "workerUnavailableTimeoutSeconds"
354
+ },
355
+ "arguments": [],
356
+ "directives": []
357
+ },
358
+ {
359
+ "kind": "Field",
360
+ "name": {
361
+ "kind": "Name",
362
+ "value": "createdAt"
363
+ },
364
+ "arguments": [],
365
+ "directives": []
366
+ },
367
+ {
368
+ "kind": "Field",
369
+ "name": {
370
+ "kind": "Name",
371
+ "value": "updatedAt"
372
+ },
373
+ "arguments": [],
374
+ "directives": []
375
+ }
376
+ ]
377
+ }
378
+ }]
379
+ };
380
+
381
+ // src/generated/documents/wspace/DeleteTaskQueueDocument.ts
382
+ const DeleteTaskQueueDocument = {
383
+ "kind": "Document",
384
+ "definitions": [{
385
+ "kind": "OperationDefinition",
386
+ "operation": "mutation",
387
+ "name": {
388
+ "kind": "Name",
389
+ "value": "DeleteTaskQueue"
390
+ },
391
+ "variableDefinitions": [{
392
+ "kind": "VariableDefinition",
393
+ "variable": {
394
+ "kind": "Variable",
395
+ "name": {
396
+ "kind": "Name",
397
+ "value": "id"
398
+ }
399
+ },
400
+ "type": {
401
+ "kind": "NonNullType",
402
+ "type": {
403
+ "kind": "NamedType",
404
+ "name": {
405
+ "kind": "Name",
406
+ "value": "ID"
407
+ }
408
+ }
409
+ },
410
+ "directives": []
411
+ }],
412
+ "directives": [],
413
+ "selectionSet": {
414
+ "kind": "SelectionSet",
415
+ "selections": [{
416
+ "kind": "Field",
417
+ "name": {
418
+ "kind": "Name",
419
+ "value": "deleteTaskQueue"
420
+ },
421
+ "arguments": [{
422
+ "kind": "Argument",
423
+ "name": {
424
+ "kind": "Name",
425
+ "value": "id"
426
+ },
427
+ "value": {
428
+ "kind": "Variable",
429
+ "name": {
430
+ "kind": "Name",
431
+ "value": "id"
432
+ }
433
+ }
434
+ }],
435
+ "directives": []
436
+ }]
437
+ }
438
+ }]
439
+ };
440
+
441
+ // src/generated/documents/wspace/CreateWorkerTokenDocument.ts
442
+ const CreateWorkerTokenDocument = {
443
+ "kind": "Document",
444
+ "definitions": [{
445
+ "kind": "OperationDefinition",
446
+ "operation": "mutation",
447
+ "name": {
448
+ "kind": "Name",
449
+ "value": "CreateWorkerToken"
450
+ },
451
+ "variableDefinitions": [
452
+ {
453
+ "kind": "VariableDefinition",
454
+ "variable": {
455
+ "kind": "Variable",
456
+ "name": {
457
+ "kind": "Name",
458
+ "value": "name"
459
+ }
460
+ },
461
+ "type": {
462
+ "kind": "NonNullType",
463
+ "type": {
464
+ "kind": "NamedType",
465
+ "name": {
466
+ "kind": "Name",
467
+ "value": "String"
468
+ }
469
+ }
470
+ },
471
+ "directives": []
472
+ },
473
+ {
474
+ "kind": "VariableDefinition",
475
+ "variable": {
476
+ "kind": "Variable",
477
+ "name": {
478
+ "kind": "Name",
479
+ "value": "taskQueues"
480
+ }
481
+ },
482
+ "type": {
483
+ "kind": "NonNullType",
484
+ "type": {
485
+ "kind": "ListType",
486
+ "type": {
487
+ "kind": "NonNullType",
488
+ "type": {
489
+ "kind": "NamedType",
490
+ "name": {
491
+ "kind": "Name",
492
+ "value": "String"
493
+ }
494
+ }
495
+ }
496
+ }
497
+ },
498
+ "directives": []
499
+ },
500
+ {
501
+ "kind": "VariableDefinition",
502
+ "variable": {
503
+ "kind": "Variable",
504
+ "name": {
505
+ "kind": "Name",
506
+ "value": "connectionAllowlist"
507
+ }
508
+ },
509
+ "type": {
510
+ "kind": "ListType",
511
+ "type": {
512
+ "kind": "NonNullType",
513
+ "type": {
514
+ "kind": "NamedType",
515
+ "name": {
516
+ "kind": "Name",
517
+ "value": "String"
518
+ }
519
+ }
520
+ }
521
+ },
522
+ "directives": []
523
+ }
524
+ ],
525
+ "directives": [],
526
+ "selectionSet": {
527
+ "kind": "SelectionSet",
528
+ "selections": [{
529
+ "kind": "Field",
530
+ "name": {
531
+ "kind": "Name",
532
+ "value": "createWorkerToken"
533
+ },
534
+ "arguments": [{
535
+ "kind": "Argument",
536
+ "name": {
537
+ "kind": "Name",
538
+ "value": "input"
539
+ },
540
+ "value": {
541
+ "kind": "ObjectValue",
542
+ "fields": [
543
+ {
544
+ "kind": "ObjectField",
545
+ "name": {
546
+ "kind": "Name",
547
+ "value": "name"
548
+ },
549
+ "value": {
550
+ "kind": "Variable",
551
+ "name": {
552
+ "kind": "Name",
553
+ "value": "name"
554
+ }
555
+ }
556
+ },
557
+ {
558
+ "kind": "ObjectField",
559
+ "name": {
560
+ "kind": "Name",
561
+ "value": "taskQueues"
562
+ },
563
+ "value": {
564
+ "kind": "Variable",
565
+ "name": {
566
+ "kind": "Name",
567
+ "value": "taskQueues"
568
+ }
569
+ }
570
+ },
571
+ {
572
+ "kind": "ObjectField",
573
+ "name": {
574
+ "kind": "Name",
575
+ "value": "connectionAllowlist"
576
+ },
577
+ "value": {
578
+ "kind": "Variable",
579
+ "name": {
580
+ "kind": "Name",
581
+ "value": "connectionAllowlist"
582
+ }
583
+ }
584
+ },
585
+ {
586
+ "kind": "ObjectField",
587
+ "name": {
588
+ "kind": "Name",
589
+ "value": "context"
590
+ },
591
+ "value": {
592
+ "kind": "ObjectValue",
593
+ "fields": []
594
+ }
595
+ }
596
+ ]
597
+ }
598
+ }],
599
+ "directives": [],
600
+ "selectionSet": {
601
+ "kind": "SelectionSet",
602
+ "selections": [
603
+ {
604
+ "kind": "Field",
605
+ "name": {
606
+ "kind": "Name",
607
+ "value": "token"
608
+ },
609
+ "arguments": [],
610
+ "directives": []
611
+ },
612
+ {
613
+ "kind": "Field",
614
+ "name": {
615
+ "kind": "Name",
616
+ "value": "bridgeUrl"
617
+ },
618
+ "arguments": [],
619
+ "directives": []
620
+ },
621
+ {
622
+ "kind": "Field",
623
+ "name": {
624
+ "kind": "Name",
625
+ "value": "workerToken"
626
+ },
627
+ "arguments": [],
628
+ "directives": [],
629
+ "selectionSet": {
630
+ "kind": "SelectionSet",
631
+ "selections": [{
632
+ "kind": "FragmentSpread",
633
+ "name": {
634
+ "kind": "Name",
635
+ "value": "SandboxWorkerTokenFields"
636
+ },
637
+ "directives": []
638
+ }]
639
+ }
640
+ }
641
+ ]
642
+ }
643
+ }]
644
+ }
645
+ }, {
646
+ "kind": "FragmentDefinition",
647
+ "name": {
648
+ "kind": "Name",
649
+ "value": "SandboxWorkerTokenFields"
650
+ },
651
+ "variableDefinitions": [],
652
+ "typeCondition": {
653
+ "kind": "NamedType",
654
+ "name": {
655
+ "kind": "Name",
656
+ "value": "SandboxWorkerToken"
657
+ }
658
+ },
659
+ "directives": [],
660
+ "selectionSet": {
661
+ "kind": "SelectionSet",
662
+ "selections": [
663
+ {
664
+ "kind": "Field",
665
+ "name": {
666
+ "kind": "Name",
667
+ "value": "id"
668
+ },
669
+ "arguments": [],
670
+ "directives": []
671
+ },
672
+ {
673
+ "kind": "Field",
674
+ "name": {
675
+ "kind": "Name",
676
+ "value": "name"
677
+ },
678
+ "arguments": [],
679
+ "directives": []
680
+ },
681
+ {
682
+ "kind": "Field",
683
+ "name": {
684
+ "kind": "Name",
685
+ "value": "taskQueues"
686
+ },
687
+ "arguments": [],
688
+ "directives": []
689
+ },
690
+ {
691
+ "kind": "Field",
692
+ "name": {
693
+ "kind": "Name",
694
+ "value": "connectionAllowlist"
695
+ },
696
+ "arguments": [],
697
+ "directives": []
698
+ },
699
+ {
700
+ "kind": "Field",
701
+ "name": {
702
+ "kind": "Name",
703
+ "value": "tokenPrefix"
704
+ },
705
+ "arguments": [],
706
+ "directives": []
707
+ },
708
+ {
709
+ "kind": "Field",
710
+ "name": {
711
+ "kind": "Name",
712
+ "value": "activeSessions"
713
+ },
714
+ "arguments": [],
715
+ "directives": []
716
+ },
717
+ {
718
+ "kind": "Field",
719
+ "name": {
720
+ "kind": "Name",
721
+ "value": "createdBy"
722
+ },
723
+ "arguments": [],
724
+ "directives": []
725
+ },
726
+ {
727
+ "kind": "Field",
728
+ "name": {
729
+ "kind": "Name",
730
+ "value": "createdAt"
731
+ },
732
+ "arguments": [],
733
+ "directives": []
734
+ }
735
+ ]
736
+ }
737
+ }]
738
+ };
739
+
740
+ // src/generated/documents/wspace/RotateWorkerTokenDocument.ts
741
+ const RotateWorkerTokenDocument = {
742
+ "kind": "Document",
743
+ "definitions": [{
744
+ "kind": "OperationDefinition",
745
+ "operation": "mutation",
746
+ "name": {
747
+ "kind": "Name",
748
+ "value": "RotateWorkerToken"
749
+ },
750
+ "variableDefinitions": [{
751
+ "kind": "VariableDefinition",
752
+ "variable": {
753
+ "kind": "Variable",
754
+ "name": {
755
+ "kind": "Name",
756
+ "value": "id"
757
+ }
758
+ },
759
+ "type": {
760
+ "kind": "NonNullType",
761
+ "type": {
762
+ "kind": "NamedType",
763
+ "name": {
764
+ "kind": "Name",
765
+ "value": "ID"
766
+ }
767
+ }
768
+ },
769
+ "directives": []
770
+ }],
771
+ "directives": [],
772
+ "selectionSet": {
773
+ "kind": "SelectionSet",
774
+ "selections": [{
775
+ "kind": "Field",
776
+ "name": {
777
+ "kind": "Name",
778
+ "value": "rotateWorkerToken"
779
+ },
780
+ "arguments": [{
781
+ "kind": "Argument",
782
+ "name": {
783
+ "kind": "Name",
784
+ "value": "id"
785
+ },
786
+ "value": {
787
+ "kind": "Variable",
788
+ "name": {
789
+ "kind": "Name",
790
+ "value": "id"
791
+ }
792
+ }
793
+ }, {
794
+ "kind": "Argument",
795
+ "name": {
796
+ "kind": "Name",
797
+ "value": "context"
798
+ },
799
+ "value": {
800
+ "kind": "ObjectValue",
801
+ "fields": []
802
+ }
803
+ }],
804
+ "directives": [],
805
+ "selectionSet": {
806
+ "kind": "SelectionSet",
807
+ "selections": [
808
+ {
809
+ "kind": "Field",
810
+ "name": {
811
+ "kind": "Name",
812
+ "value": "token"
813
+ },
814
+ "arguments": [],
815
+ "directives": []
816
+ },
817
+ {
818
+ "kind": "Field",
819
+ "name": {
820
+ "kind": "Name",
821
+ "value": "bridgeUrl"
822
+ },
823
+ "arguments": [],
824
+ "directives": []
825
+ },
826
+ {
827
+ "kind": "Field",
828
+ "name": {
829
+ "kind": "Name",
830
+ "value": "workerToken"
831
+ },
832
+ "arguments": [],
833
+ "directives": [],
834
+ "selectionSet": {
835
+ "kind": "SelectionSet",
836
+ "selections": [{
837
+ "kind": "FragmentSpread",
838
+ "name": {
839
+ "kind": "Name",
840
+ "value": "SandboxWorkerTokenFields"
841
+ },
842
+ "directives": []
843
+ }]
844
+ }
845
+ }
846
+ ]
847
+ }
848
+ }]
849
+ }
850
+ }, {
851
+ "kind": "FragmentDefinition",
852
+ "name": {
853
+ "kind": "Name",
854
+ "value": "SandboxWorkerTokenFields"
855
+ },
856
+ "variableDefinitions": [],
857
+ "typeCondition": {
858
+ "kind": "NamedType",
859
+ "name": {
860
+ "kind": "Name",
861
+ "value": "SandboxWorkerToken"
862
+ }
863
+ },
864
+ "directives": [],
865
+ "selectionSet": {
866
+ "kind": "SelectionSet",
867
+ "selections": [
868
+ {
869
+ "kind": "Field",
870
+ "name": {
871
+ "kind": "Name",
872
+ "value": "id"
873
+ },
874
+ "arguments": [],
875
+ "directives": []
876
+ },
877
+ {
878
+ "kind": "Field",
879
+ "name": {
880
+ "kind": "Name",
881
+ "value": "name"
882
+ },
883
+ "arguments": [],
884
+ "directives": []
885
+ },
886
+ {
887
+ "kind": "Field",
888
+ "name": {
889
+ "kind": "Name",
890
+ "value": "taskQueues"
891
+ },
892
+ "arguments": [],
893
+ "directives": []
894
+ },
895
+ {
896
+ "kind": "Field",
897
+ "name": {
898
+ "kind": "Name",
899
+ "value": "connectionAllowlist"
900
+ },
901
+ "arguments": [],
902
+ "directives": []
903
+ },
904
+ {
905
+ "kind": "Field",
906
+ "name": {
907
+ "kind": "Name",
908
+ "value": "tokenPrefix"
909
+ },
910
+ "arguments": [],
911
+ "directives": []
912
+ },
913
+ {
914
+ "kind": "Field",
915
+ "name": {
916
+ "kind": "Name",
917
+ "value": "activeSessions"
918
+ },
919
+ "arguments": [],
920
+ "directives": []
921
+ },
922
+ {
923
+ "kind": "Field",
924
+ "name": {
925
+ "kind": "Name",
926
+ "value": "createdBy"
927
+ },
928
+ "arguments": [],
929
+ "directives": []
930
+ },
931
+ {
932
+ "kind": "Field",
933
+ "name": {
934
+ "kind": "Name",
935
+ "value": "createdAt"
936
+ },
937
+ "arguments": [],
938
+ "directives": []
939
+ }
940
+ ]
941
+ }
942
+ }]
943
+ };
944
+
945
+ // src/generated/documents/wspace/DeleteWorkerTokenDocument.ts
946
+ const DeleteWorkerTokenDocument = {
947
+ "kind": "Document",
948
+ "definitions": [{
949
+ "kind": "OperationDefinition",
950
+ "operation": "mutation",
951
+ "name": {
952
+ "kind": "Name",
953
+ "value": "DeleteWorkerToken"
954
+ },
955
+ "variableDefinitions": [{
956
+ "kind": "VariableDefinition",
957
+ "variable": {
958
+ "kind": "Variable",
959
+ "name": {
960
+ "kind": "Name",
961
+ "value": "id"
962
+ }
963
+ },
964
+ "type": {
965
+ "kind": "NonNullType",
966
+ "type": {
967
+ "kind": "NamedType",
968
+ "name": {
969
+ "kind": "Name",
970
+ "value": "ID"
971
+ }
972
+ }
973
+ },
974
+ "directives": []
975
+ }],
976
+ "directives": [],
977
+ "selectionSet": {
978
+ "kind": "SelectionSet",
979
+ "selections": [{
980
+ "kind": "Field",
981
+ "name": {
982
+ "kind": "Name",
983
+ "value": "deleteWorkerToken"
984
+ },
985
+ "arguments": [{
986
+ "kind": "Argument",
987
+ "name": {
988
+ "kind": "Name",
989
+ "value": "id"
990
+ },
991
+ "value": {
992
+ "kind": "Variable",
993
+ "name": {
994
+ "kind": "Name",
995
+ "value": "id"
996
+ }
997
+ }
998
+ }, {
999
+ "kind": "Argument",
1000
+ "name": {
1001
+ "kind": "Name",
1002
+ "value": "context"
1003
+ },
1004
+ "value": {
1005
+ "kind": "ObjectValue",
1006
+ "fields": []
1007
+ }
1008
+ }],
1009
+ "directives": []
1010
+ }]
1011
+ }
1012
+ }]
1013
+ };
1014
+
1015
+ // src/generated/documents/wspace/SetWorkerTokenConnectionAllowlistDocument.ts
1016
+ const SetWorkerTokenConnectionAllowlistDocument = {
1017
+ "kind": "Document",
1018
+ "definitions": [{
1019
+ "kind": "OperationDefinition",
1020
+ "operation": "mutation",
1021
+ "name": {
1022
+ "kind": "Name",
1023
+ "value": "SetWorkerTokenConnectionAllowlist"
1024
+ },
1025
+ "variableDefinitions": [{
1026
+ "kind": "VariableDefinition",
1027
+ "variable": {
1028
+ "kind": "Variable",
1029
+ "name": {
1030
+ "kind": "Name",
1031
+ "value": "id"
1032
+ }
1033
+ },
1034
+ "type": {
1035
+ "kind": "NonNullType",
1036
+ "type": {
1037
+ "kind": "NamedType",
1038
+ "name": {
1039
+ "kind": "Name",
1040
+ "value": "ID"
1041
+ }
1042
+ }
1043
+ },
1044
+ "directives": []
1045
+ }, {
1046
+ "kind": "VariableDefinition",
1047
+ "variable": {
1048
+ "kind": "Variable",
1049
+ "name": {
1050
+ "kind": "Name",
1051
+ "value": "names"
1052
+ }
1053
+ },
1054
+ "type": {
1055
+ "kind": "NonNullType",
1056
+ "type": {
1057
+ "kind": "ListType",
1058
+ "type": {
1059
+ "kind": "NonNullType",
1060
+ "type": {
1061
+ "kind": "NamedType",
1062
+ "name": {
1063
+ "kind": "Name",
1064
+ "value": "String"
1065
+ }
1066
+ }
1067
+ }
1068
+ }
1069
+ },
1070
+ "directives": []
1071
+ }],
1072
+ "directives": [],
1073
+ "selectionSet": {
1074
+ "kind": "SelectionSet",
1075
+ "selections": [{
1076
+ "kind": "Field",
1077
+ "name": {
1078
+ "kind": "Name",
1079
+ "value": "setWorkerTokenConnectionAllowlist"
1080
+ },
1081
+ "arguments": [
1082
+ {
1083
+ "kind": "Argument",
1084
+ "name": {
1085
+ "kind": "Name",
1086
+ "value": "id"
1087
+ },
1088
+ "value": {
1089
+ "kind": "Variable",
1090
+ "name": {
1091
+ "kind": "Name",
1092
+ "value": "id"
1093
+ }
1094
+ }
1095
+ },
1096
+ {
1097
+ "kind": "Argument",
1098
+ "name": {
1099
+ "kind": "Name",
1100
+ "value": "names"
1101
+ },
1102
+ "value": {
1103
+ "kind": "Variable",
1104
+ "name": {
1105
+ "kind": "Name",
1106
+ "value": "names"
1107
+ }
1108
+ }
1109
+ },
1110
+ {
1111
+ "kind": "Argument",
1112
+ "name": {
1113
+ "kind": "Name",
1114
+ "value": "context"
1115
+ },
1116
+ "value": {
1117
+ "kind": "ObjectValue",
1118
+ "fields": []
1119
+ }
1120
+ }
1121
+ ],
1122
+ "directives": [],
1123
+ "selectionSet": {
1124
+ "kind": "SelectionSet",
1125
+ "selections": [{
1126
+ "kind": "FragmentSpread",
1127
+ "name": {
1128
+ "kind": "Name",
1129
+ "value": "SandboxWorkerTokenFields"
1130
+ },
1131
+ "directives": []
1132
+ }]
1133
+ }
1134
+ }]
1135
+ }
1136
+ }, {
1137
+ "kind": "FragmentDefinition",
1138
+ "name": {
1139
+ "kind": "Name",
1140
+ "value": "SandboxWorkerTokenFields"
1141
+ },
1142
+ "variableDefinitions": [],
1143
+ "typeCondition": {
1144
+ "kind": "NamedType",
1145
+ "name": {
1146
+ "kind": "Name",
1147
+ "value": "SandboxWorkerToken"
1148
+ }
1149
+ },
1150
+ "directives": [],
1151
+ "selectionSet": {
1152
+ "kind": "SelectionSet",
1153
+ "selections": [
1154
+ {
1155
+ "kind": "Field",
1156
+ "name": {
1157
+ "kind": "Name",
1158
+ "value": "id"
1159
+ },
1160
+ "arguments": [],
1161
+ "directives": []
1162
+ },
1163
+ {
1164
+ "kind": "Field",
1165
+ "name": {
1166
+ "kind": "Name",
1167
+ "value": "name"
1168
+ },
1169
+ "arguments": [],
1170
+ "directives": []
1171
+ },
1172
+ {
1173
+ "kind": "Field",
1174
+ "name": {
1175
+ "kind": "Name",
1176
+ "value": "taskQueues"
1177
+ },
1178
+ "arguments": [],
1179
+ "directives": []
1180
+ },
1181
+ {
1182
+ "kind": "Field",
1183
+ "name": {
1184
+ "kind": "Name",
1185
+ "value": "connectionAllowlist"
1186
+ },
1187
+ "arguments": [],
1188
+ "directives": []
1189
+ },
1190
+ {
1191
+ "kind": "Field",
1192
+ "name": {
1193
+ "kind": "Name",
1194
+ "value": "tokenPrefix"
1195
+ },
1196
+ "arguments": [],
1197
+ "directives": []
1198
+ },
1199
+ {
1200
+ "kind": "Field",
1201
+ "name": {
1202
+ "kind": "Name",
1203
+ "value": "activeSessions"
1204
+ },
1205
+ "arguments": [],
1206
+ "directives": []
1207
+ },
1208
+ {
1209
+ "kind": "Field",
1210
+ "name": {
1211
+ "kind": "Name",
1212
+ "value": "createdBy"
1213
+ },
1214
+ "arguments": [],
1215
+ "directives": []
1216
+ },
1217
+ {
1218
+ "kind": "Field",
1219
+ "name": {
1220
+ "kind": "Name",
1221
+ "value": "createdAt"
1222
+ },
1223
+ "arguments": [],
1224
+ "directives": []
1225
+ }
1226
+ ]
1227
+ }
1228
+ }]
1229
+ };
1230
+
1231
+ // src/generated/documents/wspace/TaskQueuesDocument.ts
1232
+ const TaskQueuesDocument = {
1233
+ "kind": "Document",
1234
+ "definitions": [{
1235
+ "kind": "OperationDefinition",
1236
+ "operation": "query",
1237
+ "name": {
1238
+ "kind": "Name",
1239
+ "value": "TaskQueues"
1240
+ },
1241
+ "variableDefinitions": [],
1242
+ "directives": [],
1243
+ "selectionSet": {
1244
+ "kind": "SelectionSet",
1245
+ "selections": [{
1246
+ "kind": "Field",
1247
+ "name": {
1248
+ "kind": "Name",
1249
+ "value": "taskQueues"
1250
+ },
1251
+ "arguments": [],
1252
+ "directives": [],
1253
+ "selectionSet": {
1254
+ "kind": "SelectionSet",
1255
+ "selections": [{
1256
+ "kind": "FragmentSpread",
1257
+ "name": {
1258
+ "kind": "Name",
1259
+ "value": "TaskQueueFields"
1260
+ },
1261
+ "directives": []
1262
+ }]
1263
+ }
1264
+ }]
1265
+ }
1266
+ }, {
1267
+ "kind": "FragmentDefinition",
1268
+ "name": {
1269
+ "kind": "Name",
1270
+ "value": "TaskQueueFields"
1271
+ },
1272
+ "variableDefinitions": [],
1273
+ "typeCondition": {
1274
+ "kind": "NamedType",
1275
+ "name": {
1276
+ "kind": "Name",
1277
+ "value": "TaskQueue"
1278
+ }
1279
+ },
1280
+ "directives": [],
1281
+ "selectionSet": {
1282
+ "kind": "SelectionSet",
1283
+ "selections": [
1284
+ {
1285
+ "kind": "Field",
1286
+ "name": {
1287
+ "kind": "Name",
1288
+ "value": "id"
1289
+ },
1290
+ "arguments": [],
1291
+ "directives": []
1292
+ },
1293
+ {
1294
+ "kind": "Field",
1295
+ "name": {
1296
+ "kind": "Name",
1297
+ "value": "name"
1298
+ },
1299
+ "arguments": [],
1300
+ "directives": []
1301
+ },
1302
+ {
1303
+ "kind": "Field",
1304
+ "name": {
1305
+ "kind": "Name",
1306
+ "value": "kind"
1307
+ },
1308
+ "arguments": [],
1309
+ "directives": []
1310
+ },
1311
+ {
1312
+ "kind": "Field",
1313
+ "name": {
1314
+ "kind": "Name",
1315
+ "value": "environment"
1316
+ },
1317
+ "arguments": [],
1318
+ "directives": []
1319
+ },
1320
+ {
1321
+ "kind": "Field",
1322
+ "name": {
1323
+ "kind": "Name",
1324
+ "value": "description"
1325
+ },
1326
+ "arguments": [],
1327
+ "directives": []
1328
+ },
1329
+ {
1330
+ "kind": "Field",
1331
+ "name": {
1332
+ "kind": "Name",
1333
+ "value": "maxTasksPerSecond"
1334
+ },
1335
+ "arguments": [],
1336
+ "directives": []
1337
+ },
1338
+ {
1339
+ "kind": "Field",
1340
+ "name": {
1341
+ "kind": "Name",
1342
+ "value": "workerUnavailableTimeoutSeconds"
1343
+ },
1344
+ "arguments": [],
1345
+ "directives": []
1346
+ },
1347
+ {
1348
+ "kind": "Field",
1349
+ "name": {
1350
+ "kind": "Name",
1351
+ "value": "createdAt"
1352
+ },
1353
+ "arguments": [],
1354
+ "directives": []
1355
+ },
1356
+ {
1357
+ "kind": "Field",
1358
+ "name": {
1359
+ "kind": "Name",
1360
+ "value": "updatedAt"
1361
+ },
1362
+ "arguments": [],
1363
+ "directives": []
1364
+ }
1365
+ ]
1366
+ }
1367
+ }]
1368
+ };
1369
+
1370
+ // src/generated/documents/wspace/TaskQueueStatsDocument.ts
1371
+ const TaskQueueStatsDocument = {
1372
+ "kind": "Document",
1373
+ "definitions": [{
1374
+ "kind": "OperationDefinition",
1375
+ "operation": "query",
1376
+ "name": {
1377
+ "kind": "Name",
1378
+ "value": "TaskQueueStats"
1379
+ },
1380
+ "variableDefinitions": [{
1381
+ "kind": "VariableDefinition",
1382
+ "variable": {
1383
+ "kind": "Variable",
1384
+ "name": {
1385
+ "kind": "Name",
1386
+ "value": "name"
1387
+ }
1388
+ },
1389
+ "type": {
1390
+ "kind": "NonNullType",
1391
+ "type": {
1392
+ "kind": "NamedType",
1393
+ "name": {
1394
+ "kind": "Name",
1395
+ "value": "String"
1396
+ }
1397
+ }
1398
+ },
1399
+ "directives": []
1400
+ }, {
1401
+ "kind": "VariableDefinition",
1402
+ "variable": {
1403
+ "kind": "Variable",
1404
+ "name": {
1405
+ "kind": "Name",
1406
+ "value": "environment"
1407
+ }
1408
+ },
1409
+ "type": {
1410
+ "kind": "NamedType",
1411
+ "name": {
1412
+ "kind": "Name",
1413
+ "value": "WorkflowEnvironment"
1414
+ }
1415
+ },
1416
+ "directives": []
1417
+ }],
1418
+ "directives": [],
1419
+ "selectionSet": {
1420
+ "kind": "SelectionSet",
1421
+ "selections": [{
1422
+ "kind": "Field",
1423
+ "name": {
1424
+ "kind": "Name",
1425
+ "value": "taskQueueStats"
1426
+ },
1427
+ "arguments": [{
1428
+ "kind": "Argument",
1429
+ "name": {
1430
+ "kind": "Name",
1431
+ "value": "name"
1432
+ },
1433
+ "value": {
1434
+ "kind": "Variable",
1435
+ "name": {
1436
+ "kind": "Name",
1437
+ "value": "name"
1438
+ }
1439
+ }
1440
+ }, {
1441
+ "kind": "Argument",
1442
+ "name": {
1443
+ "kind": "Name",
1444
+ "value": "environment"
1445
+ },
1446
+ "value": {
1447
+ "kind": "Variable",
1448
+ "name": {
1449
+ "kind": "Name",
1450
+ "value": "environment"
1451
+ }
1452
+ }
1453
+ }],
1454
+ "directives": [],
1455
+ "selectionSet": {
1456
+ "kind": "SelectionSet",
1457
+ "selections": [
1458
+ {
1459
+ "kind": "Field",
1460
+ "name": {
1461
+ "kind": "Name",
1462
+ "value": "name"
1463
+ },
1464
+ "arguments": [],
1465
+ "directives": []
1466
+ },
1467
+ {
1468
+ "kind": "Field",
1469
+ "name": {
1470
+ "kind": "Name",
1471
+ "value": "environment"
1472
+ },
1473
+ "arguments": [],
1474
+ "directives": []
1475
+ },
1476
+ {
1477
+ "kind": "Field",
1478
+ "name": {
1479
+ "kind": "Name",
1480
+ "value": "known"
1481
+ },
1482
+ "arguments": [],
1483
+ "directives": []
1484
+ },
1485
+ {
1486
+ "kind": "Field",
1487
+ "name": {
1488
+ "kind": "Name",
1489
+ "value": "pollers"
1490
+ },
1491
+ "arguments": [],
1492
+ "directives": []
1493
+ },
1494
+ {
1495
+ "kind": "Field",
1496
+ "name": {
1497
+ "kind": "Name",
1498
+ "value": "workflow"
1499
+ },
1500
+ "arguments": [],
1501
+ "directives": [],
1502
+ "selectionSet": {
1503
+ "kind": "SelectionSet",
1504
+ "selections": [{
1505
+ "kind": "FragmentSpread",
1506
+ "name": {
1507
+ "kind": "Name",
1508
+ "value": "TaskQueueKindStatsFields"
1509
+ },
1510
+ "directives": []
1511
+ }]
1512
+ }
1513
+ },
1514
+ {
1515
+ "kind": "Field",
1516
+ "name": {
1517
+ "kind": "Name",
1518
+ "value": "activity"
1519
+ },
1520
+ "arguments": [],
1521
+ "directives": [],
1522
+ "selectionSet": {
1523
+ "kind": "SelectionSet",
1524
+ "selections": [{
1525
+ "kind": "FragmentSpread",
1526
+ "name": {
1527
+ "kind": "Name",
1528
+ "value": "TaskQueueKindStatsFields"
1529
+ },
1530
+ "directives": []
1531
+ }]
1532
+ }
1533
+ }
1534
+ ]
1535
+ }
1536
+ }]
1537
+ }
1538
+ }, {
1539
+ "kind": "FragmentDefinition",
1540
+ "name": {
1541
+ "kind": "Name",
1542
+ "value": "TaskQueueKindStatsFields"
1543
+ },
1544
+ "variableDefinitions": [],
1545
+ "typeCondition": {
1546
+ "kind": "NamedType",
1547
+ "name": {
1548
+ "kind": "Name",
1549
+ "value": "TaskQueueKindStats"
1550
+ }
1551
+ },
1552
+ "directives": [],
1553
+ "selectionSet": {
1554
+ "kind": "SelectionSet",
1555
+ "selections": [
1556
+ {
1557
+ "kind": "Field",
1558
+ "name": {
1559
+ "kind": "Name",
1560
+ "value": "backlogCount"
1561
+ },
1562
+ "arguments": [],
1563
+ "directives": []
1564
+ },
1565
+ {
1566
+ "kind": "Field",
1567
+ "name": {
1568
+ "kind": "Name",
1569
+ "value": "approxBacklogAgeSeconds"
1570
+ },
1571
+ "arguments": [],
1572
+ "directives": []
1573
+ },
1574
+ {
1575
+ "kind": "Field",
1576
+ "name": {
1577
+ "kind": "Name",
1578
+ "value": "tasksAddRate"
1579
+ },
1580
+ "arguments": [],
1581
+ "directives": []
1582
+ },
1583
+ {
1584
+ "kind": "Field",
1585
+ "name": {
1586
+ "kind": "Name",
1587
+ "value": "tasksDispatchRate"
1588
+ },
1589
+ "arguments": [],
1590
+ "directives": []
1591
+ },
1592
+ {
1593
+ "kind": "Field",
1594
+ "name": {
1595
+ "kind": "Name",
1596
+ "value": "priorities"
1597
+ },
1598
+ "arguments": [],
1599
+ "directives": [],
1600
+ "selectionSet": {
1601
+ "kind": "SelectionSet",
1602
+ "selections": [
1603
+ {
1604
+ "kind": "Field",
1605
+ "name": {
1606
+ "kind": "Name",
1607
+ "value": "priority"
1608
+ },
1609
+ "arguments": [],
1610
+ "directives": []
1611
+ },
1612
+ {
1613
+ "kind": "Field",
1614
+ "name": {
1615
+ "kind": "Name",
1616
+ "value": "backlogCount"
1617
+ },
1618
+ "arguments": [],
1619
+ "directives": []
1620
+ },
1621
+ {
1622
+ "kind": "Field",
1623
+ "name": {
1624
+ "kind": "Name",
1625
+ "value": "approxBacklogAgeSeconds"
1626
+ },
1627
+ "arguments": [],
1628
+ "directives": []
1629
+ }
1630
+ ]
1631
+ }
1632
+ }
1633
+ ]
1634
+ }
1635
+ }]
1636
+ };
1637
+
1638
+ // src/generated/documents/wspace/WorkflowWorkersDocument.ts
1639
+ const WorkflowWorkersDocument = {
1640
+ "kind": "Document",
1641
+ "definitions": [{
1642
+ "kind": "OperationDefinition",
1643
+ "operation": "query",
1644
+ "name": {
1645
+ "kind": "Name",
1646
+ "value": "WorkflowWorkers"
1647
+ },
1648
+ "variableDefinitions": [{
1649
+ "kind": "VariableDefinition",
1650
+ "variable": {
1651
+ "kind": "Variable",
1652
+ "name": {
1653
+ "kind": "Name",
1654
+ "value": "filter"
1655
+ }
1656
+ },
1657
+ "type": {
1658
+ "kind": "NamedType",
1659
+ "name": {
1660
+ "kind": "Name",
1661
+ "value": "SandboxWorkflowWorkersFilter"
1662
+ }
1663
+ },
1664
+ "directives": []
1665
+ }],
1666
+ "directives": [],
1667
+ "selectionSet": {
1668
+ "kind": "SelectionSet",
1669
+ "selections": [{
1670
+ "kind": "Field",
1671
+ "name": {
1672
+ "kind": "Name",
1673
+ "value": "workflowWorkers"
1674
+ },
1675
+ "arguments": [{
1676
+ "kind": "Argument",
1677
+ "name": {
1678
+ "kind": "Name",
1679
+ "value": "filter"
1680
+ },
1681
+ "value": {
1682
+ "kind": "Variable",
1683
+ "name": {
1684
+ "kind": "Name",
1685
+ "value": "filter"
1686
+ }
1687
+ }
1688
+ }, {
1689
+ "kind": "Argument",
1690
+ "name": {
1691
+ "kind": "Name",
1692
+ "value": "context"
1693
+ },
1694
+ "value": {
1695
+ "kind": "ObjectValue",
1696
+ "fields": []
1697
+ }
1698
+ }],
1699
+ "directives": [],
1700
+ "selectionSet": {
1701
+ "kind": "SelectionSet",
1702
+ "selections": [{
1703
+ "kind": "FragmentSpread",
1704
+ "name": {
1705
+ "kind": "Name",
1706
+ "value": "SandboxWorkflowWorkerFields"
1707
+ },
1708
+ "directives": []
1709
+ }]
1710
+ }
1711
+ }]
1712
+ }
1713
+ }, {
1714
+ "kind": "FragmentDefinition",
1715
+ "name": {
1716
+ "kind": "Name",
1717
+ "value": "SandboxWorkflowWorkerFields"
1718
+ },
1719
+ "variableDefinitions": [],
1720
+ "typeCondition": {
1721
+ "kind": "NamedType",
1722
+ "name": {
1723
+ "kind": "Name",
1724
+ "value": "SandboxWorkflowWorker"
1725
+ }
1726
+ },
1727
+ "directives": [],
1728
+ "selectionSet": {
1729
+ "kind": "SelectionSet",
1730
+ "selections": [
1731
+ {
1732
+ "kind": "Field",
1733
+ "name": {
1734
+ "kind": "Name",
1735
+ "value": "id"
1736
+ },
1737
+ "arguments": [],
1738
+ "directives": []
1739
+ },
1740
+ {
1741
+ "kind": "Field",
1742
+ "name": {
1743
+ "kind": "Name",
1744
+ "value": "workerId"
1745
+ },
1746
+ "arguments": [],
1747
+ "directives": []
1748
+ },
1749
+ {
1750
+ "kind": "Field",
1751
+ "name": {
1752
+ "kind": "Name",
1753
+ "value": "tokenId"
1754
+ },
1755
+ "arguments": [],
1756
+ "directives": []
1757
+ },
1758
+ {
1759
+ "kind": "Field",
1760
+ "name": {
1761
+ "kind": "Name",
1762
+ "value": "tokenName"
1763
+ },
1764
+ "arguments": [],
1765
+ "directives": []
1766
+ },
1767
+ {
1768
+ "kind": "Field",
1769
+ "name": {
1770
+ "kind": "Name",
1771
+ "value": "identity"
1772
+ },
1773
+ "arguments": [],
1774
+ "directives": []
1775
+ },
1776
+ {
1777
+ "kind": "Field",
1778
+ "name": {
1779
+ "kind": "Name",
1780
+ "value": "sdkLanguage"
1781
+ },
1782
+ "arguments": [],
1783
+ "directives": []
1784
+ },
1785
+ {
1786
+ "kind": "Field",
1787
+ "name": {
1788
+ "kind": "Name",
1789
+ "value": "sdkVersion"
1790
+ },
1791
+ "arguments": [],
1792
+ "directives": []
1793
+ },
1794
+ {
1795
+ "kind": "Field",
1796
+ "name": {
1797
+ "kind": "Name",
1798
+ "value": "taskQueues"
1799
+ },
1800
+ "arguments": [],
1801
+ "directives": []
1802
+ },
1803
+ {
1804
+ "kind": "Field",
1805
+ "name": {
1806
+ "kind": "Name",
1807
+ "value": "buildIds"
1808
+ },
1809
+ "arguments": [],
1810
+ "directives": []
1811
+ },
1812
+ {
1813
+ "kind": "Field",
1814
+ "name": {
1815
+ "kind": "Name",
1816
+ "value": "workflows"
1817
+ },
1818
+ "arguments": [],
1819
+ "directives": []
1820
+ },
1821
+ {
1822
+ "kind": "Field",
1823
+ "name": {
1824
+ "kind": "Name",
1825
+ "value": "activities"
1826
+ },
1827
+ "arguments": [],
1828
+ "directives": []
1829
+ },
1830
+ {
1831
+ "kind": "Field",
1832
+ "name": {
1833
+ "kind": "Name",
1834
+ "value": "encodings"
1835
+ },
1836
+ "arguments": [],
1837
+ "directives": []
1838
+ },
1839
+ {
1840
+ "kind": "Field",
1841
+ "name": {
1842
+ "kind": "Name",
1843
+ "value": "status"
1844
+ },
1845
+ "arguments": [],
1846
+ "directives": []
1847
+ },
1848
+ {
1849
+ "kind": "Field",
1850
+ "name": {
1851
+ "kind": "Name",
1852
+ "value": "stale"
1853
+ },
1854
+ "arguments": [],
1855
+ "directives": []
1856
+ },
1857
+ {
1858
+ "kind": "Field",
1859
+ "name": {
1860
+ "kind": "Name",
1861
+ "value": "startedAt"
1862
+ },
1863
+ "arguments": [],
1864
+ "directives": []
1865
+ },
1866
+ {
1867
+ "kind": "Field",
1868
+ "name": {
1869
+ "kind": "Name",
1870
+ "value": "lastHeartbeatAt"
1871
+ },
1872
+ "arguments": [],
1873
+ "directives": []
1874
+ },
1875
+ {
1876
+ "kind": "Field",
1877
+ "name": {
1878
+ "kind": "Name",
1879
+ "value": "endedAt"
1880
+ },
1881
+ "arguments": [],
1882
+ "directives": []
1883
+ },
1884
+ {
1885
+ "kind": "Field",
1886
+ "name": {
1887
+ "kind": "Name",
1888
+ "value": "endReason"
1889
+ },
1890
+ "arguments": [],
1891
+ "directives": []
1892
+ },
1893
+ {
1894
+ "kind": "Field",
1895
+ "name": {
1896
+ "kind": "Name",
1897
+ "value": "slots"
1898
+ },
1899
+ "arguments": [],
1900
+ "directives": [],
1901
+ "selectionSet": {
1902
+ "kind": "SelectionSet",
1903
+ "selections": [
1904
+ {
1905
+ "kind": "Field",
1906
+ "name": {
1907
+ "kind": "Name",
1908
+ "value": "workflow"
1909
+ },
1910
+ "arguments": [],
1911
+ "directives": [],
1912
+ "selectionSet": {
1913
+ "kind": "SelectionSet",
1914
+ "selections": [{
1915
+ "kind": "Field",
1916
+ "name": {
1917
+ "kind": "Name",
1918
+ "value": "used"
1919
+ },
1920
+ "arguments": [],
1921
+ "directives": []
1922
+ }, {
1923
+ "kind": "Field",
1924
+ "name": {
1925
+ "kind": "Name",
1926
+ "value": "total"
1927
+ },
1928
+ "arguments": [],
1929
+ "directives": []
1930
+ }]
1931
+ }
1932
+ },
1933
+ {
1934
+ "kind": "Field",
1935
+ "name": {
1936
+ "kind": "Name",
1937
+ "value": "activity"
1938
+ },
1939
+ "arguments": [],
1940
+ "directives": [],
1941
+ "selectionSet": {
1942
+ "kind": "SelectionSet",
1943
+ "selections": [{
1944
+ "kind": "Field",
1945
+ "name": {
1946
+ "kind": "Name",
1947
+ "value": "used"
1948
+ },
1949
+ "arguments": [],
1950
+ "directives": []
1951
+ }, {
1952
+ "kind": "Field",
1953
+ "name": {
1954
+ "kind": "Name",
1955
+ "value": "total"
1956
+ },
1957
+ "arguments": [],
1958
+ "directives": []
1959
+ }]
1960
+ }
1961
+ },
1962
+ {
1963
+ "kind": "Field",
1964
+ "name": {
1965
+ "kind": "Name",
1966
+ "value": "localActivity"
1967
+ },
1968
+ "arguments": [],
1969
+ "directives": [],
1970
+ "selectionSet": {
1971
+ "kind": "SelectionSet",
1972
+ "selections": [{
1973
+ "kind": "Field",
1974
+ "name": {
1975
+ "kind": "Name",
1976
+ "value": "used"
1977
+ },
1978
+ "arguments": [],
1979
+ "directives": []
1980
+ }, {
1981
+ "kind": "Field",
1982
+ "name": {
1983
+ "kind": "Name",
1984
+ "value": "total"
1985
+ },
1986
+ "arguments": [],
1987
+ "directives": []
1988
+ }]
1989
+ }
1990
+ }
1991
+ ]
1992
+ }
1993
+ },
1994
+ {
1995
+ "kind": "Field",
1996
+ "name": {
1997
+ "kind": "Name",
1998
+ "value": "pollers"
1999
+ },
2000
+ "arguments": [],
2001
+ "directives": [],
2002
+ "selectionSet": {
2003
+ "kind": "SelectionSet",
2004
+ "selections": [{
2005
+ "kind": "Field",
2006
+ "name": {
2007
+ "kind": "Name",
2008
+ "value": "workflow"
2009
+ },
2010
+ "arguments": [],
2011
+ "directives": []
2012
+ }, {
2013
+ "kind": "Field",
2014
+ "name": {
2015
+ "kind": "Name",
2016
+ "value": "activity"
2017
+ },
2018
+ "arguments": [],
2019
+ "directives": []
2020
+ }]
2021
+ }
2022
+ },
2023
+ {
2024
+ "kind": "Field",
2025
+ "name": {
2026
+ "kind": "Name",
2027
+ "value": "tasksInFlight"
2028
+ },
2029
+ "arguments": [],
2030
+ "directives": []
2031
+ },
2032
+ {
2033
+ "kind": "Field",
2034
+ "name": {
2035
+ "kind": "Name",
2036
+ "value": "cachedRuns"
2037
+ },
2038
+ "arguments": [],
2039
+ "directives": []
2040
+ },
2041
+ {
2042
+ "kind": "Field",
2043
+ "name": {
2044
+ "kind": "Name",
2045
+ "value": "host"
2046
+ },
2047
+ "arguments": [],
2048
+ "directives": [],
2049
+ "selectionSet": {
2050
+ "kind": "SelectionSet",
2051
+ "selections": [
2052
+ {
2053
+ "kind": "Field",
2054
+ "name": {
2055
+ "kind": "Name",
2056
+ "value": "os"
2057
+ },
2058
+ "arguments": [],
2059
+ "directives": []
2060
+ },
2061
+ {
2062
+ "kind": "Field",
2063
+ "name": {
2064
+ "kind": "Name",
2065
+ "value": "arch"
2066
+ },
2067
+ "arguments": [],
2068
+ "directives": []
2069
+ },
2070
+ {
2071
+ "kind": "Field",
2072
+ "name": {
2073
+ "kind": "Name",
2074
+ "value": "hostname"
2075
+ },
2076
+ "arguments": [],
2077
+ "directives": []
2078
+ },
2079
+ {
2080
+ "kind": "Field",
2081
+ "name": {
2082
+ "kind": "Name",
2083
+ "value": "runtime"
2084
+ },
2085
+ "arguments": [],
2086
+ "directives": []
2087
+ }
2088
+ ]
2089
+ }
2090
+ }
2091
+ ]
2092
+ }
2093
+ }]
2094
+ };
2095
+
2096
+ // src/generated/documents/wspace/WorkerTokensDocument.ts
2097
+ const WorkerTokensDocument = {
2098
+ "kind": "Document",
2099
+ "definitions": [{
2100
+ "kind": "OperationDefinition",
2101
+ "operation": "query",
2102
+ "name": {
2103
+ "kind": "Name",
2104
+ "value": "WorkerTokens"
2105
+ },
2106
+ "variableDefinitions": [],
2107
+ "directives": [],
2108
+ "selectionSet": {
2109
+ "kind": "SelectionSet",
2110
+ "selections": [{
2111
+ "kind": "Field",
2112
+ "name": {
2113
+ "kind": "Name",
2114
+ "value": "workerTokens"
2115
+ },
2116
+ "arguments": [{
2117
+ "kind": "Argument",
2118
+ "name": {
2119
+ "kind": "Name",
2120
+ "value": "context"
2121
+ },
2122
+ "value": {
2123
+ "kind": "ObjectValue",
2124
+ "fields": []
2125
+ }
2126
+ }],
2127
+ "directives": [],
2128
+ "selectionSet": {
2129
+ "kind": "SelectionSet",
2130
+ "selections": [{
2131
+ "kind": "FragmentSpread",
2132
+ "name": {
2133
+ "kind": "Name",
2134
+ "value": "SandboxWorkerTokenFields"
2135
+ },
2136
+ "directives": []
2137
+ }]
2138
+ }
2139
+ }]
2140
+ }
2141
+ }, {
2142
+ "kind": "FragmentDefinition",
2143
+ "name": {
2144
+ "kind": "Name",
2145
+ "value": "SandboxWorkerTokenFields"
2146
+ },
2147
+ "variableDefinitions": [],
2148
+ "typeCondition": {
2149
+ "kind": "NamedType",
2150
+ "name": {
2151
+ "kind": "Name",
2152
+ "value": "SandboxWorkerToken"
2153
+ }
2154
+ },
2155
+ "directives": [],
2156
+ "selectionSet": {
2157
+ "kind": "SelectionSet",
2158
+ "selections": [
2159
+ {
2160
+ "kind": "Field",
2161
+ "name": {
2162
+ "kind": "Name",
2163
+ "value": "id"
2164
+ },
2165
+ "arguments": [],
2166
+ "directives": []
2167
+ },
2168
+ {
2169
+ "kind": "Field",
2170
+ "name": {
2171
+ "kind": "Name",
2172
+ "value": "name"
2173
+ },
2174
+ "arguments": [],
2175
+ "directives": []
2176
+ },
2177
+ {
2178
+ "kind": "Field",
2179
+ "name": {
2180
+ "kind": "Name",
2181
+ "value": "taskQueues"
2182
+ },
2183
+ "arguments": [],
2184
+ "directives": []
2185
+ },
2186
+ {
2187
+ "kind": "Field",
2188
+ "name": {
2189
+ "kind": "Name",
2190
+ "value": "connectionAllowlist"
2191
+ },
2192
+ "arguments": [],
2193
+ "directives": []
2194
+ },
2195
+ {
2196
+ "kind": "Field",
2197
+ "name": {
2198
+ "kind": "Name",
2199
+ "value": "tokenPrefix"
2200
+ },
2201
+ "arguments": [],
2202
+ "directives": []
2203
+ },
2204
+ {
2205
+ "kind": "Field",
2206
+ "name": {
2207
+ "kind": "Name",
2208
+ "value": "activeSessions"
2209
+ },
2210
+ "arguments": [],
2211
+ "directives": []
2212
+ },
2213
+ {
2214
+ "kind": "Field",
2215
+ "name": {
2216
+ "kind": "Name",
2217
+ "value": "createdBy"
2218
+ },
2219
+ "arguments": [],
2220
+ "directives": []
2221
+ },
2222
+ {
2223
+ "kind": "Field",
2224
+ "name": {
2225
+ "kind": "Name",
2226
+ "value": "createdAt"
2227
+ },
2228
+ "arguments": [],
2229
+ "directives": []
2230
+ }
2231
+ ]
2232
+ }
2233
+ }]
2234
+ };
2235
+
2236
+ // src/modules/task-queues/api.ts
2237
+ /**
2238
+ * Task queues and self-hosted workers (BOFF-9906, spec code-first 04 §8 and
2239
+ * 08 §3): the queue CRUD and stats of wspace-workflow-svc, and the workers
2240
+ * and worker tokens of wspace-sandbox-svc, both through the workspace
2241
+ * gateway. Sent only while fluidgrids.self-hosted-workers is on.
2242
+ */
2243
+ async function fetchTaskQueues() {
2244
+ return (await readTyped(TaskQueuesDocument, {})).taskQueues;
2245
+ }
2246
+ async function fetchTaskQueueStats(name, environment) {
2247
+ return (await readTyped(TaskQueueStatsDocument, {
2248
+ name,
2249
+ environment: environment ?? null
2250
+ })).taskQueueStats;
2251
+ }
2252
+ async function createTaskQueue(input) {
2253
+ return (await writeTyped(CreateTaskQueueDocument, { input })).createTaskQueue;
2254
+ }
2255
+ async function updateTaskQueue(id, input) {
2256
+ return (await writeTyped(UpdateTaskQueueDocument, {
2257
+ id,
2258
+ input
2259
+ })).updateTaskQueue;
2260
+ }
2261
+ async function deleteTaskQueue(id) {
2262
+ return (await writeTyped(DeleteTaskQueueDocument, { id })).deleteTaskQueue;
2263
+ }
2264
+ async function fetchWorkflowWorkers(filter) {
2265
+ return (await readTyped(WorkflowWorkersDocument, { filter: filter ?? null })).workflowWorkers;
2266
+ }
2267
+ async function fetchWorkerTokens() {
2268
+ return (await readTyped(WorkerTokensDocument, {})).workerTokens;
2269
+ }
2270
+ async function createWorkerToken(input) {
2271
+ return (await writeTyped(CreateWorkerTokenDocument, input)).createWorkerToken;
2272
+ }
2273
+ async function rotateWorkerToken(id) {
2274
+ return (await writeTyped(RotateWorkerTokenDocument, { id })).rotateWorkerToken;
2275
+ }
2276
+ async function deleteWorkerToken(id) {
2277
+ return (await writeTyped(DeleteWorkerTokenDocument, { id })).deleteWorkerToken;
2278
+ }
2279
+ async function setWorkerTokenConnectionAllowlist(id, names) {
2280
+ return (await writeTyped(SetWorkerTokenConnectionAllowlistDocument, {
2281
+ id,
2282
+ names
2283
+ })).setWorkerTokenConnectionAllowlist;
2284
+ }
2285
+
2286
+ export { CreateTaskQueueDocument as S, DeleteWorkerTokenDocument as _, fetchTaskQueueStats as a, DeleteTaskQueueDocument as b, fetchWorkflowWorkers as c, updateTaskQueue as d, WorkerTokensDocument as f, SetWorkerTokenConnectionAllowlistDocument as g, TaskQueuesDocument as h, deleteWorkerToken as i, rotateWorkerToken as l, TaskQueueStatsDocument as m, createWorkerToken as n, fetchTaskQueues as o, WorkflowWorkersDocument as p, deleteTaskQueue as r, fetchWorkerTokens as s, createTaskQueue as t, setWorkerTokenConnectionAllowlist as u, RotateWorkerTokenDocument as v, UpdateTaskQueueDocument as x, CreateWorkerTokenDocument as y };