@fluidgrids/cli 2026.1108.1 → 2026.1110.1
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.
- package/README.md +1 -1
- package/dist/cli.js +9708 -33
- package/package.json +37 -33
- package/dist/auth/device-login.d.ts +0 -31
- package/dist/auth/device-login.d.ts.map +0 -1
- package/dist/auth/device-login.js +0 -75
- package/dist/auth/device-login.js.map +0 -1
- package/dist/auth/token-auth.d.ts +0 -49
- package/dist/auth/token-auth.d.ts.map +0 -1
- package/dist/auth/token-auth.js +0 -279
- package/dist/auth/token-auth.js.map +0 -1
- package/dist/cli.d.ts +0 -10
- package/dist/cli.d.ts.map +0 -1
- package/dist/cli.js.map +0 -1
- package/dist/code-first/api.d.ts +0 -607
- package/dist/code-first/api.d.ts.map +0 -1
- package/dist/code-first/api.js +0 -438
- package/dist/code-first/api.js.map +0 -1
- package/dist/code-first/code-upload.d.ts +0 -68
- package/dist/code-first/code-upload.d.ts.map +0 -1
- package/dist/code-first/code-upload.js +0 -223
- package/dist/code-first/code-upload.js.map +0 -1
- package/dist/code-first/commands/codegen.d.ts +0 -20
- package/dist/code-first/commands/codegen.d.ts.map +0 -1
- package/dist/code-first/commands/codegen.js +0 -50
- package/dist/code-first/commands/codegen.js.map +0 -1
- package/dist/code-first/commands/diff.d.ts +0 -28
- package/dist/code-first/commands/diff.d.ts.map +0 -1
- package/dist/code-first/commands/diff.js +0 -73
- package/dist/code-first/commands/diff.js.map +0 -1
- package/dist/code-first/commands/hotfix.d.ts +0 -55
- package/dist/code-first/commands/hotfix.d.ts.map +0 -1
- package/dist/code-first/commands/hotfix.js +0 -231
- package/dist/code-first/commands/hotfix.js.map +0 -1
- package/dist/code-first/commands/import.d.ts +0 -40
- package/dist/code-first/commands/import.d.ts.map +0 -1
- package/dist/code-first/commands/import.js +0 -235
- package/dist/code-first/commands/import.js.map +0 -1
- package/dist/code-first/commands/init.d.ts +0 -33
- package/dist/code-first/commands/init.d.ts.map +0 -1
- package/dist/code-first/commands/init.js +0 -177
- package/dist/code-first/commands/init.js.map +0 -1
- package/dist/code-first/commands/interface.d.ts +0 -12
- package/dist/code-first/commands/interface.d.ts.map +0 -1
- package/dist/code-first/commands/interface.js +0 -21
- package/dist/code-first/commands/interface.js.map +0 -1
- package/dist/code-first/commands/pull.d.ts +0 -63
- package/dist/code-first/commands/pull.d.ts.map +0 -1
- package/dist/code-first/commands/pull.js +0 -266
- package/dist/code-first/commands/pull.js.map +0 -1
- package/dist/code-first/commands/push.d.ts +0 -104
- package/dist/code-first/commands/push.d.ts.map +0 -1
- package/dist/code-first/commands/push.js +0 -320
- package/dist/code-first/commands/push.js.map +0 -1
- package/dist/code-first/commands/replay.d.ts +0 -44
- package/dist/code-first/commands/replay.d.ts.map +0 -1
- package/dist/code-first/commands/replay.js +0 -271
- package/dist/code-first/commands/replay.js.map +0 -1
- package/dist/code-first/commands/runs.d.ts +0 -168
- package/dist/code-first/commands/runs.d.ts.map +0 -1
- package/dist/code-first/commands/runs.js +0 -598
- package/dist/code-first/commands/runs.js.map +0 -1
- package/dist/code-first/commands/suite.d.ts +0 -57
- package/dist/code-first/commands/suite.d.ts.map +0 -1
- package/dist/code-first/commands/suite.js +0 -197
- package/dist/code-first/commands/suite.js.map +0 -1
- package/dist/code-first/commands/validate.d.ts +0 -38
- package/dist/code-first/commands/validate.d.ts.map +0 -1
- package/dist/code-first/commands/validate.js +0 -140
- package/dist/code-first/commands/validate.js.map +0 -1
- package/dist/code-first/commands/versions.d.ts +0 -63
- package/dist/code-first/commands/versions.d.ts.map +0 -1
- package/dist/code-first/commands/versions.js +0 -204
- package/dist/code-first/commands/versions.js.map +0 -1
- package/dist/code-first/connections.d.ts +0 -55
- package/dist/code-first/connections.d.ts.map +0 -1
- package/dist/code-first/connections.js +0 -180
- package/dist/code-first/connections.js.map +0 -1
- package/dist/code-first/durable-operations.d.ts +0 -41
- package/dist/code-first/durable-operations.d.ts.map +0 -1
- package/dist/code-first/durable-operations.js +0 -135
- package/dist/code-first/durable-operations.js.map +0 -1
- package/dist/code-first/history.d.ts +0 -30
- package/dist/code-first/history.d.ts.map +0 -1
- package/dist/code-first/history.js +0 -139
- package/dist/code-first/history.js.map +0 -1
- package/dist/code-first/imports.d.ts +0 -22
- package/dist/code-first/imports.d.ts.map +0 -1
- package/dist/code-first/imports.js +0 -67
- package/dist/code-first/imports.js.map +0 -1
- package/dist/code-first/index.d.ts +0 -18
- package/dist/code-first/index.d.ts.map +0 -1
- package/dist/code-first/index.js +0 -36
- package/dist/code-first/index.js.map +0 -1
- package/dist/code-first/junit.d.ts +0 -24
- package/dist/code-first/junit.d.ts.map +0 -1
- package/dist/code-first/junit.js +0 -163
- package/dist/code-first/junit.js.map +0 -1
- package/dist/code-first/lowering.d.ts +0 -104
- package/dist/code-first/lowering.d.ts.map +0 -1
- package/dist/code-first/lowering.js +0 -254
- package/dist/code-first/lowering.js.map +0 -1
- package/dist/code-first/operations.d.ts +0 -55
- package/dist/code-first/operations.d.ts.map +0 -1
- package/dist/code-first/operations.js +0 -165
- package/dist/code-first/operations.js.map +0 -1
- package/dist/code-first/parity-operations.d.ts +0 -44
- package/dist/code-first/parity-operations.d.ts.map +0 -1
- package/dist/code-first/parity-operations.js +0 -211
- package/dist/code-first/parity-operations.js.map +0 -1
- package/dist/code-first/parity.d.ts +0 -83
- package/dist/code-first/parity.d.ts.map +0 -1
- package/dist/code-first/parity.js +0 -301
- package/dist/code-first/parity.js.map +0 -1
- package/dist/code-first/presigned.d.ts +0 -21
- package/dist/code-first/presigned.d.ts.map +0 -1
- package/dist/code-first/presigned.js +0 -85
- package/dist/code-first/presigned.js.map +0 -1
- package/dist/code-first/project.d.ts +0 -130
- package/dist/code-first/project.d.ts.map +0 -1
- package/dist/code-first/project.js +0 -308
- package/dist/code-first/project.js.map +0 -1
- package/dist/code-first/python-build.d.ts +0 -78
- package/dist/code-first/python-build.d.ts.map +0 -1
- package/dist/code-first/python-build.js +0 -268
- package/dist/code-first/python-build.js.map +0 -1
- package/dist/code-first/python.d.ts +0 -103
- package/dist/code-first/python.d.ts.map +0 -1
- package/dist/code-first/python.js +0 -260
- package/dist/code-first/python.js.map +0 -1
- package/dist/code-first/redact.d.ts +0 -31
- package/dist/code-first/redact.d.ts.map +0 -1
- package/dist/code-first/redact.js +0 -159
- package/dist/code-first/redact.js.map +0 -1
- package/dist/code-first/register.d.ts +0 -35
- package/dist/code-first/register.d.ts.map +0 -1
- package/dist/code-first/register.js +0 -420
- package/dist/code-first/register.js.map +0 -1
- package/dist/code-first/remote.d.ts +0 -58
- package/dist/code-first/remote.d.ts.map +0 -1
- package/dist/code-first/remote.js +0 -126
- package/dist/code-first/remote.js.map +0 -1
- package/dist/code-first/replay.d.ts +0 -36
- package/dist/code-first/replay.d.ts.map +0 -1
- package/dist/code-first/replay.js +0 -52
- package/dist/code-first/replay.js.map +0 -1
- package/dist/code-first/shared.d.ts +0 -53
- package/dist/code-first/shared.d.ts.map +0 -1
- package/dist/code-first/shared.js +0 -94
- package/dist/code-first/shared.js.map +0 -1
- package/dist/code-first/test-suite-operations.d.ts +0 -16
- package/dist/code-first/test-suite-operations.d.ts.map +0 -1
- package/dist/code-first/test-suite-operations.js +0 -44
- package/dist/code-first/test-suite-operations.js.map +0 -1
- package/dist/config/apply.d.ts +0 -51
- package/dist/config/apply.d.ts.map +0 -1
- package/dist/config/apply.js +0 -121
- package/dist/config/apply.js.map +0 -1
- package/dist/config/commands.d.ts +0 -58
- package/dist/config/commands.d.ts.map +0 -1
- package/dist/config/commands.js +0 -252
- package/dist/config/commands.js.map +0 -1
- package/dist/config/profiles.d.ts +0 -108
- package/dist/config/profiles.d.ts.map +0 -1
- package/dist/config/profiles.js +0 -339
- package/dist/config/profiles.js.map +0 -1
- package/dist/flag-hint.d.ts +0 -46
- package/dist/flag-hint.d.ts.map +0 -1
- package/dist/flag-hint.js +0 -114
- package/dist/flag-hint.js.map +0 -1
- package/dist/modules.d.ts +0 -17
- package/dist/modules.d.ts.map +0 -1
- package/dist/modules.js +0 -65
- package/dist/modules.js.map +0 -1
- package/dist/phase-c/api.d.ts +0 -433
- package/dist/phase-c/api.d.ts.map +0 -1
- package/dist/phase-c/api.js +0 -334
- package/dist/phase-c/api.js.map +0 -1
- package/dist/phase-c/commands/activities.d.ts +0 -119
- package/dist/phase-c/commands/activities.d.ts.map +0 -1
- package/dist/phase-c/commands/activities.js +0 -287
- package/dist/phase-c/commands/activities.js.map +0 -1
- package/dist/phase-c/commands/batch.d.ts +0 -90
- package/dist/phase-c/commands/batch.d.ts.map +0 -1
- package/dist/phase-c/commands/batch.js +0 -296
- package/dist/phase-c/commands/batch.js.map +0 -1
- package/dist/phase-c/commands/queues.d.ts +0 -67
- package/dist/phase-c/commands/queues.d.ts.map +0 -1
- package/dist/phase-c/commands/queues.js +0 -183
- package/dist/phase-c/commands/queues.js.map +0 -1
- package/dist/phase-c/commands/run-control.d.ts +0 -76
- package/dist/phase-c/commands/run-control.d.ts.map +0 -1
- package/dist/phase-c/commands/run-control.js +0 -245
- package/dist/phase-c/commands/run-control.js.map +0 -1
- package/dist/phase-c/commands/schedules.d.ts +0 -63
- package/dist/phase-c/commands/schedules.d.ts.map +0 -1
- package/dist/phase-c/commands/schedules.js +0 -198
- package/dist/phase-c/commands/schedules.js.map +0 -1
- package/dist/phase-c/commands/search-attributes.d.ts +0 -30
- package/dist/phase-c/commands/search-attributes.d.ts.map +0 -1
- package/dist/phase-c/commands/search-attributes.js +0 -70
- package/dist/phase-c/commands/search-attributes.js.map +0 -1
- package/dist/phase-c/commands/signal-tokens.d.ts +0 -27
- package/dist/phase-c/commands/signal-tokens.d.ts.map +0 -1
- package/dist/phase-c/commands/signal-tokens.js +0 -68
- package/dist/phase-c/commands/signal-tokens.js.map +0 -1
- package/dist/phase-c/commands/worker-run.d.ts +0 -109
- package/dist/phase-c/commands/worker-run.d.ts.map +0 -1
- package/dist/phase-c/commands/worker-run.js +0 -484
- package/dist/phase-c/commands/worker-run.js.map +0 -1
- package/dist/phase-c/commands/workers.d.ts +0 -46
- package/dist/phase-c/commands/workers.d.ts.map +0 -1
- package/dist/phase-c/commands/workers.js +0 -140
- package/dist/phase-c/commands/workers.js.map +0 -1
- package/dist/phase-c/index.d.ts +0 -16
- package/dist/phase-c/index.d.ts.map +0 -1
- package/dist/phase-c/index.js +0 -25
- package/dist/phase-c/index.js.map +0 -1
- package/dist/phase-c/operations.d.ts +0 -67
- package/dist/phase-c/operations.d.ts.map +0 -1
- package/dist/phase-c/operations.js +0 -559
- package/dist/phase-c/operations.js.map +0 -1
- package/dist/phase-c/register.d.ts +0 -39
- package/dist/phase-c/register.d.ts.map +0 -1
- package/dist/phase-c/register.js +0 -678
- package/dist/phase-c/register.js.map +0 -1
- package/dist/phase-c/shared.d.ts +0 -44
- package/dist/phase-c/shared.d.ts.map +0 -1
- package/dist/phase-c/shared.js +0 -146
- package/dist/phase-c/shared.js.map +0 -1
- package/dist/product-defaults.d.ts +0 -11
- package/dist/product-defaults.d.ts.map +0 -1
- package/dist/product-defaults.js +0 -25
- package/dist/product-defaults.js.map +0 -1
- package/dist/program.d.ts +0 -25
- package/dist/program.d.ts.map +0 -1
- package/dist/program.js +0 -60
- package/dist/program.js.map +0 -1
|
@@ -1,559 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* GraphQL documents of the Phase C command groups (BOFF-9906, spec code-first
|
|
3
|
-
* 11 §2.36): task queues, self-hosted workers and worker tokens, run control
|
|
4
|
-
* (queries, updates, reset, trace), activities and pause rules, signal tokens,
|
|
5
|
-
* search attributes, batch operations and schedule policies.
|
|
6
|
-
*
|
|
7
|
-
* Every document validates against `schema/wspace.graphql`, the production
|
|
8
|
-
* supergraph snapshot, which carries the Phase C releases of wspace-workflow-svc
|
|
9
|
-
* and wspace-sandbox-svc; `tests/phase-c/operations.test.ts` checks it. The
|
|
10
|
-
* services gate every operation that starts new work on its
|
|
11
|
-
* Phase C flag (failing closed with FEATURE_DISABLED); the CLI does not repeat
|
|
12
|
-
* those checks.
|
|
13
|
-
*/
|
|
14
|
-
const RUN_FIELDS = `
|
|
15
|
-
id status workflowKey version executionKind taskQueue
|
|
16
|
-
resetFromRunId resetToRunId continuedToRunId
|
|
17
|
-
`;
|
|
18
|
-
const UPDATE_FIELDS = `
|
|
19
|
-
runId updateId name status result failure createdAt acceptedAt completedAt
|
|
20
|
-
`;
|
|
21
|
-
const QUEUE_FIELDS = `
|
|
22
|
-
id name kind environment description maxTasksPerSecond workerUnavailableTimeoutSeconds
|
|
23
|
-
createdAt updatedAt
|
|
24
|
-
`;
|
|
25
|
-
const KIND_STATS = `
|
|
26
|
-
backlogCount approxBacklogAgeSeconds tasksAddRate tasksDispatchRate
|
|
27
|
-
priorities { priority backlogCount approxBacklogAgeSeconds }
|
|
28
|
-
`;
|
|
29
|
-
const WORKER_FIELDS = `
|
|
30
|
-
id workerId tokenId tokenName identity sdkLanguage sdkVersion taskQueues buildIds
|
|
31
|
-
workflows activities encodings status stale startedAt lastHeartbeatAt endedAt endReason
|
|
32
|
-
slots {
|
|
33
|
-
workflow { used total }
|
|
34
|
-
activity { used total }
|
|
35
|
-
localActivity { used total }
|
|
36
|
-
}
|
|
37
|
-
pollers { workflow activity }
|
|
38
|
-
tasksInFlight cachedRuns
|
|
39
|
-
host { os arch hostname runtime }
|
|
40
|
-
`;
|
|
41
|
-
const WORKER_TOKEN_FIELDS = `
|
|
42
|
-
id name taskQueues connectionAllowlist tokenPrefix activeSessions createdBy createdAt
|
|
43
|
-
`;
|
|
44
|
-
const PAUSE_RULE_FIELDS = `
|
|
45
|
-
id activityType nodeType workflowKey reason expiresAt createdBy createdAt
|
|
46
|
-
`;
|
|
47
|
-
const SIGNAL_TOKEN_FIELDS = `
|
|
48
|
-
id runId signalName reusable ipAllowlist expiresAt usedAt revokedAt createdAt createdBy
|
|
49
|
-
`;
|
|
50
|
-
const SEARCH_ATTRIBUTE_FIELDS = `id name type description createdBy createdAt`;
|
|
51
|
-
const BATCH_FIELDS = `
|
|
52
|
-
id type status reason dryRun total succeeded failed skipped maxOperationsPerSecond filter
|
|
53
|
-
errors { runId message }
|
|
54
|
-
failureMessage requestedBy createdAt startedAt completedAt cancelRequestedAt
|
|
55
|
-
`;
|
|
56
|
-
const TICK_FIELDS = `
|
|
57
|
-
id kind outcome dueAt firedAt releaseAt runId blockingRunId overlapPolicy note createdAt
|
|
58
|
-
`;
|
|
59
|
-
const SCHEDULE_FIELDS = `
|
|
60
|
-
workflowKey triggerNodeId version jobs specKind spec overlapPolicy catchupWindowSeconds
|
|
61
|
-
jitterSeconds pauseOnFailure
|
|
62
|
-
state { paused note pausedAt pausedBy remainingActions }
|
|
63
|
-
nextFireTimes
|
|
64
|
-
recentActions { ${TICK_FIELDS} }
|
|
65
|
-
`;
|
|
66
|
-
const PENDING_FIELDS = `
|
|
67
|
-
activities {
|
|
68
|
-
activityId activityType state attempt maxAttempts scheduledAt lastStartedAt
|
|
69
|
-
lastHeartbeatAt heartbeatDetails lastFailure nextAttemptAt summary
|
|
70
|
-
}
|
|
71
|
-
children { runId workflowKey version status startedAt }
|
|
72
|
-
timers { timerId fireAt summary }
|
|
73
|
-
bufferedSignals
|
|
74
|
-
workflowTask { state attempt startedAt failureCause }
|
|
75
|
-
`;
|
|
76
|
-
const TRACE_RUN = `
|
|
77
|
-
id workflowKey version status executionKind workflowFn startedAt completedAt errorMessage
|
|
78
|
-
`;
|
|
79
|
-
/** The run hierarchy is read to this many levels below the root. */
|
|
80
|
-
export const TRACE_DEPTH = 6;
|
|
81
|
-
function hierarchyChildren(depth) {
|
|
82
|
-
if (depth === 0)
|
|
83
|
-
return '';
|
|
84
|
-
return `children { depth parentNodeId run { ${TRACE_RUN} } ${hierarchyChildren(depth - 1)} }`;
|
|
85
|
-
}
|
|
86
|
-
// ---------------------------------------------------------------------------
|
|
87
|
-
// Task queues (C-S3) and workers (C-SB1)
|
|
88
|
-
// ---------------------------------------------------------------------------
|
|
89
|
-
export const PC_TASK_QUEUES = `
|
|
90
|
-
query FluidgridsPhaseCTaskQueues {
|
|
91
|
-
taskQueues { ${QUEUE_FIELDS} }
|
|
92
|
-
}
|
|
93
|
-
`;
|
|
94
|
-
export const PC_TASK_QUEUE_STATS = `
|
|
95
|
-
query FluidgridsPhaseCTaskQueueStats($name: String!, $environment: WorkflowEnvironment) {
|
|
96
|
-
taskQueueStats(name: $name, environment: $environment) {
|
|
97
|
-
name environment known pollers
|
|
98
|
-
workflow { ${KIND_STATS} }
|
|
99
|
-
activity { ${KIND_STATS} }
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
`;
|
|
103
|
-
export const PC_TASK_QUEUE_WORKERS = `
|
|
104
|
-
query FluidgridsPhaseCTaskQueueWorkers($name: String!, $context: ContextInput!) {
|
|
105
|
-
taskQueueWorkers(name: $name, context: $context) { ${WORKER_FIELDS} }
|
|
106
|
-
}
|
|
107
|
-
`;
|
|
108
|
-
export const PC_CREATE_TASK_QUEUE = `
|
|
109
|
-
mutation FluidgridsPhaseCCreateTaskQueue($input: CreateTaskQueueInput!) {
|
|
110
|
-
createTaskQueue(input: $input) { ${QUEUE_FIELDS} }
|
|
111
|
-
}
|
|
112
|
-
`;
|
|
113
|
-
export const PC_UPDATE_TASK_QUEUE = `
|
|
114
|
-
mutation FluidgridsPhaseCUpdateTaskQueue($id: ID!, $input: UpdateTaskQueueInput!) {
|
|
115
|
-
updateTaskQueue(id: $id, input: $input) { ${QUEUE_FIELDS} }
|
|
116
|
-
}
|
|
117
|
-
`;
|
|
118
|
-
export const PC_DELETE_TASK_QUEUE = `
|
|
119
|
-
mutation FluidgridsPhaseCDeleteTaskQueue($id: ID!) {
|
|
120
|
-
deleteTaskQueue(id: $id)
|
|
121
|
-
}
|
|
122
|
-
`;
|
|
123
|
-
export const PC_WORKFLOW_WORKERS = `
|
|
124
|
-
query FluidgridsPhaseCWorkflowWorkers(
|
|
125
|
-
$filter: SandboxWorkflowWorkersFilter
|
|
126
|
-
$context: ContextInput!
|
|
127
|
-
) {
|
|
128
|
-
workflowWorkers(filter: $filter, context: $context) { ${WORKER_FIELDS} }
|
|
129
|
-
}
|
|
130
|
-
`;
|
|
131
|
-
export const PC_WORKER_TOKENS = `
|
|
132
|
-
query FluidgridsPhaseCWorkerTokens($context: ContextInput!) {
|
|
133
|
-
workerTokens(context: $context) { ${WORKER_TOKEN_FIELDS} }
|
|
134
|
-
}
|
|
135
|
-
`;
|
|
136
|
-
export const PC_CREATE_WORKER_TOKEN = `
|
|
137
|
-
mutation FluidgridsPhaseCCreateWorkerToken($input: CreateSandboxWorkerTokenInput!) {
|
|
138
|
-
createWorkerToken(input: $input) {
|
|
139
|
-
token bridgeUrl
|
|
140
|
-
workerToken { ${WORKER_TOKEN_FIELDS} }
|
|
141
|
-
}
|
|
142
|
-
}
|
|
143
|
-
`;
|
|
144
|
-
export const PC_ROTATE_WORKER_TOKEN = `
|
|
145
|
-
mutation FluidgridsPhaseCRotateWorkerToken($id: ID!, $context: ContextInput!) {
|
|
146
|
-
rotateWorkerToken(id: $id, context: $context) {
|
|
147
|
-
token bridgeUrl
|
|
148
|
-
workerToken { ${WORKER_TOKEN_FIELDS} }
|
|
149
|
-
}
|
|
150
|
-
}
|
|
151
|
-
`;
|
|
152
|
-
export const PC_DELETE_WORKER_TOKEN = `
|
|
153
|
-
mutation FluidgridsPhaseCDeleteWorkerToken($id: ID!, $context: ContextInput!) {
|
|
154
|
-
deleteWorkerToken(id: $id, context: $context)
|
|
155
|
-
}
|
|
156
|
-
`;
|
|
157
|
-
export const PC_SET_WORKER_TOKEN_ALLOWLIST = `
|
|
158
|
-
mutation FluidgridsPhaseCSetWorkerTokenConnectionAllowlist(
|
|
159
|
-
$id: ID!
|
|
160
|
-
$names: [String!]!
|
|
161
|
-
$context: ContextInput!
|
|
162
|
-
) {
|
|
163
|
-
setWorkerTokenConnectionAllowlist(id: $id, names: $names, context: $context) {
|
|
164
|
-
${WORKER_TOKEN_FIELDS}
|
|
165
|
-
}
|
|
166
|
-
}
|
|
167
|
-
`;
|
|
168
|
-
// ---------------------------------------------------------------------------
|
|
169
|
-
// Run control (C-S1, C-S2)
|
|
170
|
-
// ---------------------------------------------------------------------------
|
|
171
|
-
export const PC_QUERY_RUN = `
|
|
172
|
-
query FluidgridsPhaseCQueryRun(
|
|
173
|
-
$runId: ID
|
|
174
|
-
$target: RunTargetInput
|
|
175
|
-
$name: String!
|
|
176
|
-
$args: JSON
|
|
177
|
-
$rejectCondition: WorkflowQueryRejectCondition
|
|
178
|
-
) {
|
|
179
|
-
queryWorkflowRun(
|
|
180
|
-
runId: $runId
|
|
181
|
-
target: $target
|
|
182
|
-
name: $name
|
|
183
|
-
args: $args
|
|
184
|
-
rejectCondition: $rejectCondition
|
|
185
|
-
) { name value rejected error }
|
|
186
|
-
}
|
|
187
|
-
`;
|
|
188
|
-
export const PC_UPDATE_RUN = `
|
|
189
|
-
mutation FluidgridsPhaseCUpdateRun(
|
|
190
|
-
$runId: ID
|
|
191
|
-
$target: RunTargetInput
|
|
192
|
-
$name: String!
|
|
193
|
-
$args: JSON
|
|
194
|
-
$updateId: ID!
|
|
195
|
-
$waitFor: WorkflowUpdateWaitFor
|
|
196
|
-
$timeoutMs: Int
|
|
197
|
-
) {
|
|
198
|
-
updateWorkflowRun(
|
|
199
|
-
runId: $runId
|
|
200
|
-
target: $target
|
|
201
|
-
name: $name
|
|
202
|
-
args: $args
|
|
203
|
-
updateId: $updateId
|
|
204
|
-
waitFor: $waitFor
|
|
205
|
-
timeoutMs: $timeoutMs
|
|
206
|
-
) { ${UPDATE_FIELDS} }
|
|
207
|
-
}
|
|
208
|
-
`;
|
|
209
|
-
export const PC_RUN_UPDATE = `
|
|
210
|
-
query FluidgridsPhaseCRunUpdate($runId: ID, $target: RunTargetInput, $updateId: ID!) {
|
|
211
|
-
workflowRunUpdate(runId: $runId, target: $target, updateId: $updateId) { ${UPDATE_FIELDS} }
|
|
212
|
-
}
|
|
213
|
-
`;
|
|
214
|
-
export const PC_RESET_RUN = `
|
|
215
|
-
mutation FluidgridsPhaseCResetRun(
|
|
216
|
-
$runId: ID
|
|
217
|
-
$target: RunTargetInput
|
|
218
|
-
$to: WorkflowResetTargetInput!
|
|
219
|
-
$reason: String
|
|
220
|
-
$reapplySignals: Boolean
|
|
221
|
-
$reapplyUpdates: Boolean
|
|
222
|
-
) {
|
|
223
|
-
resetWorkflowRun(
|
|
224
|
-
runId: $runId
|
|
225
|
-
target: $target
|
|
226
|
-
to: $to
|
|
227
|
-
reason: $reason
|
|
228
|
-
reapplySignals: $reapplySignals
|
|
229
|
-
reapplyUpdates: $reapplyUpdates
|
|
230
|
-
) { ${RUN_FIELDS} }
|
|
231
|
-
}
|
|
232
|
-
`;
|
|
233
|
-
export const PC_RESET_RUN_TO_LAST_CLEAN_TASK = `
|
|
234
|
-
mutation FluidgridsPhaseCResetRunToLastCleanTask(
|
|
235
|
-
$runId: ID
|
|
236
|
-
$target: RunTargetInput
|
|
237
|
-
$reason: String
|
|
238
|
-
) {
|
|
239
|
-
resetWorkflowRunToLastCleanTask(runId: $runId, target: $target, reason: $reason) {
|
|
240
|
-
${RUN_FIELDS}
|
|
241
|
-
}
|
|
242
|
-
}
|
|
243
|
-
`;
|
|
244
|
-
export const PC_RUN_HIERARCHY = `
|
|
245
|
-
query FluidgridsPhaseCRunHierarchy($runId: ID!) {
|
|
246
|
-
workflowRunHierarchy(runId: $runId) {
|
|
247
|
-
totalDepth
|
|
248
|
-
root { ${TRACE_RUN} }
|
|
249
|
-
${hierarchyChildren(TRACE_DEPTH)}
|
|
250
|
-
}
|
|
251
|
-
}
|
|
252
|
-
`;
|
|
253
|
-
export const PC_RUN_PENDING = `
|
|
254
|
-
query FluidgridsPhaseCRunPending($id: ID!) {
|
|
255
|
-
workflowRun(id: $id) { id status executionKind pending { ${PENDING_FIELDS} } }
|
|
256
|
-
}
|
|
257
|
-
`;
|
|
258
|
-
export const PC_RUN_BY_WORKFLOW_ID = `
|
|
259
|
-
query FluidgridsPhaseCRunByWorkflowId(
|
|
260
|
-
$workflowKey: String!
|
|
261
|
-
$workflowId: String!
|
|
262
|
-
$firstRunId: ID
|
|
263
|
-
) {
|
|
264
|
-
workflowRunByWorkflowId(
|
|
265
|
-
workflowKey: $workflowKey
|
|
266
|
-
workflowId: $workflowId
|
|
267
|
-
firstRunId: $firstRunId
|
|
268
|
-
) { id status }
|
|
269
|
-
}
|
|
270
|
-
`;
|
|
271
|
-
// ---------------------------------------------------------------------------
|
|
272
|
-
// Activities and pause rules (C-S1)
|
|
273
|
-
// ---------------------------------------------------------------------------
|
|
274
|
-
export const PC_COMPLETE_ACTIVITY_BY_ID = `
|
|
275
|
-
mutation FluidgridsPhaseCCompleteActivityById(
|
|
276
|
-
$runId: ID
|
|
277
|
-
$target: RunTargetInput
|
|
278
|
-
$activityId: ID!
|
|
279
|
-
$result: JSON
|
|
280
|
-
) {
|
|
281
|
-
completeActivityById(runId: $runId, target: $target, activityId: $activityId, result: $result)
|
|
282
|
-
}
|
|
283
|
-
`;
|
|
284
|
-
export const PC_FAIL_ACTIVITY_BY_ID = `
|
|
285
|
-
mutation FluidgridsPhaseCFailActivityById(
|
|
286
|
-
$runId: ID
|
|
287
|
-
$target: RunTargetInput
|
|
288
|
-
$activityId: ID!
|
|
289
|
-
$failure: WorkflowAsyncFailureInput!
|
|
290
|
-
) {
|
|
291
|
-
failActivityById(runId: $runId, target: $target, activityId: $activityId, failure: $failure)
|
|
292
|
-
}
|
|
293
|
-
`;
|
|
294
|
-
export const PC_HEARTBEAT_ACTIVITY_BY_ID = `
|
|
295
|
-
mutation FluidgridsPhaseCHeartbeatActivityById(
|
|
296
|
-
$runId: ID
|
|
297
|
-
$target: RunTargetInput
|
|
298
|
-
$activityId: ID!
|
|
299
|
-
$details: JSON
|
|
300
|
-
) {
|
|
301
|
-
heartbeatActivityById(
|
|
302
|
-
runId: $runId
|
|
303
|
-
target: $target
|
|
304
|
-
activityId: $activityId
|
|
305
|
-
details: $details
|
|
306
|
-
) { cancelRequested paused pauseReason }
|
|
307
|
-
}
|
|
308
|
-
`;
|
|
309
|
-
export const PC_COMPLETE_ACTIVITY_ASYNC = `
|
|
310
|
-
mutation FluidgridsPhaseCCompleteActivityAsync($taskToken: String!, $result: JSON) {
|
|
311
|
-
completeActivityAsync(taskToken: $taskToken, result: $result)
|
|
312
|
-
}
|
|
313
|
-
`;
|
|
314
|
-
export const PC_FAIL_ACTIVITY_ASYNC = `
|
|
315
|
-
mutation FluidgridsPhaseCFailActivityAsync(
|
|
316
|
-
$taskToken: String!
|
|
317
|
-
$failure: WorkflowAsyncFailureInput!
|
|
318
|
-
) {
|
|
319
|
-
failActivityAsync(taskToken: $taskToken, failure: $failure)
|
|
320
|
-
}
|
|
321
|
-
`;
|
|
322
|
-
export const PC_HEARTBEAT_ACTIVITY_ASYNC = `
|
|
323
|
-
mutation FluidgridsPhaseCHeartbeatActivityAsync($taskToken: String!, $details: JSON) {
|
|
324
|
-
heartbeatActivityAsync(taskToken: $taskToken, details: $details) {
|
|
325
|
-
cancelRequested paused pauseReason
|
|
326
|
-
}
|
|
327
|
-
}
|
|
328
|
-
`;
|
|
329
|
-
export const PC_PAUSE_ACTIVITY = `
|
|
330
|
-
mutation FluidgridsPhaseCPauseActivity(
|
|
331
|
-
$runId: ID
|
|
332
|
-
$target: RunTargetInput
|
|
333
|
-
$selector: WorkflowActivitySelectorInput!
|
|
334
|
-
$reason: String!
|
|
335
|
-
) {
|
|
336
|
-
pauseActivity(runId: $runId, target: $target, selector: $selector, reason: $reason) {
|
|
337
|
-
${RUN_FIELDS}
|
|
338
|
-
}
|
|
339
|
-
}
|
|
340
|
-
`;
|
|
341
|
-
export const PC_UNPAUSE_ACTIVITY = `
|
|
342
|
-
mutation FluidgridsPhaseCUnpauseActivity(
|
|
343
|
-
$runId: ID
|
|
344
|
-
$target: RunTargetInput
|
|
345
|
-
$selector: WorkflowActivitySelectorInput!
|
|
346
|
-
$resetAttempts: Boolean
|
|
347
|
-
$resetHeartbeat: Boolean
|
|
348
|
-
) {
|
|
349
|
-
unpauseActivity(
|
|
350
|
-
runId: $runId
|
|
351
|
-
target: $target
|
|
352
|
-
selector: $selector
|
|
353
|
-
resetAttempts: $resetAttempts
|
|
354
|
-
resetHeartbeat: $resetHeartbeat
|
|
355
|
-
) { ${RUN_FIELDS} }
|
|
356
|
-
}
|
|
357
|
-
`;
|
|
358
|
-
export const PC_RESET_ACTIVITY = `
|
|
359
|
-
mutation FluidgridsPhaseCResetActivity(
|
|
360
|
-
$runId: ID
|
|
361
|
-
$target: RunTargetInput
|
|
362
|
-
$selector: WorkflowActivitySelectorInput!
|
|
363
|
-
$resetHeartbeat: Boolean
|
|
364
|
-
) {
|
|
365
|
-
resetActivity(
|
|
366
|
-
runId: $runId
|
|
367
|
-
target: $target
|
|
368
|
-
selector: $selector
|
|
369
|
-
resetHeartbeat: $resetHeartbeat
|
|
370
|
-
) { ${RUN_FIELDS} }
|
|
371
|
-
}
|
|
372
|
-
`;
|
|
373
|
-
export const PC_UPDATE_ACTIVITY_OPTIONS = `
|
|
374
|
-
mutation FluidgridsPhaseCUpdateActivityOptions(
|
|
375
|
-
$runId: ID
|
|
376
|
-
$target: RunTargetInput
|
|
377
|
-
$selector: WorkflowActivitySelectorInput!
|
|
378
|
-
$options: WorkflowActivityOptionsInput!
|
|
379
|
-
) {
|
|
380
|
-
updateActivityOptions(
|
|
381
|
-
runId: $runId
|
|
382
|
-
target: $target
|
|
383
|
-
selector: $selector
|
|
384
|
-
options: $options
|
|
385
|
-
) { ${RUN_FIELDS} }
|
|
386
|
-
}
|
|
387
|
-
`;
|
|
388
|
-
export const PC_PAUSE_RULES = `
|
|
389
|
-
query FluidgridsPhaseCActivityPauseRules {
|
|
390
|
-
workflowActivityPauseRules { ${PAUSE_RULE_FIELDS} }
|
|
391
|
-
}
|
|
392
|
-
`;
|
|
393
|
-
export const PC_CREATE_PAUSE_RULE = `
|
|
394
|
-
mutation FluidgridsPhaseCCreateActivityPauseRule($input: WorkflowActivityPauseRuleInput!) {
|
|
395
|
-
createActivityPauseRule(input: $input) { ${PAUSE_RULE_FIELDS} }
|
|
396
|
-
}
|
|
397
|
-
`;
|
|
398
|
-
export const PC_DELETE_PAUSE_RULE = `
|
|
399
|
-
mutation FluidgridsPhaseCDeleteActivityPauseRule($id: ID!) {
|
|
400
|
-
deleteActivityPauseRule(id: $id)
|
|
401
|
-
}
|
|
402
|
-
`;
|
|
403
|
-
// ---------------------------------------------------------------------------
|
|
404
|
-
// Signal tokens (C-S2)
|
|
405
|
-
// ---------------------------------------------------------------------------
|
|
406
|
-
export const PC_CREATE_SIGNAL_TOKEN = `
|
|
407
|
-
mutation FluidgridsPhaseCCreateWorkflowSignalToken($input: CreateWorkflowSignalTokenInput!) {
|
|
408
|
-
createWorkflowSignalToken(input: $input) {
|
|
409
|
-
token url
|
|
410
|
-
signalToken { ${SIGNAL_TOKEN_FIELDS} }
|
|
411
|
-
}
|
|
412
|
-
}
|
|
413
|
-
`;
|
|
414
|
-
export const PC_REVOKE_SIGNAL_TOKEN = `
|
|
415
|
-
mutation FluidgridsPhaseCRevokeWorkflowSignalToken($id: ID!) {
|
|
416
|
-
revokeWorkflowSignalToken(id: $id) { ${SIGNAL_TOKEN_FIELDS} }
|
|
417
|
-
}
|
|
418
|
-
`;
|
|
419
|
-
export const PC_SIGNAL_TOKENS = `
|
|
420
|
-
query FluidgridsPhaseCWorkflowSignalTokens($runId: ID!) {
|
|
421
|
-
workflowSignalTokens(runId: $runId) { ${SIGNAL_TOKEN_FIELDS} }
|
|
422
|
-
}
|
|
423
|
-
`;
|
|
424
|
-
// ---------------------------------------------------------------------------
|
|
425
|
-
// Search attributes and batch operations (C-S4, C-S5)
|
|
426
|
-
// ---------------------------------------------------------------------------
|
|
427
|
-
export const PC_SEARCH_ATTRIBUTES = `
|
|
428
|
-
query FluidgridsPhaseCWorkflowSearchAttributes {
|
|
429
|
-
workflowSearchAttributes { ${SEARCH_ATTRIBUTE_FIELDS} }
|
|
430
|
-
}
|
|
431
|
-
`;
|
|
432
|
-
export const PC_CREATE_SEARCH_ATTRIBUTE = `
|
|
433
|
-
mutation FluidgridsPhaseCCreateWorkflowSearchAttribute(
|
|
434
|
-
$input: CreateWorkflowSearchAttributeInput!
|
|
435
|
-
) {
|
|
436
|
-
createWorkflowSearchAttribute(input: $input) { ${SEARCH_ATTRIBUTE_FIELDS} }
|
|
437
|
-
}
|
|
438
|
-
`;
|
|
439
|
-
export const PC_DELETE_SEARCH_ATTRIBUTE = `
|
|
440
|
-
mutation FluidgridsPhaseCDeleteWorkflowSearchAttribute($id: ID!) {
|
|
441
|
-
deleteWorkflowSearchAttribute(id: $id)
|
|
442
|
-
}
|
|
443
|
-
`;
|
|
444
|
-
export const PC_START_BATCH_OPERATION = `
|
|
445
|
-
mutation FluidgridsPhaseCStartBatchOperation($input: StartWorkflowBatchOperationInput!) {
|
|
446
|
-
startBatchOperation(input: $input) { ${BATCH_FIELDS} }
|
|
447
|
-
}
|
|
448
|
-
`;
|
|
449
|
-
export const PC_START_BATCH_TERMINATE = `
|
|
450
|
-
mutation FluidgridsPhaseCStartBatchTerminate($input: StartWorkflowBatchTerminateInput!) {
|
|
451
|
-
startBatchTerminate(input: $input) { ${BATCH_FIELDS} }
|
|
452
|
-
}
|
|
453
|
-
`;
|
|
454
|
-
export const PC_START_BATCH_EXPORT = `
|
|
455
|
-
mutation FluidgridsPhaseCStartBatchExport($input: StartWorkflowBatchExportInput!) {
|
|
456
|
-
startBatchExport(input: $input) { ${BATCH_FIELDS} }
|
|
457
|
-
}
|
|
458
|
-
`;
|
|
459
|
-
export const PC_CANCEL_BATCH_OPERATION = `
|
|
460
|
-
mutation FluidgridsPhaseCCancelBatchOperation($id: ID!) {
|
|
461
|
-
cancelBatchOperation(id: $id) { ${BATCH_FIELDS} }
|
|
462
|
-
}
|
|
463
|
-
`;
|
|
464
|
-
export const PC_BATCH_OPERATION = `
|
|
465
|
-
query FluidgridsPhaseCWorkflowBatchOperation($id: ID!) {
|
|
466
|
-
workflowBatchOperation(id: $id) { ${BATCH_FIELDS} }
|
|
467
|
-
}
|
|
468
|
-
`;
|
|
469
|
-
export const PC_BATCH_OPERATIONS = `
|
|
470
|
-
query FluidgridsPhaseCWorkflowBatchOperations(
|
|
471
|
-
$status: WorkflowBatchJobStatus
|
|
472
|
-
$first: Int
|
|
473
|
-
$after: String
|
|
474
|
-
) {
|
|
475
|
-
workflowBatchOperations(status: $status, first: $first, after: $after) {
|
|
476
|
-
items { ${BATCH_FIELDS} }
|
|
477
|
-
nextCursor
|
|
478
|
-
}
|
|
479
|
-
}
|
|
480
|
-
`;
|
|
481
|
-
// ---------------------------------------------------------------------------
|
|
482
|
-
// Schedules (C-S5)
|
|
483
|
-
// ---------------------------------------------------------------------------
|
|
484
|
-
export const PC_SCHEDULED_JOBS = `
|
|
485
|
-
query FluidgridsPhaseCWorkflowScheduledJobs(
|
|
486
|
-
$workflowKey: String
|
|
487
|
-
$pagination: WorkflowPaginationInput
|
|
488
|
-
) {
|
|
489
|
-
workflowScheduledJobs(workflowKey: $workflowKey, pagination: $pagination) {
|
|
490
|
-
jobs {
|
|
491
|
-
id name workflowKey version enabled status schedule scheduleType rrule timezone
|
|
492
|
-
nextRun lastRun config
|
|
493
|
-
}
|
|
494
|
-
pagination { hasMore limit offset total }
|
|
495
|
-
}
|
|
496
|
-
}
|
|
497
|
-
`;
|
|
498
|
-
export const PC_SCHEDULE_DESCRIBE = `
|
|
499
|
-
query FluidgridsPhaseCWorkflowScheduleDescribe($workflowKey: String!, $triggerNodeId: String!) {
|
|
500
|
-
workflowScheduleDescribe(workflowKey: $workflowKey, triggerNodeId: $triggerNodeId) {
|
|
501
|
-
${SCHEDULE_FIELDS}
|
|
502
|
-
}
|
|
503
|
-
}
|
|
504
|
-
`;
|
|
505
|
-
export const PC_TRIGGER_SCHEDULE = `
|
|
506
|
-
mutation FluidgridsPhaseCTriggerWorkflowSchedule(
|
|
507
|
-
$workflowKey: String!
|
|
508
|
-
$triggerNodeId: String!
|
|
509
|
-
$overlapPolicy: WorkflowScheduleOverlapPolicy
|
|
510
|
-
) {
|
|
511
|
-
triggerWorkflowSchedule(
|
|
512
|
-
workflowKey: $workflowKey
|
|
513
|
-
triggerNodeId: $triggerNodeId
|
|
514
|
-
overlapPolicy: $overlapPolicy
|
|
515
|
-
) {
|
|
516
|
-
runId
|
|
517
|
-
tick { ${TICK_FIELDS} }
|
|
518
|
-
}
|
|
519
|
-
}
|
|
520
|
-
`;
|
|
521
|
-
export const PC_BACKFILL_SCHEDULE = `
|
|
522
|
-
mutation FluidgridsPhaseCBackfillWorkflowSchedule(
|
|
523
|
-
$workflowKey: String!
|
|
524
|
-
$triggerNodeId: String!
|
|
525
|
-
$from: DateTime!
|
|
526
|
-
$to: DateTime!
|
|
527
|
-
$overlapPolicy: WorkflowScheduleOverlapPolicy
|
|
528
|
-
) {
|
|
529
|
-
backfillWorkflowSchedule(
|
|
530
|
-
workflowKey: $workflowKey
|
|
531
|
-
triggerNodeId: $triggerNodeId
|
|
532
|
-
from: $from
|
|
533
|
-
to: $to
|
|
534
|
-
overlapPolicy: $overlapPolicy
|
|
535
|
-
) { fireTimes queued alreadyQueued overlapPolicy }
|
|
536
|
-
}
|
|
537
|
-
`;
|
|
538
|
-
export const PC_PAUSE_SCHEDULE = `
|
|
539
|
-
mutation FluidgridsPhaseCPauseWorkflowSchedule(
|
|
540
|
-
$workflowKey: String!
|
|
541
|
-
$triggerNodeId: String!
|
|
542
|
-
$note: String
|
|
543
|
-
) {
|
|
544
|
-
pauseWorkflowSchedule(workflowKey: $workflowKey, triggerNodeId: $triggerNodeId, note: $note) {
|
|
545
|
-
${SCHEDULE_FIELDS}
|
|
546
|
-
}
|
|
547
|
-
}
|
|
548
|
-
`;
|
|
549
|
-
export const PC_UNPAUSE_SCHEDULE = `
|
|
550
|
-
mutation FluidgridsPhaseCUnpauseWorkflowSchedule(
|
|
551
|
-
$workflowKey: String!
|
|
552
|
-
$triggerNodeId: String!
|
|
553
|
-
) {
|
|
554
|
-
unpauseWorkflowSchedule(workflowKey: $workflowKey, triggerNodeId: $triggerNodeId) {
|
|
555
|
-
${SCHEDULE_FIELDS}
|
|
556
|
-
}
|
|
557
|
-
}
|
|
558
|
-
`;
|
|
559
|
-
//# sourceMappingURL=operations.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"operations.js","sourceRoot":"","sources":["../../src/phase-c/operations.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,MAAM,UAAU,GAAG;;;CAGlB,CAAC;AAEF,MAAM,aAAa,GAAG;;CAErB,CAAC;AAEF,MAAM,YAAY,GAAG;;;CAGpB,CAAC;AAEF,MAAM,UAAU,GAAG;;;CAGlB,CAAC;AAEF,MAAM,aAAa,GAAG;;;;;;;;;;;CAWrB,CAAC;AAEF,MAAM,mBAAmB,GAAG;;CAE3B,CAAC;AAEF,MAAM,iBAAiB,GAAG;;CAEzB,CAAC;AAEF,MAAM,mBAAmB,GAAG;;CAE3B,CAAC;AAEF,MAAM,uBAAuB,GAAG,8CAA8C,CAAC;AAE/E,MAAM,YAAY,GAAG;;;;CAIpB,CAAC;AAEF,MAAM,WAAW,GAAG;;CAEnB,CAAC;AAEF,MAAM,eAAe,GAAG;;;;;oBAKJ,WAAW;CAC9B,CAAC;AAEF,MAAM,cAAc,GAAG;;;;;;;;;CAStB,CAAC;AAEF,MAAM,SAAS,GAAG;;CAEjB,CAAC;AAEF,oEAAoE;AACpE,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,CAAC;AAE7B,SAAS,iBAAiB,CAAC,KAAa;IACtC,IAAI,KAAK,KAAK,CAAC;QAAE,OAAO,EAAE,CAAC;IAC3B,OAAO,uCAAuC,SAAS,MAAM,iBAAiB,CAAC,KAAK,GAAG,CAAC,CAAC,IAAI,CAAC;AAChG,CAAC;AAED,8EAA8E;AAC9E,yCAAyC;AACzC,8EAA8E;AAE9E,MAAM,CAAC,MAAM,cAAc,GAAG;;mBAEX,YAAY;;CAE9B,CAAC;AAEF,MAAM,C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eAAe;;;CAGtB,CAAC"}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Commander registrations of the Phase C command groups (BOFF-9906, CX7: this
|
|
3
|
-
* package owns the command tree and its names; spec code-first 11 §2.36).
|
|
4
|
-
*
|
|
5
|
-
* | Group | Wraps |
|
|
6
|
-
* |---|---|
|
|
7
|
-
* | `config set\|get\|list\|delete\|migrate` | `~/.fluidgrids/config.toml` (local) |
|
|
8
|
-
* | `queues list\|describe\|create\|update\|delete\|builds` | `taskQueues`, `taskQueueStats`, `taskQueueWorkers`, `create/update/deleteTaskQueue` |
|
|
9
|
-
* | `workers list`, `workers tokens list\|create\|rotate\|delete\|allow-connections` | `workflowWorkers`, `workerTokens`, `create/rotate/deleteWorkerToken`, `setWorkerTokenConnectionAllowlist` |
|
|
10
|
-
* | `worker run`, `dev [--lang ts\|py]` | the SDK worker (an ephemeral queue and token for `dev`) |
|
|
11
|
-
* | `runs query\|update\|update-status\|reset\|trace` | `queryWorkflowRun`, `updateWorkflowRun`, `workflowRunUpdate`, `resetWorkflowRun(ToLastCleanTask)`, `workflowRunHierarchy` + `pending` |
|
|
12
|
-
* | `runs batch <type>`, `batch list\|describe\|cancel` | `startBatchOperation/Terminate/Export`, `workflowBatchOperation(s)`, `cancelBatchOperation` |
|
|
13
|
-
* | `activities …`, `activities pause-rules …` | the activity operations and pause rules |
|
|
14
|
-
* | `signal-token create\|revoke\|list` | `create/revokeWorkflowSignalToken`, `workflowSignalTokens` |
|
|
15
|
-
* | `search-attributes list\|create\|delete` | `workflowSearchAttributes`, `create/deleteWorkflowSearchAttribute` |
|
|
16
|
-
* | `schedules list\|describe\|trigger\|backfill\|pause\|unpause` | `workflowScheduledJobs`, `workflowScheduleDescribe`, `trigger/backfill/pause/unpauseWorkflowSchedule` |
|
|
17
|
-
*
|
|
18
|
-
* Every implementation loads on first use, so the other commands start as fast
|
|
19
|
-
* as before. Only types are imported statically here; keep it that way.
|
|
20
|
-
*/
|
|
21
|
-
import type { Command } from 'commander';
|
|
22
|
-
import { type CommandEnv } from '../code-first/shared.js';
|
|
23
|
-
import type { PhaseCEnv } from './shared.js';
|
|
24
|
-
/** Lazily built: the Phase C API only exists once a Phase C command runs. */
|
|
25
|
-
type EnvFactory = () => Promise<PhaseCEnv>;
|
|
26
|
-
export declare function registerConfig(program: Command, env: CommandEnv): void;
|
|
27
|
-
export declare function registerQueues(program: Command, make: EnvFactory): void;
|
|
28
|
-
export declare function registerWorkers(program: Command, make: EnvFactory): void;
|
|
29
|
-
export declare function registerWorkerRun(program: Command, make: EnvFactory): void;
|
|
30
|
-
export declare function registerRunControl(program: Command, make: EnvFactory): void;
|
|
31
|
-
export declare function registerBatch(program: Command, make: EnvFactory): void;
|
|
32
|
-
export declare function registerActivities(program: Command, make: EnvFactory): void;
|
|
33
|
-
export declare function registerSignalTokens(program: Command, make: EnvFactory): void;
|
|
34
|
-
export declare function registerSearchAttributes(program: Command, make: EnvFactory): void;
|
|
35
|
-
export declare function registerSchedules(program: Command, make: EnvFactory): void;
|
|
36
|
-
/** Every Phase C group, on the program the code-first module built. */
|
|
37
|
-
export declare function registerPhaseC(program: Command, env: CommandEnv): void;
|
|
38
|
-
export {};
|
|
39
|
-
//# sourceMappingURL=register.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"register.d.ts","sourceRoot":"","sources":["../../src/phase-c/register.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEzC,OAAO,EAAoB,KAAK,UAAU,EAAsB,MAAM,yBAAyB,CAAC;AAuDhG,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAa7C,6EAA6E;AAC7E,KAAK,UAAU,GAAG,MAAM,OAAO,CAAC,SAAS,CAAC,CAAC;AAqD3C,wBAAgB,cAAc,CAAC,OAAO,EAAE,OAAO,EAAE,GAAG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