windmill-cli 1.769.1 → 1.770.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/esm/main.js +33 -11
- package/package.json +1 -1
package/esm/main.js
CHANGED
|
@@ -16784,7 +16784,7 @@ var init_OpenAPI = __esm(() => {
|
|
|
16784
16784
|
PASSWORD: undefined,
|
|
16785
16785
|
TOKEN: getEnv3("WM_TOKEN"),
|
|
16786
16786
|
USERNAME: undefined,
|
|
16787
|
-
VERSION: "1.
|
|
16787
|
+
VERSION: "1.770.0",
|
|
16788
16788
|
WITH_CREDENTIALS: true,
|
|
16789
16789
|
interceptors: {
|
|
16790
16790
|
request: new Interceptors,
|
|
@@ -17236,6 +17236,7 @@ __export(exports_services_gen, {
|
|
|
17236
17236
|
publishHubResourceType: () => publishHubResourceType,
|
|
17237
17237
|
publishHubRawAppEmbed: () => publishHubRawAppEmbed,
|
|
17238
17238
|
publishHubRawApp: () => publishHubRawApp,
|
|
17239
|
+
publishHubProjectLogo: () => publishHubProjectLogo,
|
|
17239
17240
|
publishHubPipelineRecording: () => publishHubPipelineRecording,
|
|
17240
17241
|
publishHubMigrations: () => publishHubMigrations,
|
|
17241
17242
|
publishHubFlowRecording: () => publishHubFlowRecording,
|
|
@@ -25321,7 +25322,8 @@ var backendVersion = () => {
|
|
|
25321
25322
|
workspace: data3.workspace
|
|
25322
25323
|
},
|
|
25323
25324
|
query: {
|
|
25324
|
-
storage: data3.storage
|
|
25325
|
+
storage: data3.storage,
|
|
25326
|
+
s3_resource_path: data3.s3ResourcePath
|
|
25325
25327
|
}
|
|
25326
25328
|
});
|
|
25327
25329
|
}, getStorageUsage = (data3) => {
|
|
@@ -25346,7 +25348,8 @@ var backendVersion = () => {
|
|
|
25346
25348
|
max_keys: data3.maxKeys,
|
|
25347
25349
|
marker: data3.marker,
|
|
25348
25350
|
prefix: data3.prefix,
|
|
25349
|
-
storage: data3.storage
|
|
25351
|
+
storage: data3.storage,
|
|
25352
|
+
s3_resource_path: data3.s3ResourcePath
|
|
25350
25353
|
}
|
|
25351
25354
|
});
|
|
25352
25355
|
}, loadFileMetadata = (data3) => {
|
|
@@ -25358,7 +25361,8 @@ var backendVersion = () => {
|
|
|
25358
25361
|
},
|
|
25359
25362
|
query: {
|
|
25360
25363
|
file_key: data3.fileKey,
|
|
25361
|
-
storage: data3.storage
|
|
25364
|
+
storage: data3.storage,
|
|
25365
|
+
s3_resource_path: data3.s3ResourcePath
|
|
25362
25366
|
}
|
|
25363
25367
|
});
|
|
25364
25368
|
}, loadFilePreview = (data3) => {
|
|
@@ -25376,7 +25380,8 @@ var backendVersion = () => {
|
|
|
25376
25380
|
csv_has_header: data3.csvHasHeader,
|
|
25377
25381
|
read_bytes_from: data3.readBytesFrom,
|
|
25378
25382
|
read_bytes_length: data3.readBytesLength,
|
|
25379
|
-
storage: data3.storage
|
|
25383
|
+
storage: data3.storage,
|
|
25384
|
+
s3_resource_path: data3.s3ResourcePath
|
|
25380
25385
|
}
|
|
25381
25386
|
});
|
|
25382
25387
|
}, listGitRepoFiles = (data3) => {
|
|
@@ -25495,7 +25500,8 @@ var backendVersion = () => {
|
|
|
25495
25500
|
},
|
|
25496
25501
|
query: {
|
|
25497
25502
|
file_key: data3.fileKey,
|
|
25498
|
-
storage: data3.storage
|
|
25503
|
+
storage: data3.storage,
|
|
25504
|
+
s3_resource_path: data3.s3ResourcePath
|
|
25499
25505
|
}
|
|
25500
25506
|
});
|
|
25501
25507
|
}, moveS3File = (data3) => {
|
|
@@ -25508,7 +25514,8 @@ var backendVersion = () => {
|
|
|
25508
25514
|
query: {
|
|
25509
25515
|
src_file_key: data3.srcFileKey,
|
|
25510
25516
|
dest_file_key: data3.destFileKey,
|
|
25511
|
-
storage: data3.storage
|
|
25517
|
+
storage: data3.storage,
|
|
25518
|
+
s3_resource_path: data3.s3ResourcePath
|
|
25512
25519
|
}
|
|
25513
25520
|
});
|
|
25514
25521
|
}, fileUpload = (data3) => {
|
|
@@ -26102,6 +26109,20 @@ var backendVersion = () => {
|
|
|
26102
26109
|
folder: data3.folder
|
|
26103
26110
|
}
|
|
26104
26111
|
});
|
|
26112
|
+
}, publishHubProjectLogo = (data3) => {
|
|
26113
|
+
return request(OpenAPI, {
|
|
26114
|
+
method: "POST",
|
|
26115
|
+
url: "/w/{workspace}/hub/projects/{slug}/logo",
|
|
26116
|
+
path: {
|
|
26117
|
+
workspace: data3.workspace,
|
|
26118
|
+
slug: data3.slug
|
|
26119
|
+
},
|
|
26120
|
+
query: {
|
|
26121
|
+
folder: data3.folder
|
|
26122
|
+
},
|
|
26123
|
+
body: data3.requestBody,
|
|
26124
|
+
mediaType: "application/json"
|
|
26125
|
+
});
|
|
26105
26126
|
}, submitHubProject = (data3) => {
|
|
26106
26127
|
return request(OpenAPI, {
|
|
26107
26128
|
method: "POST",
|
|
@@ -26314,6 +26335,7 @@ __export(exports_gen, {
|
|
|
26314
26335
|
publishHubResourceType: () => publishHubResourceType,
|
|
26315
26336
|
publishHubRawAppEmbed: () => publishHubRawAppEmbed,
|
|
26316
26337
|
publishHubRawApp: () => publishHubRawApp,
|
|
26338
|
+
publishHubProjectLogo: () => publishHubProjectLogo,
|
|
26317
26339
|
publishHubPipelineRecording: () => publishHubPipelineRecording,
|
|
26318
26340
|
publishHubMigrations: () => publishHubMigrations,
|
|
26319
26341
|
publishHubFlowRecording: () => publishHubFlowRecording,
|
|
@@ -27044,7 +27066,7 @@ var init_auth = __esm(async () => {
|
|
|
27044
27066
|
});
|
|
27045
27067
|
|
|
27046
27068
|
// src/core/constants.ts
|
|
27047
|
-
var WM_FORK_PREFIX = "wm-fork", VERSION = "1.
|
|
27069
|
+
var WM_FORK_PREFIX = "wm-fork", VERSION = "1.770.0";
|
|
27048
27070
|
|
|
27049
27071
|
// src/utils/git.ts
|
|
27050
27072
|
var exports_git = {};
|
|
@@ -49576,7 +49598,7 @@ var require_zipEntries = __commonJS((exports, module) => {
|
|
|
49576
49598
|
if (this.centralDirRecords !== this.files.length) {
|
|
49577
49599
|
if (this.centralDirRecords !== 0 && this.files.length === 0) {
|
|
49578
49600
|
throw new Error("Corrupted zip or bug: expected " + this.centralDirRecords + " records in central dir, got " + this.files.length);
|
|
49579
|
-
}
|
|
49601
|
+
}
|
|
49580
49602
|
}
|
|
49581
49603
|
},
|
|
49582
49604
|
readEndOfCentral: function() {
|
|
@@ -58010,7 +58032,7 @@ var require_loader = __commonJS((exports, module) => {
|
|
|
58010
58032
|
var error2 = generateError(state, message);
|
|
58011
58033
|
if (state.onWarning) {
|
|
58012
58034
|
state.onWarning.call(null, error2);
|
|
58013
|
-
}
|
|
58035
|
+
}
|
|
58014
58036
|
}
|
|
58015
58037
|
var directiveHandlers = {
|
|
58016
58038
|
YAML: function handleYamlDirective(state, name, args) {
|
|
@@ -58548,7 +58570,7 @@ var require_loader = __commonJS((exports, module) => {
|
|
|
58548
58570
|
} else if (detectedIndent) {
|
|
58549
58571
|
sc.value += common3.repeat(`
|
|
58550
58572
|
`, emptyLines + 1);
|
|
58551
|
-
}
|
|
58573
|
+
}
|
|
58552
58574
|
detectedIndent = true;
|
|
58553
58575
|
emptyLines = 0;
|
|
58554
58576
|
captureStart = state.position;
|