@lessly/sdk-app 66.1.0 → 66.3.0
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/dist/_types/gen/client.gen.d.ts +10 -1
- package/dist/_types/gen/types.gen.d.ts +257 -0
- package/dist/_types/gen/workflow/index.d.ts +1 -1
- package/dist/_types/gen/workflow/queryOptions.gen.d.ts +21 -1
- package/dist/{chunk-ORP3C4MA.js → chunk-G3EFA6KW.js} +119 -2
- package/dist/{chunk-ORP3C4MA.js.map → chunk-G3EFA6KW.js.map} +1 -1
- package/dist/index.cjs +123 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +7 -2
- package/dist/index.js.map +1 -1
- package/dist/playground/index.cjs.map +1 -1
- package/dist/playground/index.js +1 -1
- package/dist/workflow/index.cjs +25 -0
- package/dist/workflow/index.cjs.map +1 -1
- package/dist/workflow/index.js +21 -1
- package/dist/workflow/index.js.map +1 -1
- package/package.json +2 -2
- package/src/gen/bindings.gen.ts +117 -0
- package/src/gen/client.gen.ts +19 -0
- package/src/gen/manifest.gen.ts +5 -0
- package/src/gen/types.gen.ts +267 -0
- package/src/gen/workflow/index.ts +1 -1
- package/src/gen/workflow/queryOptions.gen.ts +33 -0
package/dist/playground/index.js
CHANGED
package/dist/workflow/index.cjs
CHANGED
|
@@ -117,6 +117,10 @@ var workflowRunStartMutationOptions = (sdk) => ({
|
|
|
117
117
|
mutationKey: ["workflow", "run", "start"],
|
|
118
118
|
mutationFn: (input) => sdk["workflow"]["run"]["start"](input)
|
|
119
119
|
});
|
|
120
|
+
var workflowRunTestMutationOptions = (sdk) => ({
|
|
121
|
+
mutationKey: ["workflow", "run", "test"],
|
|
122
|
+
mutationFn: (input) => sdk["workflow"]["run"]["test"](input)
|
|
123
|
+
});
|
|
120
124
|
var workflowVersionGetQueryOptions = (sdk, input) => ({
|
|
121
125
|
queryKey: ["workflow", "version", "get", input],
|
|
122
126
|
queryFn: () => sdk["workflow"]["version"]["get"](input)
|
|
@@ -125,6 +129,22 @@ var workflowVersionListQueryOptions = (sdk, input) => ({
|
|
|
125
129
|
queryKey: ["workflow", "version", "list", input],
|
|
126
130
|
queryFn: () => sdk["workflow"]["version"]["list"](input)
|
|
127
131
|
});
|
|
132
|
+
var workflowWaitGetQueryOptions = (sdk, input) => ({
|
|
133
|
+
queryKey: ["workflow", "wait", "get", input],
|
|
134
|
+
queryFn: () => sdk["workflow"]["wait"]["get"](input)
|
|
135
|
+
});
|
|
136
|
+
var workflowWaitListQueryOptions = (sdk, input) => ({
|
|
137
|
+
queryKey: ["workflow", "wait", "list", input],
|
|
138
|
+
queryFn: () => sdk["workflow"]["wait"]["list"](input)
|
|
139
|
+
});
|
|
140
|
+
var workflowWaitListAllQueryOptions = (sdk, input) => ({
|
|
141
|
+
queryKey: ["workflow", "wait-list", "all", input],
|
|
142
|
+
queryFn: () => sdk["workflow"]["wait-list"]["all"](input)
|
|
143
|
+
});
|
|
144
|
+
var workflowWaitResolveMutationOptions = (sdk) => ({
|
|
145
|
+
mutationKey: ["workflow", "wait", "resolve"],
|
|
146
|
+
mutationFn: (input) => sdk["workflow"]["wait"]["resolve"](input)
|
|
147
|
+
});
|
|
128
148
|
|
|
129
149
|
exports.workflowCapabilityGetQueryOptions = workflowCapabilityGetQueryOptions;
|
|
130
150
|
exports.workflowCapabilityListQueryOptions = workflowCapabilityListQueryOptions;
|
|
@@ -155,7 +175,12 @@ exports.workflowRunListQueryOptions = workflowRunListQueryOptions;
|
|
|
155
175
|
exports.workflowRunReplayAllMutationOptions = workflowRunReplayAllMutationOptions;
|
|
156
176
|
exports.workflowRunReplayMutationOptions = workflowRunReplayMutationOptions;
|
|
157
177
|
exports.workflowRunStartMutationOptions = workflowRunStartMutationOptions;
|
|
178
|
+
exports.workflowRunTestMutationOptions = workflowRunTestMutationOptions;
|
|
158
179
|
exports.workflowVersionGetQueryOptions = workflowVersionGetQueryOptions;
|
|
159
180
|
exports.workflowVersionListQueryOptions = workflowVersionListQueryOptions;
|
|
181
|
+
exports.workflowWaitGetQueryOptions = workflowWaitGetQueryOptions;
|
|
182
|
+
exports.workflowWaitListAllQueryOptions = workflowWaitListAllQueryOptions;
|
|
183
|
+
exports.workflowWaitListQueryOptions = workflowWaitListQueryOptions;
|
|
184
|
+
exports.workflowWaitResolveMutationOptions = workflowWaitResolveMutationOptions;
|
|
160
185
|
//# sourceMappingURL=index.cjs.map
|
|
161
186
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/gen/workflow/queryOptions.gen.ts"],"names":[],"mappings":";;;AAqDO,IAAM,iCAAA,GAAoC,CAAC,GAAA,EAAsB,KAAA,MAAuC;AAAA,EAC7G,QAAA,EAAU,CAAC,UAAA,EAAY,YAAA,EAAc,OAAO,KAAK,CAAA;AAAA,EACjD,OAAA,EAAS,MAAM,GAAA,CAAI,UAAU,EAAE,YAAY,CAAA,CAAE,KAAK,CAAA,CAAE,KAAK;AAC3D,CAAA;AAEO,IAAM,kCAAA,GAAqC,CAAC,GAAA,EAAsB,KAAA,MAAwC;AAAA,EAC/G,QAAA,EAAU,CAAC,UAAA,EAAY,YAAA,EAAc,QAAQ,KAAK,CAAA;AAAA,EAClD,OAAA,EAAS,MAAM,GAAA,CAAI,UAAU,EAAE,YAAY,CAAA,CAAE,MAAM,CAAA,CAAE,KAAK;AAC5D,CAAA;AAEO,IAAM,mCAAA,GAAsC,CAAC,GAAA,MAA0B;AAAA,EAC5E,WAAA,EAAa,CAAC,UAAA,EAAY,QAAA,EAAU,QAAQ,CAAA;AAAA,EAC5C,UAAA,EAAY,CAAC,KAAA,KAAqC,GAAA,CAAI,UAAU,EAAE,QAAQ,CAAA,CAAE,QAAQ,CAAA,CAAE,KAAK;AAC7F,CAAA;AAEO,IAAM,8BAAA,GAAiC,CAAC,GAAA,EAAsB,KAAA,MAAoC;AAAA,EACvG,QAAA,EAAU,CAAC,UAAA,EAAY,QAAA,EAAU,QAAQ,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AAA,EAAU,CAAC,UAAA,EAAY,SAAA,EAAW,OAAO,KAAK,CAAA;AAAA,EAC9C,OAAA,EAAS,MAAM,GAAA,CAAI,UAAU,EAAE,SAAS,CAAA,CAAE,KAAK,CAAA,CAAE,KAAK;AACxD,CAAA;AAEO,IAAM,+BAAA,GAAkC,CAAC,GAAA,EAAsB,KAAA,MAAqC;AAAA,EACzG,QAAA,EAAU,CAAC,UAAA,EAAY,SAAA,EAAW,QAAQ,KAAK,CAAA;AAAA,EAC/C,OAAA,EAAS,MAAM,GAAA,CAAI,UAAU,EAAE,SAAS,CAAA,CAAE,MAAM,CAAA,CAAE,KAAK;AACzD,CAAA","file":"index.cjs","sourcesContent":["// AUTOGENERATED by scripts/generate.ts — do not edit.\nimport type { GeneratedClient } from '../client.gen';\nimport type {\n WorkflowCapabilityGetInput,\n WorkflowCapabilityGetOutput,\n WorkflowCapabilityListInput,\n WorkflowCapabilityListOutput,\n WorkflowConfigDeleteInput,\n WorkflowConfigListInput,\n WorkflowConfigListOutput,\n WorkflowConfigSetInput,\n WorkflowDefinitionCreateInput,\n WorkflowDefinitionDisableInput,\n WorkflowDefinitionDryrunInput,\n WorkflowDefinitionDryrunOutput,\n WorkflowDefinitionEnableInput,\n WorkflowDefinitionExportInput,\n WorkflowDefinitionExportOutput,\n WorkflowDefinitionGetInput,\n WorkflowDefinitionGetOutput,\n WorkflowDefinitionImportInput,\n WorkflowDefinitionListInput,\n WorkflowDefinitionListOutput,\n WorkflowDefinitionPublishInput,\n WorkflowDefinitionUpdateInput,\n WorkflowDefinitionValidateInput,\n WorkflowDefinitionValidateOutput,\n WorkflowDependencyListInput,\n WorkflowDependencyListOutput,\n WorkflowGrantListInput,\n WorkflowGrantListOutput,\n WorkflowGrantRequestInput,\n WorkflowHealthListInput,\n WorkflowHealthListOutput,\n WorkflowHealthPingInput,\n WorkflowHealthPingOutput,\n WorkflowKillswitchGetInput,\n WorkflowKillswitchGetOutput,\n WorkflowKillswitchSetInput,\n WorkflowRunCancelInput,\n WorkflowRunGetInput,\n WorkflowRunGetOutput,\n WorkflowRunListInput,\n WorkflowRunListOutput,\n WorkflowRunReplayAllInput,\n WorkflowRunReplayInput,\n WorkflowRunStartInput,\n WorkflowVersionGetInput,\n WorkflowVersionGetOutput,\n WorkflowVersionListInput,\n WorkflowVersionListOutput,\n} from '../types.gen';\n\nexport const workflowCapabilityGetQueryOptions = (sdk: GeneratedClient, input: WorkflowCapabilityGetInput) => ({\n queryKey: ['workflow', 'capability', 'get', input] as const,\n queryFn: () => sdk['workflow']['capability']['get'](input),\n});\n\nexport const workflowCapabilityListQueryOptions = (sdk: GeneratedClient, input: WorkflowCapabilityListInput) => ({\n queryKey: ['workflow', 'capability', 'list', input] as const,\n queryFn: () => sdk['workflow']['capability']['list'](input),\n});\n\nexport const workflowConfigDeleteMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['workflow', 'config', 'delete'],\n mutationFn: (input: WorkflowConfigDeleteInput) => sdk['workflow']['config']['delete'](input),\n});\n\nexport const workflowConfigListQueryOptions = (sdk: GeneratedClient, input: WorkflowConfigListInput) => ({\n queryKey: ['workflow', 'config', 'list', input] as const,\n queryFn: () => sdk['workflow']['config']['list'](input),\n});\n\nexport const workflowConfigSetMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['workflow', 'config', 'set'],\n mutationFn: (input: WorkflowConfigSetInput) => sdk['workflow']['config']['set'](input),\n});\n\nexport const workflowDefinitionCreateMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['workflow', 'definition', 'create'],\n mutationFn: (input: WorkflowDefinitionCreateInput) => sdk['workflow']['definition']['create'](input),\n});\n\nexport const workflowDefinitionDisableMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['workflow', 'definition', 'disable'],\n mutationFn: (input: WorkflowDefinitionDisableInput) => sdk['workflow']['definition']['disable'](input),\n});\n\nexport const workflowDefinitionDryrunQueryOptions = (sdk: GeneratedClient, input: WorkflowDefinitionDryrunInput) => ({\n queryKey: ['workflow', 'definition', 'dryrun', input] as const,\n queryFn: () => sdk['workflow']['definition']['dryrun'](input),\n});\n\nexport const workflowDefinitionEnableMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['workflow', 'definition', 'enable'],\n mutationFn: (input: WorkflowDefinitionEnableInput) => sdk['workflow']['definition']['enable'](input),\n});\n\nexport const workflowDefinitionExportQueryOptions = (sdk: GeneratedClient, input: WorkflowDefinitionExportInput) => ({\n queryKey: ['workflow', 'definition', 'export', input] as const,\n queryFn: () => sdk['workflow']['definition']['export'](input),\n});\n\nexport const workflowDefinitionGetQueryOptions = (sdk: GeneratedClient, input: WorkflowDefinitionGetInput) => ({\n queryKey: ['workflow', 'definition', 'get', input] as const,\n queryFn: () => sdk['workflow']['definition']['get'](input),\n});\n\nexport const workflowDefinitionImportMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['workflow', 'definition', 'import'],\n mutationFn: (input: WorkflowDefinitionImportInput) => sdk['workflow']['definition']['import'](input),\n});\n\nexport const workflowDefinitionListQueryOptions = (sdk: GeneratedClient, input: WorkflowDefinitionListInput) => ({\n queryKey: ['workflow', 'definition', 'list', input] as const,\n queryFn: () => sdk['workflow']['definition']['list'](input),\n});\n\nexport const workflowDefinitionPublishMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['workflow', 'definition', 'publish'],\n mutationFn: (input: WorkflowDefinitionPublishInput) => sdk['workflow']['definition']['publish'](input),\n});\n\nexport const workflowDefinitionUpdateMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['workflow', 'definition', 'update'],\n mutationFn: (input: WorkflowDefinitionUpdateInput) => sdk['workflow']['definition']['update'](input),\n});\n\nexport const workflowDefinitionValidateQueryOptions = (sdk: GeneratedClient, input: WorkflowDefinitionValidateInput) => ({\n queryKey: ['workflow', 'definition', 'validate', input] as const,\n queryFn: () => sdk['workflow']['definition']['validate'](input),\n});\n\nexport const workflowDependencyListQueryOptions = (sdk: GeneratedClient, input: WorkflowDependencyListInput) => ({\n queryKey: ['workflow', 'dependency', 'list', input] as const,\n queryFn: () => sdk['workflow']['dependency']['list'](input),\n});\n\nexport const workflowGrantListQueryOptions = (sdk: GeneratedClient, input: WorkflowGrantListInput) => ({\n queryKey: ['workflow', 'grant', 'list', input] as const,\n queryFn: () => sdk['workflow']['grant']['list'](input),\n});\n\nexport const workflowGrantRequestMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['workflow', 'grant', 'request'],\n mutationFn: (input: WorkflowGrantRequestInput) => sdk['workflow']['grant']['request'](input),\n});\n\nexport const workflowHealthListQueryOptions = (sdk: GeneratedClient, input: WorkflowHealthListInput) => ({\n queryKey: ['workflow', 'health', 'list', input] as const,\n queryFn: () => sdk['workflow']['health']['list'](input),\n});\n\nexport const workflowHealthPingQueryOptions = (sdk: GeneratedClient, input: WorkflowHealthPingInput) => ({\n queryKey: ['workflow', 'health', 'ping', input] as const,\n queryFn: () => sdk['workflow']['health']['ping'](input),\n});\n\nexport const workflowKillswitchGetQueryOptions = (sdk: GeneratedClient, input: WorkflowKillswitchGetInput) => ({\n queryKey: ['workflow', 'killswitch', 'get', input] as const,\n queryFn: () => sdk['workflow']['killswitch']['get'](input),\n});\n\nexport const workflowKillswitchSetMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['workflow', 'killswitch', 'set'],\n mutationFn: (input: WorkflowKillswitchSetInput) => sdk['workflow']['killswitch']['set'](input),\n});\n\nexport const workflowRunCancelMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['workflow', 'run', 'cancel'],\n mutationFn: (input: WorkflowRunCancelInput) => sdk['workflow']['run']['cancel'](input),\n});\n\nexport const workflowRunGetQueryOptions = (sdk: GeneratedClient, input: WorkflowRunGetInput) => ({\n queryKey: ['workflow', 'run', 'get', input] as const,\n queryFn: () => sdk['workflow']['run']['get'](input),\n});\n\nexport const workflowRunListQueryOptions = (sdk: GeneratedClient, input: WorkflowRunListInput) => ({\n queryKey: ['workflow', 'run', 'list', input] as const,\n queryFn: () => sdk['workflow']['run']['list'](input),\n});\n\nexport const workflowRunReplayMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['workflow', 'run', 'replay'],\n mutationFn: (input: WorkflowRunReplayInput) => sdk['workflow']['run']['replay'](input),\n});\n\nexport const workflowRunReplayAllMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['workflow', 'run-replay', 'all'],\n mutationFn: (input: WorkflowRunReplayAllInput) => sdk['workflow']['run-replay']['all'](input),\n});\n\nexport const workflowRunStartMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['workflow', 'run', 'start'],\n mutationFn: (input: WorkflowRunStartInput) => sdk['workflow']['run']['start'](input),\n});\n\nexport const workflowVersionGetQueryOptions = (sdk: GeneratedClient, input: WorkflowVersionGetInput) => ({\n queryKey: ['workflow', 'version', 'get', input] as const,\n queryFn: () => sdk['workflow']['version']['get'](input),\n});\n\nexport const workflowVersionListQueryOptions = (sdk: GeneratedClient, input: WorkflowVersionListInput) => ({\n queryKey: ['workflow', 'version', 'list', input] as const,\n queryFn: () => sdk['workflow']['version']['list'](input),\n});\n"]}
|
|
1
|
+
{"version":3,"sources":["../../src/gen/workflow/queryOptions.gen.ts"],"names":[],"mappings":";;;AA6DO,IAAM,iCAAA,GAAoC,CAAC,GAAA,EAAsB,KAAA,MAAuC;AAAA,EAC7G,QAAA,EAAU,CAAC,UAAA,EAAY,YAAA,EAAc,OAAO,KAAK,CAAA;AAAA,EACjD,OAAA,EAAS,MAAM,GAAA,CAAI,UAAU,EAAE,YAAY,CAAA,CAAE,KAAK,CAAA,CAAE,KAAK;AAC3D,CAAA;AAEO,IAAM,kCAAA,GAAqC,CAAC,GAAA,EAAsB,KAAA,MAAwC;AAAA,EAC/G,QAAA,EAAU,CAAC,UAAA,EAAY,YAAA,EAAc,QAAQ,KAAK,CAAA;AAAA,EAClD,OAAA,EAAS,MAAM,GAAA,CAAI,UAAU,EAAE,YAAY,CAAA,CAAE,MAAM,CAAA,CAAE,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AK,CAAA,CAAE,KAAK;AACrD,CAAA;AAEO,IAAM,4BAAA,GAA+B,CAAC,GAAA,EAAsB,KAAA,MAAkC;AAAA,EACnG,QAAA,EAAU,CAAC,UAAA,EAAY,MAAA,EAAQ,QAAQ,KAAK,CAAA;AAAA,EAC5C,OAAA,EAAS,MAAM,GAAA,CAAI,UAAU,EAAE,MAAM,CAAA,CAAE,MAAM,CAAA,CAAE,KAAK;AACtD,CAAA;AAEO,IAAM,+BAAA,GAAkC,CAAC,GAAA,EAAsB,KAAA,MAAqC;AAAA,EACzG,QAAA,EAAU,CAAC,UAAA,EAAY,WAAA,EAAa,OAAO,KAAK,CAAA;AAAA,EAChD,OAAA,EAAS,MAAM,GAAA,CAAI,UAAU,EAAE,WAAW,CAAA,CAAE,KAAK,CAAA,CAAE,KAAK;AAC1D,CAAA;AAEO,IAAM,kCAAA,GAAqC,CAAC,GAAA,MAA0B;AAAA,EAC3E,WAAA,EAAa,CAAC,UAAA,EAAY,MAAA,EAAQ,SAAS,CAAA;AAAA,EAC3C,UAAA,EAAY,CAAC,KAAA,KAAoC,GAAA,CAAI,UAAU,EAAE,MAAM,CAAA,CAAE,SAAS,CAAA,CAAE,KAAK;AAC3F,CAAA","file":"index.cjs","sourcesContent":["// AUTOGENERATED by scripts/generate.ts — do not edit.\nimport type { GeneratedClient } from '../client.gen';\nimport type {\n WorkflowCapabilityGetInput,\n WorkflowCapabilityGetOutput,\n WorkflowCapabilityListInput,\n WorkflowCapabilityListOutput,\n WorkflowConfigDeleteInput,\n WorkflowConfigListInput,\n WorkflowConfigListOutput,\n WorkflowConfigSetInput,\n WorkflowDefinitionCreateInput,\n WorkflowDefinitionDisableInput,\n WorkflowDefinitionDryrunInput,\n WorkflowDefinitionDryrunOutput,\n WorkflowDefinitionEnableInput,\n WorkflowDefinitionExportInput,\n WorkflowDefinitionExportOutput,\n WorkflowDefinitionGetInput,\n WorkflowDefinitionGetOutput,\n WorkflowDefinitionImportInput,\n WorkflowDefinitionListInput,\n WorkflowDefinitionListOutput,\n WorkflowDefinitionPublishInput,\n WorkflowDefinitionUpdateInput,\n WorkflowDefinitionValidateInput,\n WorkflowDefinitionValidateOutput,\n WorkflowDependencyListInput,\n WorkflowDependencyListOutput,\n WorkflowGrantListInput,\n WorkflowGrantListOutput,\n WorkflowGrantRequestInput,\n WorkflowHealthListInput,\n WorkflowHealthListOutput,\n WorkflowHealthPingInput,\n WorkflowHealthPingOutput,\n WorkflowKillswitchGetInput,\n WorkflowKillswitchGetOutput,\n WorkflowKillswitchSetInput,\n WorkflowRunCancelInput,\n WorkflowRunGetInput,\n WorkflowRunGetOutput,\n WorkflowRunListInput,\n WorkflowRunListOutput,\n WorkflowRunReplayAllInput,\n WorkflowRunReplayInput,\n WorkflowRunStartInput,\n WorkflowRunTestInput,\n WorkflowVersionGetInput,\n WorkflowVersionGetOutput,\n WorkflowVersionListInput,\n WorkflowVersionListOutput,\n WorkflowWaitGetInput,\n WorkflowWaitGetOutput,\n WorkflowWaitListAllInput,\n WorkflowWaitListAllOutput,\n WorkflowWaitListInput,\n WorkflowWaitListOutput,\n WorkflowWaitResolveInput,\n} from '../types.gen';\n\nexport const workflowCapabilityGetQueryOptions = (sdk: GeneratedClient, input: WorkflowCapabilityGetInput) => ({\n queryKey: ['workflow', 'capability', 'get', input] as const,\n queryFn: () => sdk['workflow']['capability']['get'](input),\n});\n\nexport const workflowCapabilityListQueryOptions = (sdk: GeneratedClient, input: WorkflowCapabilityListInput) => ({\n queryKey: ['workflow', 'capability', 'list', input] as const,\n queryFn: () => sdk['workflow']['capability']['list'](input),\n});\n\nexport const workflowConfigDeleteMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['workflow', 'config', 'delete'],\n mutationFn: (input: WorkflowConfigDeleteInput) => sdk['workflow']['config']['delete'](input),\n});\n\nexport const workflowConfigListQueryOptions = (sdk: GeneratedClient, input: WorkflowConfigListInput) => ({\n queryKey: ['workflow', 'config', 'list', input] as const,\n queryFn: () => sdk['workflow']['config']['list'](input),\n});\n\nexport const workflowConfigSetMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['workflow', 'config', 'set'],\n mutationFn: (input: WorkflowConfigSetInput) => sdk['workflow']['config']['set'](input),\n});\n\nexport const workflowDefinitionCreateMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['workflow', 'definition', 'create'],\n mutationFn: (input: WorkflowDefinitionCreateInput) => sdk['workflow']['definition']['create'](input),\n});\n\nexport const workflowDefinitionDisableMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['workflow', 'definition', 'disable'],\n mutationFn: (input: WorkflowDefinitionDisableInput) => sdk['workflow']['definition']['disable'](input),\n});\n\nexport const workflowDefinitionDryrunQueryOptions = (sdk: GeneratedClient, input: WorkflowDefinitionDryrunInput) => ({\n queryKey: ['workflow', 'definition', 'dryrun', input] as const,\n queryFn: () => sdk['workflow']['definition']['dryrun'](input),\n});\n\nexport const workflowDefinitionEnableMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['workflow', 'definition', 'enable'],\n mutationFn: (input: WorkflowDefinitionEnableInput) => sdk['workflow']['definition']['enable'](input),\n});\n\nexport const workflowDefinitionExportQueryOptions = (sdk: GeneratedClient, input: WorkflowDefinitionExportInput) => ({\n queryKey: ['workflow', 'definition', 'export', input] as const,\n queryFn: () => sdk['workflow']['definition']['export'](input),\n});\n\nexport const workflowDefinitionGetQueryOptions = (sdk: GeneratedClient, input: WorkflowDefinitionGetInput) => ({\n queryKey: ['workflow', 'definition', 'get', input] as const,\n queryFn: () => sdk['workflow']['definition']['get'](input),\n});\n\nexport const workflowDefinitionImportMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['workflow', 'definition', 'import'],\n mutationFn: (input: WorkflowDefinitionImportInput) => sdk['workflow']['definition']['import'](input),\n});\n\nexport const workflowDefinitionListQueryOptions = (sdk: GeneratedClient, input: WorkflowDefinitionListInput) => ({\n queryKey: ['workflow', 'definition', 'list', input] as const,\n queryFn: () => sdk['workflow']['definition']['list'](input),\n});\n\nexport const workflowDefinitionPublishMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['workflow', 'definition', 'publish'],\n mutationFn: (input: WorkflowDefinitionPublishInput) => sdk['workflow']['definition']['publish'](input),\n});\n\nexport const workflowDefinitionUpdateMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['workflow', 'definition', 'update'],\n mutationFn: (input: WorkflowDefinitionUpdateInput) => sdk['workflow']['definition']['update'](input),\n});\n\nexport const workflowDefinitionValidateQueryOptions = (sdk: GeneratedClient, input: WorkflowDefinitionValidateInput) => ({\n queryKey: ['workflow', 'definition', 'validate', input] as const,\n queryFn: () => sdk['workflow']['definition']['validate'](input),\n});\n\nexport const workflowDependencyListQueryOptions = (sdk: GeneratedClient, input: WorkflowDependencyListInput) => ({\n queryKey: ['workflow', 'dependency', 'list', input] as const,\n queryFn: () => sdk['workflow']['dependency']['list'](input),\n});\n\nexport const workflowGrantListQueryOptions = (sdk: GeneratedClient, input: WorkflowGrantListInput) => ({\n queryKey: ['workflow', 'grant', 'list', input] as const,\n queryFn: () => sdk['workflow']['grant']['list'](input),\n});\n\nexport const workflowGrantRequestMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['workflow', 'grant', 'request'],\n mutationFn: (input: WorkflowGrantRequestInput) => sdk['workflow']['grant']['request'](input),\n});\n\nexport const workflowHealthListQueryOptions = (sdk: GeneratedClient, input: WorkflowHealthListInput) => ({\n queryKey: ['workflow', 'health', 'list', input] as const,\n queryFn: () => sdk['workflow']['health']['list'](input),\n});\n\nexport const workflowHealthPingQueryOptions = (sdk: GeneratedClient, input: WorkflowHealthPingInput) => ({\n queryKey: ['workflow', 'health', 'ping', input] as const,\n queryFn: () => sdk['workflow']['health']['ping'](input),\n});\n\nexport const workflowKillswitchGetQueryOptions = (sdk: GeneratedClient, input: WorkflowKillswitchGetInput) => ({\n queryKey: ['workflow', 'killswitch', 'get', input] as const,\n queryFn: () => sdk['workflow']['killswitch']['get'](input),\n});\n\nexport const workflowKillswitchSetMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['workflow', 'killswitch', 'set'],\n mutationFn: (input: WorkflowKillswitchSetInput) => sdk['workflow']['killswitch']['set'](input),\n});\n\nexport const workflowRunCancelMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['workflow', 'run', 'cancel'],\n mutationFn: (input: WorkflowRunCancelInput) => sdk['workflow']['run']['cancel'](input),\n});\n\nexport const workflowRunGetQueryOptions = (sdk: GeneratedClient, input: WorkflowRunGetInput) => ({\n queryKey: ['workflow', 'run', 'get', input] as const,\n queryFn: () => sdk['workflow']['run']['get'](input),\n});\n\nexport const workflowRunListQueryOptions = (sdk: GeneratedClient, input: WorkflowRunListInput) => ({\n queryKey: ['workflow', 'run', 'list', input] as const,\n queryFn: () => sdk['workflow']['run']['list'](input),\n});\n\nexport const workflowRunReplayMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['workflow', 'run', 'replay'],\n mutationFn: (input: WorkflowRunReplayInput) => sdk['workflow']['run']['replay'](input),\n});\n\nexport const workflowRunReplayAllMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['workflow', 'run-replay', 'all'],\n mutationFn: (input: WorkflowRunReplayAllInput) => sdk['workflow']['run-replay']['all'](input),\n});\n\nexport const workflowRunStartMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['workflow', 'run', 'start'],\n mutationFn: (input: WorkflowRunStartInput) => sdk['workflow']['run']['start'](input),\n});\n\nexport const workflowRunTestMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['workflow', 'run', 'test'],\n mutationFn: (input: WorkflowRunTestInput) => sdk['workflow']['run']['test'](input),\n});\n\nexport const workflowVersionGetQueryOptions = (sdk: GeneratedClient, input: WorkflowVersionGetInput) => ({\n queryKey: ['workflow', 'version', 'get', input] as const,\n queryFn: () => sdk['workflow']['version']['get'](input),\n});\n\nexport const workflowVersionListQueryOptions = (sdk: GeneratedClient, input: WorkflowVersionListInput) => ({\n queryKey: ['workflow', 'version', 'list', input] as const,\n queryFn: () => sdk['workflow']['version']['list'](input),\n});\n\nexport const workflowWaitGetQueryOptions = (sdk: GeneratedClient, input: WorkflowWaitGetInput) => ({\n queryKey: ['workflow', 'wait', 'get', input] as const,\n queryFn: () => sdk['workflow']['wait']['get'](input),\n});\n\nexport const workflowWaitListQueryOptions = (sdk: GeneratedClient, input: WorkflowWaitListInput) => ({\n queryKey: ['workflow', 'wait', 'list', input] as const,\n queryFn: () => sdk['workflow']['wait']['list'](input),\n});\n\nexport const workflowWaitListAllQueryOptions = (sdk: GeneratedClient, input: WorkflowWaitListAllInput) => ({\n queryKey: ['workflow', 'wait-list', 'all', input] as const,\n queryFn: () => sdk['workflow']['wait-list']['all'](input),\n});\n\nexport const workflowWaitResolveMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['workflow', 'wait', 'resolve'],\n mutationFn: (input: WorkflowWaitResolveInput) => sdk['workflow']['wait']['resolve'](input),\n});\n"]}
|
package/dist/workflow/index.js
CHANGED
|
@@ -115,6 +115,10 @@ var workflowRunStartMutationOptions = (sdk) => ({
|
|
|
115
115
|
mutationKey: ["workflow", "run", "start"],
|
|
116
116
|
mutationFn: (input) => sdk["workflow"]["run"]["start"](input)
|
|
117
117
|
});
|
|
118
|
+
var workflowRunTestMutationOptions = (sdk) => ({
|
|
119
|
+
mutationKey: ["workflow", "run", "test"],
|
|
120
|
+
mutationFn: (input) => sdk["workflow"]["run"]["test"](input)
|
|
121
|
+
});
|
|
118
122
|
var workflowVersionGetQueryOptions = (sdk, input) => ({
|
|
119
123
|
queryKey: ["workflow", "version", "get", input],
|
|
120
124
|
queryFn: () => sdk["workflow"]["version"]["get"](input)
|
|
@@ -123,7 +127,23 @@ var workflowVersionListQueryOptions = (sdk, input) => ({
|
|
|
123
127
|
queryKey: ["workflow", "version", "list", input],
|
|
124
128
|
queryFn: () => sdk["workflow"]["version"]["list"](input)
|
|
125
129
|
});
|
|
130
|
+
var workflowWaitGetQueryOptions = (sdk, input) => ({
|
|
131
|
+
queryKey: ["workflow", "wait", "get", input],
|
|
132
|
+
queryFn: () => sdk["workflow"]["wait"]["get"](input)
|
|
133
|
+
});
|
|
134
|
+
var workflowWaitListQueryOptions = (sdk, input) => ({
|
|
135
|
+
queryKey: ["workflow", "wait", "list", input],
|
|
136
|
+
queryFn: () => sdk["workflow"]["wait"]["list"](input)
|
|
137
|
+
});
|
|
138
|
+
var workflowWaitListAllQueryOptions = (sdk, input) => ({
|
|
139
|
+
queryKey: ["workflow", "wait-list", "all", input],
|
|
140
|
+
queryFn: () => sdk["workflow"]["wait-list"]["all"](input)
|
|
141
|
+
});
|
|
142
|
+
var workflowWaitResolveMutationOptions = (sdk) => ({
|
|
143
|
+
mutationKey: ["workflow", "wait", "resolve"],
|
|
144
|
+
mutationFn: (input) => sdk["workflow"]["wait"]["resolve"](input)
|
|
145
|
+
});
|
|
126
146
|
|
|
127
|
-
export { workflowCapabilityGetQueryOptions, workflowCapabilityListQueryOptions, workflowConfigDeleteMutationOptions, workflowConfigListQueryOptions, workflowConfigSetMutationOptions, workflowDefinitionCreateMutationOptions, workflowDefinitionDisableMutationOptions, workflowDefinitionDryrunQueryOptions, workflowDefinitionEnableMutationOptions, workflowDefinitionExportQueryOptions, workflowDefinitionGetQueryOptions, workflowDefinitionImportMutationOptions, workflowDefinitionListQueryOptions, workflowDefinitionPublishMutationOptions, workflowDefinitionUpdateMutationOptions, workflowDefinitionValidateQueryOptions, workflowDependencyListQueryOptions, workflowGrantListQueryOptions, workflowGrantRequestMutationOptions, workflowHealthListQueryOptions, workflowHealthPingQueryOptions, workflowKillswitchGetQueryOptions, workflowKillswitchSetMutationOptions, workflowRunCancelMutationOptions, workflowRunGetQueryOptions, workflowRunListQueryOptions, workflowRunReplayAllMutationOptions, workflowRunReplayMutationOptions, workflowRunStartMutationOptions, workflowVersionGetQueryOptions, workflowVersionListQueryOptions };
|
|
147
|
+
export { workflowCapabilityGetQueryOptions, workflowCapabilityListQueryOptions, workflowConfigDeleteMutationOptions, workflowConfigListQueryOptions, workflowConfigSetMutationOptions, workflowDefinitionCreateMutationOptions, workflowDefinitionDisableMutationOptions, workflowDefinitionDryrunQueryOptions, workflowDefinitionEnableMutationOptions, workflowDefinitionExportQueryOptions, workflowDefinitionGetQueryOptions, workflowDefinitionImportMutationOptions, workflowDefinitionListQueryOptions, workflowDefinitionPublishMutationOptions, workflowDefinitionUpdateMutationOptions, workflowDefinitionValidateQueryOptions, workflowDependencyListQueryOptions, workflowGrantListQueryOptions, workflowGrantRequestMutationOptions, workflowHealthListQueryOptions, workflowHealthPingQueryOptions, workflowKillswitchGetQueryOptions, workflowKillswitchSetMutationOptions, workflowRunCancelMutationOptions, workflowRunGetQueryOptions, workflowRunListQueryOptions, workflowRunReplayAllMutationOptions, workflowRunReplayMutationOptions, workflowRunStartMutationOptions, workflowRunTestMutationOptions, workflowVersionGetQueryOptions, workflowVersionListQueryOptions, workflowWaitGetQueryOptions, workflowWaitListAllQueryOptions, workflowWaitListQueryOptions, workflowWaitResolveMutationOptions };
|
|
128
148
|
//# sourceMappingURL=index.js.map
|
|
129
149
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/gen/workflow/queryOptions.gen.ts"],"names":[],"mappings":";AAqDO,IAAM,iCAAA,GAAoC,CAAC,GAAA,EAAsB,KAAA,MAAuC;AAAA,EAC7G,QAAA,EAAU,CAAC,UAAA,EAAY,YAAA,EAAc,OAAO,KAAK,CAAA;AAAA,EACjD,OAAA,EAAS,MAAM,GAAA,CAAI,UAAU,EAAE,YAAY,CAAA,CAAE,KAAK,CAAA,CAAE,KAAK;AAC3D,CAAA;AAEO,IAAM,kCAAA,GAAqC,CAAC,GAAA,EAAsB,KAAA,MAAwC;AAAA,EAC/G,QAAA,EAAU,CAAC,UAAA,EAAY,YAAA,EAAc,QAAQ,KAAK,CAAA;AAAA,EAClD,OAAA,EAAS,MAAM,GAAA,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AAA;AAAA,EAC7C,UAAA,EAAY,CAAC,KAAA,KAAqC,GAAA,CAAI,UAAU,EAAE,YAAY,CAAA,CAAE,KAAK,CAAA,CAAE,KAAK;AAC9F,CAAA;AAEO,IAAM,+BAAA,GAAkC,CAAC,GAAA,MAA0B;AAAA,EACxE,WAAA,EAAa,CAAC,UAAA,EAAY,KAAA,EAAO,OAAO,CAAA;AAAA,EACxC,UAAA,EAAY,CAAC,KAAA,KAAiC,GAAA,CAAI,UAAU,EAAE,KAAK,CAAA,CAAE,OAAO,CAAA,CAAE,KAAK;AACrF,CAAA;AAEO,IAAM,8BAAA,GAAiC,CAAC,GAAA,EAAsB,KAAA,MAAoC;AAAA,EACvG,QAAA,EAAU,CAAC,UAAA,EAAY,SAAA,EAAW,OAAO,KAAK,CAAA;AAAA,EAC9C,OAAA,EAAS,MAAM,GAAA,CAAI,UAAU,EAAE,SAAS,CAAA,CAAE,KAAK,CAAA,CAAE,KAAK;AACxD,CAAA;AAEO,IAAM,+BAAA,GAAkC,CAAC,GAAA,EAAsB,KAAA,MAAqC;AAAA,EACzG,QAAA,EAAU,CAAC,UAAA,EAAY,SAAA,EAAW,QAAQ,KAAK,CAAA;AAAA,EAC/C,OAAA,EAAS,MAAM,GAAA,CAAI,UAAU,EAAE,SAAS,CAAA,CAAE,MAAM,CAAA,CAAE,KAAK;AACzD,CAAA","file":"index.js","sourcesContent":["// AUTOGENERATED by scripts/generate.ts — do not edit.\nimport type { GeneratedClient } from '../client.gen';\nimport type {\n WorkflowCapabilityGetInput,\n WorkflowCapabilityGetOutput,\n WorkflowCapabilityListInput,\n WorkflowCapabilityListOutput,\n WorkflowConfigDeleteInput,\n WorkflowConfigListInput,\n WorkflowConfigListOutput,\n WorkflowConfigSetInput,\n WorkflowDefinitionCreateInput,\n WorkflowDefinitionDisableInput,\n WorkflowDefinitionDryrunInput,\n WorkflowDefinitionDryrunOutput,\n WorkflowDefinitionEnableInput,\n WorkflowDefinitionExportInput,\n WorkflowDefinitionExportOutput,\n WorkflowDefinitionGetInput,\n WorkflowDefinitionGetOutput,\n WorkflowDefinitionImportInput,\n WorkflowDefinitionListInput,\n WorkflowDefinitionListOutput,\n WorkflowDefinitionPublishInput,\n WorkflowDefinitionUpdateInput,\n WorkflowDefinitionValidateInput,\n WorkflowDefinitionValidateOutput,\n WorkflowDependencyListInput,\n WorkflowDependencyListOutput,\n WorkflowGrantListInput,\n WorkflowGrantListOutput,\n WorkflowGrantRequestInput,\n WorkflowHealthListInput,\n WorkflowHealthListOutput,\n WorkflowHealthPingInput,\n WorkflowHealthPingOutput,\n WorkflowKillswitchGetInput,\n WorkflowKillswitchGetOutput,\n WorkflowKillswitchSetInput,\n WorkflowRunCancelInput,\n WorkflowRunGetInput,\n WorkflowRunGetOutput,\n WorkflowRunListInput,\n WorkflowRunListOutput,\n WorkflowRunReplayAllInput,\n WorkflowRunReplayInput,\n WorkflowRunStartInput,\n WorkflowVersionGetInput,\n WorkflowVersionGetOutput,\n WorkflowVersionListInput,\n WorkflowVersionListOutput,\n} from '../types.gen';\n\nexport const workflowCapabilityGetQueryOptions = (sdk: GeneratedClient, input: WorkflowCapabilityGetInput) => ({\n queryKey: ['workflow', 'capability', 'get', input] as const,\n queryFn: () => sdk['workflow']['capability']['get'](input),\n});\n\nexport const workflowCapabilityListQueryOptions = (sdk: GeneratedClient, input: WorkflowCapabilityListInput) => ({\n queryKey: ['workflow', 'capability', 'list', input] as const,\n queryFn: () => sdk['workflow']['capability']['list'](input),\n});\n\nexport const workflowConfigDeleteMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['workflow', 'config', 'delete'],\n mutationFn: (input: WorkflowConfigDeleteInput) => sdk['workflow']['config']['delete'](input),\n});\n\nexport const workflowConfigListQueryOptions = (sdk: GeneratedClient, input: WorkflowConfigListInput) => ({\n queryKey: ['workflow', 'config', 'list', input] as const,\n queryFn: () => sdk['workflow']['config']['list'](input),\n});\n\nexport const workflowConfigSetMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['workflow', 'config', 'set'],\n mutationFn: (input: WorkflowConfigSetInput) => sdk['workflow']['config']['set'](input),\n});\n\nexport const workflowDefinitionCreateMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['workflow', 'definition', 'create'],\n mutationFn: (input: WorkflowDefinitionCreateInput) => sdk['workflow']['definition']['create'](input),\n});\n\nexport const workflowDefinitionDisableMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['workflow', 'definition', 'disable'],\n mutationFn: (input: WorkflowDefinitionDisableInput) => sdk['workflow']['definition']['disable'](input),\n});\n\nexport const workflowDefinitionDryrunQueryOptions = (sdk: GeneratedClient, input: WorkflowDefinitionDryrunInput) => ({\n queryKey: ['workflow', 'definition', 'dryrun', input] as const,\n queryFn: () => sdk['workflow']['definition']['dryrun'](input),\n});\n\nexport const workflowDefinitionEnableMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['workflow', 'definition', 'enable'],\n mutationFn: (input: WorkflowDefinitionEnableInput) => sdk['workflow']['definition']['enable'](input),\n});\n\nexport const workflowDefinitionExportQueryOptions = (sdk: GeneratedClient, input: WorkflowDefinitionExportInput) => ({\n queryKey: ['workflow', 'definition', 'export', input] as const,\n queryFn: () => sdk['workflow']['definition']['export'](input),\n});\n\nexport const workflowDefinitionGetQueryOptions = (sdk: GeneratedClient, input: WorkflowDefinitionGetInput) => ({\n queryKey: ['workflow', 'definition', 'get', input] as const,\n queryFn: () => sdk['workflow']['definition']['get'](input),\n});\n\nexport const workflowDefinitionImportMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['workflow', 'definition', 'import'],\n mutationFn: (input: WorkflowDefinitionImportInput) => sdk['workflow']['definition']['import'](input),\n});\n\nexport const workflowDefinitionListQueryOptions = (sdk: GeneratedClient, input: WorkflowDefinitionListInput) => ({\n queryKey: ['workflow', 'definition', 'list', input] as const,\n queryFn: () => sdk['workflow']['definition']['list'](input),\n});\n\nexport const workflowDefinitionPublishMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['workflow', 'definition', 'publish'],\n mutationFn: (input: WorkflowDefinitionPublishInput) => sdk['workflow']['definition']['publish'](input),\n});\n\nexport const workflowDefinitionUpdateMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['workflow', 'definition', 'update'],\n mutationFn: (input: WorkflowDefinitionUpdateInput) => sdk['workflow']['definition']['update'](input),\n});\n\nexport const workflowDefinitionValidateQueryOptions = (sdk: GeneratedClient, input: WorkflowDefinitionValidateInput) => ({\n queryKey: ['workflow', 'definition', 'validate', input] as const,\n queryFn: () => sdk['workflow']['definition']['validate'](input),\n});\n\nexport const workflowDependencyListQueryOptions = (sdk: GeneratedClient, input: WorkflowDependencyListInput) => ({\n queryKey: ['workflow', 'dependency', 'list', input] as const,\n queryFn: () => sdk['workflow']['dependency']['list'](input),\n});\n\nexport const workflowGrantListQueryOptions = (sdk: GeneratedClient, input: WorkflowGrantListInput) => ({\n queryKey: ['workflow', 'grant', 'list', input] as const,\n queryFn: () => sdk['workflow']['grant']['list'](input),\n});\n\nexport const workflowGrantRequestMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['workflow', 'grant', 'request'],\n mutationFn: (input: WorkflowGrantRequestInput) => sdk['workflow']['grant']['request'](input),\n});\n\nexport const workflowHealthListQueryOptions = (sdk: GeneratedClient, input: WorkflowHealthListInput) => ({\n queryKey: ['workflow', 'health', 'list', input] as const,\n queryFn: () => sdk['workflow']['health']['list'](input),\n});\n\nexport const workflowHealthPingQueryOptions = (sdk: GeneratedClient, input: WorkflowHealthPingInput) => ({\n queryKey: ['workflow', 'health', 'ping', input] as const,\n queryFn: () => sdk['workflow']['health']['ping'](input),\n});\n\nexport const workflowKillswitchGetQueryOptions = (sdk: GeneratedClient, input: WorkflowKillswitchGetInput) => ({\n queryKey: ['workflow', 'killswitch', 'get', input] as const,\n queryFn: () => sdk['workflow']['killswitch']['get'](input),\n});\n\nexport const workflowKillswitchSetMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['workflow', 'killswitch', 'set'],\n mutationFn: (input: WorkflowKillswitchSetInput) => sdk['workflow']['killswitch']['set'](input),\n});\n\nexport const workflowRunCancelMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['workflow', 'run', 'cancel'],\n mutationFn: (input: WorkflowRunCancelInput) => sdk['workflow']['run']['cancel'](input),\n});\n\nexport const workflowRunGetQueryOptions = (sdk: GeneratedClient, input: WorkflowRunGetInput) => ({\n queryKey: ['workflow', 'run', 'get', input] as const,\n queryFn: () => sdk['workflow']['run']['get'](input),\n});\n\nexport const workflowRunListQueryOptions = (sdk: GeneratedClient, input: WorkflowRunListInput) => ({\n queryKey: ['workflow', 'run', 'list', input] as const,\n queryFn: () => sdk['workflow']['run']['list'](input),\n});\n\nexport const workflowRunReplayMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['workflow', 'run', 'replay'],\n mutationFn: (input: WorkflowRunReplayInput) => sdk['workflow']['run']['replay'](input),\n});\n\nexport const workflowRunReplayAllMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['workflow', 'run-replay', 'all'],\n mutationFn: (input: WorkflowRunReplayAllInput) => sdk['workflow']['run-replay']['all'](input),\n});\n\nexport const workflowRunStartMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['workflow', 'run', 'start'],\n mutationFn: (input: WorkflowRunStartInput) => sdk['workflow']['run']['start'](input),\n});\n\nexport const workflowVersionGetQueryOptions = (sdk: GeneratedClient, input: WorkflowVersionGetInput) => ({\n queryKey: ['workflow', 'version', 'get', input] as const,\n queryFn: () => sdk['workflow']['version']['get'](input),\n});\n\nexport const workflowVersionListQueryOptions = (sdk: GeneratedClient, input: WorkflowVersionListInput) => ({\n queryKey: ['workflow', 'version', 'list', input] as const,\n queryFn: () => sdk['workflow']['version']['list'](input),\n});\n"]}
|
|
1
|
+
{"version":3,"sources":["../../src/gen/workflow/queryOptions.gen.ts"],"names":[],"mappings":";AA6DO,IAAM,iCAAA,GAAoC,CAAC,GAA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it.\nimport type { GeneratedClient } from '../client.gen';\nimport type {\n WorkflowCapabilityGetInput,\n WorkflowCapabilityGetOutput,\n WorkflowCapabilityListInput,\n WorkflowCapabilityListOutput,\n WorkflowConfigDeleteInput,\n WorkflowConfigListInput,\n WorkflowConfigListOutput,\n WorkflowConfigSetInput,\n WorkflowDefinitionCreateInput,\n WorkflowDefinitionDisableInput,\n WorkflowDefinitionDryrunInput,\n WorkflowDefinitionDryrunOutput,\n WorkflowDefinitionEnableInput,\n WorkflowDefinitionExportInput,\n WorkflowDefinitionExportOutput,\n WorkflowDefinitionGetInput,\n WorkflowDefinitionGetOutput,\n WorkflowDefinitionImportInput,\n WorkflowDefinitionListInput,\n WorkflowDefinitionListOutput,\n WorkflowDefinitionPublishInput,\n WorkflowDefinitionUpdateInput,\n WorkflowDefinitionValidateInput,\n WorkflowDefinitionValidateOutput,\n WorkflowDependencyListInput,\n WorkflowDependencyListOutput,\n WorkflowGrantListInput,\n WorkflowGrantListOutput,\n WorkflowGrantRequestInput,\n WorkflowHealthListInput,\n WorkflowHealthListOutput,\n WorkflowHealthPingInput,\n WorkflowHealthPingOutput,\n WorkflowKillswitchGetInput,\n WorkflowKillswitchGetOutput,\n WorkflowKillswitchSetInput,\n WorkflowRunCancelInput,\n WorkflowRunGetInput,\n WorkflowRunGetOutput,\n WorkflowRunListInput,\n WorkflowRunListOutput,\n WorkflowRunReplayAllInput,\n WorkflowRunReplayInput,\n WorkflowRunStartInput,\n WorkflowRunTestInput,\n WorkflowVersionGetInput,\n WorkflowVersionGetOutput,\n WorkflowVersionListInput,\n WorkflowVersionListOutput,\n WorkflowWaitGetInput,\n WorkflowWaitGetOutput,\n WorkflowWaitListAllInput,\n WorkflowWaitListAllOutput,\n WorkflowWaitListInput,\n WorkflowWaitListOutput,\n WorkflowWaitResolveInput,\n} from '../types.gen';\n\nexport const workflowCapabilityGetQueryOptions = (sdk: GeneratedClient, input: WorkflowCapabilityGetInput) => ({\n queryKey: ['workflow', 'capability', 'get', input] as const,\n queryFn: () => sdk['workflow']['capability']['get'](input),\n});\n\nexport const workflowCapabilityListQueryOptions = (sdk: GeneratedClient, input: WorkflowCapabilityListInput) => ({\n queryKey: ['workflow', 'capability', 'list', input] as const,\n queryFn: () => sdk['workflow']['capability']['list'](input),\n});\n\nexport const workflowConfigDeleteMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['workflow', 'config', 'delete'],\n mutationFn: (input: WorkflowConfigDeleteInput) => sdk['workflow']['config']['delete'](input),\n});\n\nexport const workflowConfigListQueryOptions = (sdk: GeneratedClient, input: WorkflowConfigListInput) => ({\n queryKey: ['workflow', 'config', 'list', input] as const,\n queryFn: () => sdk['workflow']['config']['list'](input),\n});\n\nexport const workflowConfigSetMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['workflow', 'config', 'set'],\n mutationFn: (input: WorkflowConfigSetInput) => sdk['workflow']['config']['set'](input),\n});\n\nexport const workflowDefinitionCreateMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['workflow', 'definition', 'create'],\n mutationFn: (input: WorkflowDefinitionCreateInput) => sdk['workflow']['definition']['create'](input),\n});\n\nexport const workflowDefinitionDisableMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['workflow', 'definition', 'disable'],\n mutationFn: (input: WorkflowDefinitionDisableInput) => sdk['workflow']['definition']['disable'](input),\n});\n\nexport const workflowDefinitionDryrunQueryOptions = (sdk: GeneratedClient, input: WorkflowDefinitionDryrunInput) => ({\n queryKey: ['workflow', 'definition', 'dryrun', input] as const,\n queryFn: () => sdk['workflow']['definition']['dryrun'](input),\n});\n\nexport const workflowDefinitionEnableMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['workflow', 'definition', 'enable'],\n mutationFn: (input: WorkflowDefinitionEnableInput) => sdk['workflow']['definition']['enable'](input),\n});\n\nexport const workflowDefinitionExportQueryOptions = (sdk: GeneratedClient, input: WorkflowDefinitionExportInput) => ({\n queryKey: ['workflow', 'definition', 'export', input] as const,\n queryFn: () => sdk['workflow']['definition']['export'](input),\n});\n\nexport const workflowDefinitionGetQueryOptions = (sdk: GeneratedClient, input: WorkflowDefinitionGetInput) => ({\n queryKey: ['workflow', 'definition', 'get', input] as const,\n queryFn: () => sdk['workflow']['definition']['get'](input),\n});\n\nexport const workflowDefinitionImportMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['workflow', 'definition', 'import'],\n mutationFn: (input: WorkflowDefinitionImportInput) => sdk['workflow']['definition']['import'](input),\n});\n\nexport const workflowDefinitionListQueryOptions = (sdk: GeneratedClient, input: WorkflowDefinitionListInput) => ({\n queryKey: ['workflow', 'definition', 'list', input] as const,\n queryFn: () => sdk['workflow']['definition']['list'](input),\n});\n\nexport const workflowDefinitionPublishMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['workflow', 'definition', 'publish'],\n mutationFn: (input: WorkflowDefinitionPublishInput) => sdk['workflow']['definition']['publish'](input),\n});\n\nexport const workflowDefinitionUpdateMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['workflow', 'definition', 'update'],\n mutationFn: (input: WorkflowDefinitionUpdateInput) => sdk['workflow']['definition']['update'](input),\n});\n\nexport const workflowDefinitionValidateQueryOptions = (sdk: GeneratedClient, input: WorkflowDefinitionValidateInput) => ({\n queryKey: ['workflow', 'definition', 'validate', input] as const,\n queryFn: () => sdk['workflow']['definition']['validate'](input),\n});\n\nexport const workflowDependencyListQueryOptions = (sdk: GeneratedClient, input: WorkflowDependencyListInput) => ({\n queryKey: ['workflow', 'dependency', 'list', input] as const,\n queryFn: () => sdk['workflow']['dependency']['list'](input),\n});\n\nexport const workflowGrantListQueryOptions = (sdk: GeneratedClient, input: WorkflowGrantListInput) => ({\n queryKey: ['workflow', 'grant', 'list', input] as const,\n queryFn: () => sdk['workflow']['grant']['list'](input),\n});\n\nexport const workflowGrantRequestMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['workflow', 'grant', 'request'],\n mutationFn: (input: WorkflowGrantRequestInput) => sdk['workflow']['grant']['request'](input),\n});\n\nexport const workflowHealthListQueryOptions = (sdk: GeneratedClient, input: WorkflowHealthListInput) => ({\n queryKey: ['workflow', 'health', 'list', input] as const,\n queryFn: () => sdk['workflow']['health']['list'](input),\n});\n\nexport const workflowHealthPingQueryOptions = (sdk: GeneratedClient, input: WorkflowHealthPingInput) => ({\n queryKey: ['workflow', 'health', 'ping', input] as const,\n queryFn: () => sdk['workflow']['health']['ping'](input),\n});\n\nexport const workflowKillswitchGetQueryOptions = (sdk: GeneratedClient, input: WorkflowKillswitchGetInput) => ({\n queryKey: ['workflow', 'killswitch', 'get', input] as const,\n queryFn: () => sdk['workflow']['killswitch']['get'](input),\n});\n\nexport const workflowKillswitchSetMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['workflow', 'killswitch', 'set'],\n mutationFn: (input: WorkflowKillswitchSetInput) => sdk['workflow']['killswitch']['set'](input),\n});\n\nexport const workflowRunCancelMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['workflow', 'run', 'cancel'],\n mutationFn: (input: WorkflowRunCancelInput) => sdk['workflow']['run']['cancel'](input),\n});\n\nexport const workflowRunGetQueryOptions = (sdk: GeneratedClient, input: WorkflowRunGetInput) => ({\n queryKey: ['workflow', 'run', 'get', input] as const,\n queryFn: () => sdk['workflow']['run']['get'](input),\n});\n\nexport const workflowRunListQueryOptions = (sdk: GeneratedClient, input: WorkflowRunListInput) => ({\n queryKey: ['workflow', 'run', 'list', input] as const,\n queryFn: () => sdk['workflow']['run']['list'](input),\n});\n\nexport const workflowRunReplayMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['workflow', 'run', 'replay'],\n mutationFn: (input: WorkflowRunReplayInput) => sdk['workflow']['run']['replay'](input),\n});\n\nexport const workflowRunReplayAllMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['workflow', 'run-replay', 'all'],\n mutationFn: (input: WorkflowRunReplayAllInput) => sdk['workflow']['run-replay']['all'](input),\n});\n\nexport const workflowRunStartMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['workflow', 'run', 'start'],\n mutationFn: (input: WorkflowRunStartInput) => sdk['workflow']['run']['start'](input),\n});\n\nexport const workflowRunTestMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['workflow', 'run', 'test'],\n mutationFn: (input: WorkflowRunTestInput) => sdk['workflow']['run']['test'](input),\n});\n\nexport const workflowVersionGetQueryOptions = (sdk: GeneratedClient, input: WorkflowVersionGetInput) => ({\n queryKey: ['workflow', 'version', 'get', input] as const,\n queryFn: () => sdk['workflow']['version']['get'](input),\n});\n\nexport const workflowVersionListQueryOptions = (sdk: GeneratedClient, input: WorkflowVersionListInput) => ({\n queryKey: ['workflow', 'version', 'list', input] as const,\n queryFn: () => sdk['workflow']['version']['list'](input),\n});\n\nexport const workflowWaitGetQueryOptions = (sdk: GeneratedClient, input: WorkflowWaitGetInput) => ({\n queryKey: ['workflow', 'wait', 'get', input] as const,\n queryFn: () => sdk['workflow']['wait']['get'](input),\n});\n\nexport const workflowWaitListQueryOptions = (sdk: GeneratedClient, input: WorkflowWaitListInput) => ({\n queryKey: ['workflow', 'wait', 'list', input] as const,\n queryFn: () => sdk['workflow']['wait']['list'](input),\n});\n\nexport const workflowWaitListAllQueryOptions = (sdk: GeneratedClient, input: WorkflowWaitListAllInput) => ({\n queryKey: ['workflow', 'wait-list', 'all', input] as const,\n queryFn: () => sdk['workflow']['wait-list']['all'](input),\n});\n\nexport const workflowWaitResolveMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['workflow', 'wait', 'resolve'],\n mutationFn: (input: WorkflowWaitResolveInput) => sdk['workflow']['wait']['resolve'](input),\n});\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lessly/sdk-app",
|
|
3
|
-
"version": "66.
|
|
3
|
+
"version": "66.3.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"engines": {
|
|
@@ -219,5 +219,5 @@
|
|
|
219
219
|
}
|
|
220
220
|
}
|
|
221
221
|
},
|
|
222
|
-
"sdkContentHash": "sha256:
|
|
222
|
+
"sdkContentHash": "sha256:6cadab2c7901e7b042021c30ad86446f45dfd9ca5f8995f7732aeda89c7bd145"
|
|
223
223
|
}
|
package/src/gen/bindings.gen.ts
CHANGED
|
@@ -10969,6 +10969,10 @@ export const bindings: BindingsMap = {
|
|
|
10969
10969
|
"in": "query",
|
|
10970
10970
|
"name": "status"
|
|
10971
10971
|
},
|
|
10972
|
+
{
|
|
10973
|
+
"in": "query",
|
|
10974
|
+
"name": "test"
|
|
10975
|
+
},
|
|
10972
10976
|
{
|
|
10973
10977
|
"in": "query",
|
|
10974
10978
|
"name": "cursor"
|
|
@@ -11018,6 +11022,23 @@ export const bindings: BindingsMap = {
|
|
|
11018
11022
|
],
|
|
11019
11023
|
"path": "/workflow/runs/start",
|
|
11020
11024
|
"readOnly": false
|
|
11025
|
+
},
|
|
11026
|
+
"test": {
|
|
11027
|
+
"level": "write",
|
|
11028
|
+
"method": "POST",
|
|
11029
|
+
"operationKey": "workflow_run_test",
|
|
11030
|
+
"params": [
|
|
11031
|
+
{
|
|
11032
|
+
"in": "body",
|
|
11033
|
+
"name": "workflow_id"
|
|
11034
|
+
},
|
|
11035
|
+
{
|
|
11036
|
+
"in": "body",
|
|
11037
|
+
"name": "trigger_payload"
|
|
11038
|
+
}
|
|
11039
|
+
],
|
|
11040
|
+
"path": "/workflow/runs/test",
|
|
11041
|
+
"readOnly": false
|
|
11021
11042
|
}
|
|
11022
11043
|
},
|
|
11023
11044
|
"run-replay": {
|
|
@@ -11082,6 +11103,102 @@ export const bindings: BindingsMap = {
|
|
|
11082
11103
|
"path": "/workflow/version",
|
|
11083
11104
|
"readOnly": true
|
|
11084
11105
|
}
|
|
11106
|
+
},
|
|
11107
|
+
"wait": {
|
|
11108
|
+
"get": {
|
|
11109
|
+
"level": "read",
|
|
11110
|
+
"method": "GET",
|
|
11111
|
+
"operationKey": "workflow_wait_get",
|
|
11112
|
+
"params": [
|
|
11113
|
+
{
|
|
11114
|
+
"in": "query",
|
|
11115
|
+
"name": "wait_id"
|
|
11116
|
+
}
|
|
11117
|
+
],
|
|
11118
|
+
"path": "/workflow/waits/get",
|
|
11119
|
+
"readOnly": true
|
|
11120
|
+
},
|
|
11121
|
+
"list": {
|
|
11122
|
+
"level": "read",
|
|
11123
|
+
"method": "GET",
|
|
11124
|
+
"operationKey": "workflow_wait_list",
|
|
11125
|
+
"params": [
|
|
11126
|
+
{
|
|
11127
|
+
"in": "query",
|
|
11128
|
+
"name": "workflow_id"
|
|
11129
|
+
},
|
|
11130
|
+
{
|
|
11131
|
+
"in": "query",
|
|
11132
|
+
"name": "status"
|
|
11133
|
+
},
|
|
11134
|
+
{
|
|
11135
|
+
"in": "query",
|
|
11136
|
+
"name": "cursor"
|
|
11137
|
+
},
|
|
11138
|
+
{
|
|
11139
|
+
"in": "query",
|
|
11140
|
+
"name": "limit"
|
|
11141
|
+
}
|
|
11142
|
+
],
|
|
11143
|
+
"path": "/workflow/waits",
|
|
11144
|
+
"readOnly": true
|
|
11145
|
+
},
|
|
11146
|
+
"resolve": {
|
|
11147
|
+
"level": "write",
|
|
11148
|
+
"method": "POST",
|
|
11149
|
+
"operationKey": "workflow_wait_resolve",
|
|
11150
|
+
"params": [
|
|
11151
|
+
{
|
|
11152
|
+
"in": "body",
|
|
11153
|
+
"name": "wait_id"
|
|
11154
|
+
},
|
|
11155
|
+
{
|
|
11156
|
+
"in": "body",
|
|
11157
|
+
"name": "decision"
|
|
11158
|
+
},
|
|
11159
|
+
{
|
|
11160
|
+
"in": "body",
|
|
11161
|
+
"name": "comment"
|
|
11162
|
+
},
|
|
11163
|
+
{
|
|
11164
|
+
"in": "body",
|
|
11165
|
+
"name": "payload"
|
|
11166
|
+
},
|
|
11167
|
+
{
|
|
11168
|
+
"in": "body",
|
|
11169
|
+
"name": "link_token"
|
|
11170
|
+
}
|
|
11171
|
+
],
|
|
11172
|
+
"path": "/workflow/waits/resolve",
|
|
11173
|
+
"readOnly": false
|
|
11174
|
+
}
|
|
11175
|
+
},
|
|
11176
|
+
"wait-list": {
|
|
11177
|
+
"all": {
|
|
11178
|
+
"level": "read",
|
|
11179
|
+
"method": "GET",
|
|
11180
|
+
"operationKey": "workflow_wait_list_all",
|
|
11181
|
+
"params": [
|
|
11182
|
+
{
|
|
11183
|
+
"in": "query",
|
|
11184
|
+
"name": "workflow_id"
|
|
11185
|
+
},
|
|
11186
|
+
{
|
|
11187
|
+
"in": "query",
|
|
11188
|
+
"name": "status"
|
|
11189
|
+
},
|
|
11190
|
+
{
|
|
11191
|
+
"in": "query",
|
|
11192
|
+
"name": "cursor"
|
|
11193
|
+
},
|
|
11194
|
+
{
|
|
11195
|
+
"in": "query",
|
|
11196
|
+
"name": "limit"
|
|
11197
|
+
}
|
|
11198
|
+
],
|
|
11199
|
+
"path": "/workflow/waits/all",
|
|
11200
|
+
"readOnly": true
|
|
11201
|
+
}
|
|
11085
11202
|
}
|
|
11086
11203
|
}
|
|
11087
11204
|
};
|
package/src/gen/client.gen.ts
CHANGED
|
@@ -1181,10 +1181,20 @@ import type {
|
|
|
1181
1181
|
WorkflowRunReplayOutput,
|
|
1182
1182
|
WorkflowRunStartInput,
|
|
1183
1183
|
WorkflowRunStartOutput,
|
|
1184
|
+
WorkflowRunTestInput,
|
|
1185
|
+
WorkflowRunTestOutput,
|
|
1184
1186
|
WorkflowVersionGetInput,
|
|
1185
1187
|
WorkflowVersionGetOutput,
|
|
1186
1188
|
WorkflowVersionListInput,
|
|
1187
1189
|
WorkflowVersionListOutput,
|
|
1190
|
+
WorkflowWaitGetInput,
|
|
1191
|
+
WorkflowWaitGetOutput,
|
|
1192
|
+
WorkflowWaitListAllInput,
|
|
1193
|
+
WorkflowWaitListAllOutput,
|
|
1194
|
+
WorkflowWaitListInput,
|
|
1195
|
+
WorkflowWaitListOutput,
|
|
1196
|
+
WorkflowWaitResolveInput,
|
|
1197
|
+
WorkflowWaitResolveOutput,
|
|
1188
1198
|
} from './types.gen';
|
|
1189
1199
|
|
|
1190
1200
|
export interface GeneratedClient {
|
|
@@ -2259,6 +2269,7 @@ export interface GeneratedClient {
|
|
|
2259
2269
|
list: ((input: WorkflowRunListInput) => Promise<WorkflowRunListOutput>) & Operation;
|
|
2260
2270
|
replay: ((input: WorkflowRunReplayInput) => Promise<WorkflowRunReplayOutput>) & Operation;
|
|
2261
2271
|
start: ((input: WorkflowRunStartInput) => Promise<WorkflowRunStartOutput>) & Operation;
|
|
2272
|
+
test: ((input: WorkflowRunTestInput) => Promise<WorkflowRunTestOutput>) & Operation;
|
|
2262
2273
|
};
|
|
2263
2274
|
'run-replay': {
|
|
2264
2275
|
all: ((input: WorkflowRunReplayAllInput) => Promise<WorkflowRunReplayAllOutput>) & Operation;
|
|
@@ -2267,5 +2278,13 @@ export interface GeneratedClient {
|
|
|
2267
2278
|
get: ((input: WorkflowVersionGetInput) => Promise<WorkflowVersionGetOutput>) & Operation;
|
|
2268
2279
|
list: ((input: WorkflowVersionListInput) => Promise<WorkflowVersionListOutput>) & Operation;
|
|
2269
2280
|
};
|
|
2281
|
+
wait: {
|
|
2282
|
+
get: ((input: WorkflowWaitGetInput) => Promise<WorkflowWaitGetOutput>) & Operation;
|
|
2283
|
+
list: ((input: WorkflowWaitListInput) => Promise<WorkflowWaitListOutput>) & Operation;
|
|
2284
|
+
resolve: ((input: WorkflowWaitResolveInput) => Promise<WorkflowWaitResolveOutput>) & Operation;
|
|
2285
|
+
};
|
|
2286
|
+
'wait-list': {
|
|
2287
|
+
all: ((input: WorkflowWaitListAllInput) => Promise<WorkflowWaitListAllOutput>) & Operation;
|
|
2288
|
+
};
|
|
2270
2289
|
};
|
|
2271
2290
|
}
|
package/src/gen/manifest.gen.ts
CHANGED
|
@@ -594,8 +594,13 @@ export const operations: Record<string, ToolLevel> = {
|
|
|
594
594
|
'workflow_run_replay': 'write',
|
|
595
595
|
'workflow_run_replay_all': 'write',
|
|
596
596
|
'workflow_run_start': 'write',
|
|
597
|
+
'workflow_run_test': 'write',
|
|
597
598
|
'workflow_version_get': 'read',
|
|
598
599
|
'workflow_version_list': 'read',
|
|
600
|
+
'workflow_wait_get': 'read',
|
|
601
|
+
'workflow_wait_list': 'read',
|
|
602
|
+
'workflow_wait_list_all': 'read',
|
|
603
|
+
'workflow_wait_resolve': 'write',
|
|
599
604
|
};
|
|
600
605
|
|
|
601
606
|
export const compositions: Record<string, ToolComposition> = {
|