@tailor-platform/sdk 1.10.1 → 1.11.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/CHANGELOG.md +10 -0
- package/dist/cli/index.mjs +24 -18
- package/dist/cli/index.mjs.map +1 -1
- package/dist/cli/lib.d.mts +60 -2
- package/dist/cli/lib.mjs +2 -2
- package/dist/cli/lib.mjs.map +1 -1
- package/dist/configure/index.d.mts +2 -2
- package/dist/{index-BQw6I-mY.d.mts → index-D8zIUsWi.d.mts} +2 -2
- package/dist/{index-CoqePlnt.d.mts → index-DcOTucF6.d.mts} +7 -7
- package/dist/{update-Exhc9AkY.mjs → update-D0muqqOP.mjs} +542 -171
- package/dist/update-D0muqqOP.mjs.map +1 -0
- package/dist/utils/test/index.d.mts +2 -2
- package/docs/cli/executor.md +183 -52
- package/package.json +1 -1
- package/dist/update-Exhc9AkY.mjs.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# @tailor-platform/sdk
|
|
2
2
|
|
|
3
|
+
## 1.11.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#531](https://github.com/tailor-platform/sdk/pull/531) [`a3066a3`](https://github.com/tailor-platform/sdk/commit/a3066a399cb26ef91da1e871da0616311b104c26) Thanks [@toiroakr](https://github.com/toiroakr)! - Add executor list, get, and webhook commands to CLI
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- [#569](https://github.com/tailor-platform/sdk/pull/569) [`cec1970`](https://github.com/tailor-platform/sdk/commit/cec1970581e39caedf84a1c89e0dbdbd5c53c0c0) Thanks [@toiroakr](https://github.com/toiroakr)! - Fix BigInt serialization in error logging for API requests
|
|
12
|
+
|
|
3
13
|
## 1.10.1
|
|
4
14
|
|
|
5
15
|
### Patch Changes
|
package/dist/cli/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import "../chunk-CIV_ash9.mjs";
|
|
3
|
-
import { $t as
|
|
3
|
+
import { $ as jobsCommand, $t as readPackageJson, A as generateCommand, Bt as loadConfig, C as resumeCommand, F as removeCommand$1, G as generateCommand$1, Gt as loadAccessToken, H as listCommand$6, I as listCommand$7, J as triggerCommand, Jt as writePlatformConfig, Kt as loadWorkspaceId, Lt as getNamespacesWithMigrations, Mt as loadDiff, N as showCommand, O as truncateCommand, Ot as getMigrationFilePath, Qt as initOperatorClient, R as getCommand$2, Rt as trnPrefix, S as healthCommand, T as listCommand$8, Tt as formatMigrationNumber, Ut as apiCommand, V as tokenCommand, Wt as fetchLatestToken, X as listCommand$5, Xt as fetchUserInfo, Yt as fetchAll, Zt as initOAuth2Client, _ as createCommand$3, a as listCommand$10, an as withCommonArgs, b as listCommand$9, d as listCommand$11, en as PATScope, ft as applyCommand, gt as parseMigrationLabelNumber, h as deleteCommand$3, in as jsonArgs, it as getCommand$3, j as logBetaWarning, jt as isValidMigrationNumber, kt as getMigrationFiles, l as restoreCommand, lt as getCommand$1, nn as confirmationArgs, nt as startCommand, on as workspaceArgs, ot as executionsCommand, p as getCommand$4, q as webhookCommand, qt as readPlatformConfig, r as removeCommand, rn as deploymentArgs, s as inviteCommand, t as updateCommand$2, tn as commonArgs } from "../update-D0muqqOP.mjs";
|
|
4
4
|
import { d as styles, u as logger } from "../application-BKBo5tGD.mjs";
|
|
5
5
|
import { createRequire, register } from "node:module";
|
|
6
6
|
import { arg, defineCommand, runCommand, runMain } from "politty";
|
|
@@ -24,10 +24,16 @@ import { setTimeout as setTimeout$1 } from "node:timers/promises";
|
|
|
24
24
|
//#region src/cli/executor/index.ts
|
|
25
25
|
const executorCommand = defineCommand({
|
|
26
26
|
name: "executor",
|
|
27
|
-
description: "Manage executors
|
|
27
|
+
description: "Manage executors",
|
|
28
28
|
subCommands: {
|
|
29
|
+
list: listCommand$5,
|
|
30
|
+
get: getCommand$1,
|
|
29
31
|
jobs: jobsCommand,
|
|
30
|
-
trigger: triggerCommand
|
|
32
|
+
trigger: triggerCommand,
|
|
33
|
+
webhook: webhookCommand
|
|
34
|
+
},
|
|
35
|
+
async run() {
|
|
36
|
+
await runCommand(listCommand$5, []);
|
|
31
37
|
}
|
|
32
38
|
});
|
|
33
39
|
|
|
@@ -191,11 +197,11 @@ const machineuserCommand = defineCommand({
|
|
|
191
197
|
name: "machineuser",
|
|
192
198
|
description: "Manage machine users in your Tailor Platform application.",
|
|
193
199
|
subCommands: {
|
|
194
|
-
list: listCommand$
|
|
200
|
+
list: listCommand$6,
|
|
195
201
|
token: tokenCommand
|
|
196
202
|
},
|
|
197
203
|
async run() {
|
|
198
|
-
await runCommand(listCommand$
|
|
204
|
+
await runCommand(listCommand$6, []);
|
|
199
205
|
}
|
|
200
206
|
});
|
|
201
207
|
|
|
@@ -205,11 +211,11 @@ const oauth2clientCommand = defineCommand({
|
|
|
205
211
|
name: "oauth2client",
|
|
206
212
|
description: "Manage OAuth2 clients in your Tailor Platform application.",
|
|
207
213
|
subCommands: {
|
|
208
|
-
get: getCommand$
|
|
209
|
-
list: listCommand$
|
|
214
|
+
get: getCommand$2,
|
|
215
|
+
list: listCommand$7
|
|
210
216
|
},
|
|
211
217
|
async run() {
|
|
212
|
-
await runCommand(listCommand$
|
|
218
|
+
await runCommand(listCommand$7, []);
|
|
213
219
|
}
|
|
214
220
|
});
|
|
215
221
|
|
|
@@ -2088,14 +2094,14 @@ const workflowCommand = defineCommand({
|
|
|
2088
2094
|
name: "workflow",
|
|
2089
2095
|
description: "Manage workflows and workflow executions.",
|
|
2090
2096
|
subCommands: {
|
|
2091
|
-
list: listCommand$
|
|
2092
|
-
get: getCommand$
|
|
2097
|
+
list: listCommand$8,
|
|
2098
|
+
get: getCommand$3,
|
|
2093
2099
|
start: startCommand,
|
|
2094
2100
|
executions: executionsCommand,
|
|
2095
2101
|
resume: resumeCommand
|
|
2096
2102
|
},
|
|
2097
2103
|
async run() {
|
|
2098
|
-
await runCommand(listCommand$
|
|
2104
|
+
await runCommand(listCommand$8, []);
|
|
2099
2105
|
}
|
|
2100
2106
|
});
|
|
2101
2107
|
|
|
@@ -2106,10 +2112,10 @@ const appCommand = defineCommand({
|
|
|
2106
2112
|
description: "Manage workspace applications",
|
|
2107
2113
|
subCommands: {
|
|
2108
2114
|
health: healthCommand,
|
|
2109
|
-
list: listCommand$
|
|
2115
|
+
list: listCommand$9
|
|
2110
2116
|
},
|
|
2111
2117
|
async run() {
|
|
2112
|
-
await runCommand(listCommand$
|
|
2118
|
+
await runCommand(listCommand$9, []);
|
|
2113
2119
|
}
|
|
2114
2120
|
});
|
|
2115
2121
|
|
|
@@ -2120,12 +2126,12 @@ const userCommand = defineCommand({
|
|
|
2120
2126
|
description: "Manage workspace users",
|
|
2121
2127
|
subCommands: {
|
|
2122
2128
|
invite: inviteCommand,
|
|
2123
|
-
list: listCommand$
|
|
2129
|
+
list: listCommand$10,
|
|
2124
2130
|
remove: removeCommand,
|
|
2125
2131
|
update: updateCommand$2
|
|
2126
2132
|
},
|
|
2127
2133
|
async run() {
|
|
2128
|
-
await runCommand(listCommand$
|
|
2134
|
+
await runCommand(listCommand$10, []);
|
|
2129
2135
|
}
|
|
2130
2136
|
});
|
|
2131
2137
|
|
|
@@ -2138,13 +2144,13 @@ const workspaceCommand = defineCommand({
|
|
|
2138
2144
|
app: appCommand,
|
|
2139
2145
|
create: createCommand$3,
|
|
2140
2146
|
delete: deleteCommand$3,
|
|
2141
|
-
get: getCommand$
|
|
2142
|
-
list: listCommand$
|
|
2147
|
+
get: getCommand$4,
|
|
2148
|
+
list: listCommand$11,
|
|
2143
2149
|
restore: restoreCommand,
|
|
2144
2150
|
user: userCommand
|
|
2145
2151
|
},
|
|
2146
2152
|
async run() {
|
|
2147
|
-
await runCommand(listCommand$
|
|
2153
|
+
await runCommand(listCommand$11, []);
|
|
2148
2154
|
}
|
|
2149
2155
|
});
|
|
2150
2156
|
|