windmill-cli 1.769.0 → 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.
Files changed (2) hide show
  1. package/esm/main.js +32 -19
  2. 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.769.0",
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.769.0";
27069
+ var WM_FORK_PREFIX = "wm-fork", VERSION = "1.770.0";
27048
27070
 
27049
27071
  // src/utils/git.ts
27050
27072
  var exports_git = {};
@@ -76770,8 +76792,8 @@ async function pushWorkspaceSettings(workspace, _path, settings, localSettings)
76770
76792
  } catch (err) {
76771
76793
  throw new Error(`Failed to get workspace settings: ${err}`);
76772
76794
  }
76773
- const { slack_team_id: _lst, slack_name: _lsn, ...comparableLocal } = localSettings;
76774
- const { slack_team_id: _rst, slack_name: _rsn, ...comparableRemote } = settings;
76795
+ const { slack_team_id: _lst, slack_name: _lsn, name: _ln, ...comparableLocal } = localSettings;
76796
+ const { slack_team_id: _rst, slack_name: _rsn, name: _rn, ...comparableRemote } = settings;
76775
76797
  if (isSuperset(comparableLocal, comparableRemote)) {
76776
76798
  debug(`Workspace settings are up to date`);
76777
76799
  return;
@@ -76887,15 +76909,6 @@ async function pushWorkspaceSettings(workspace, _path, settings, localSettings)
76887
76909
  }
76888
76910
  });
76889
76911
  }
76890
- if (localSettings.name != settings.name) {
76891
- debug(`Updating workspace name...`);
76892
- await changeWorkspaceName({
76893
- workspace,
76894
- requestBody: {
76895
- new_name: localSettings.name
76896
- }
76897
- });
76898
- }
76899
76912
  if (localSettings.mute_critical_alerts != settings.mute_critical_alerts) {
76900
76913
  debug(`Updating mute critical alerts...`);
76901
76914
  await workspaceMuteCriticalAlertsUi({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "windmill-cli",
3
- "version": "1.769.0",
3
+ "version": "1.770.0",
4
4
  "description": "CLI for Windmill",
5
5
  "license": "Apache 2.0",
6
6
  "type": "module",