@settlemint/sdk-cli 2.4.0-pr90e62ec4 → 2.4.0-pra779099b

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/cli.js CHANGED
@@ -263840,7 +263840,7 @@ function pruneCurrentEnv(currentEnv, env2) {
263840
263840
  var package_default = {
263841
263841
  name: "@settlemint/sdk-cli",
263842
263842
  description: "Command-line interface for SettleMint SDK, providing development tools and project management capabilities",
263843
- version: "2.4.0-pr90e62ec4",
263843
+ version: "2.4.0-pra779099b",
263844
263844
  type: "module",
263845
263845
  private: false,
263846
263846
  license: "FSL-1.1-MIT",
@@ -263891,9 +263891,9 @@ var package_default = {
263891
263891
  "@inquirer/input": "4.1.12",
263892
263892
  "@inquirer/password": "4.0.15",
263893
263893
  "@inquirer/select": "4.2.3",
263894
- "@settlemint/sdk-js": "2.4.0-pr90e62ec4",
263895
- "@settlemint/sdk-utils": "2.4.0-pr90e62ec4",
263896
- "@settlemint/sdk-viem": "2.4.0-pr90e62ec4",
263894
+ "@settlemint/sdk-js": "2.4.0-pra779099b",
263895
+ "@settlemint/sdk-utils": "2.4.0-pra779099b",
263896
+ "@settlemint/sdk-viem": "2.4.0-pra779099b",
263897
263897
  "@types/node": "24.0.8",
263898
263898
  "@types/semver": "7.7.0",
263899
263899
  "@types/which": "3.0.4",
@@ -326488,6 +326488,9 @@ function addClusterServiceArgs(cmd2) {
326488
326488
  // src/commands/platform/utils/wait-for-completion.ts
326489
326489
  class TimeoutError2 extends Error {
326490
326490
  }
326491
+
326492
+ class DeploymentFailedError extends Error {
326493
+ }
326491
326494
  async function waitForCompletion({
326492
326495
  settlemint,
326493
326496
  type: type4,
@@ -326505,6 +326508,7 @@ async function waitForCompletion({
326505
326508
  if (!service || !("read" in service)) {
326506
326509
  throw new Error(`Service ${serviceType} does not support status checking`);
326507
326510
  }
326511
+ let hasRestarted = false;
326508
326512
  function showSpinner() {
326509
326513
  return spinner({
326510
326514
  startMessage: `Waiting for ${type4} to be ${getActionLabel(action)}`,
@@ -326517,8 +326521,7 @@ async function waitForCompletion({
326517
326521
  if (resource.status === "FAILED") {
326518
326522
  updateStatus(spinner2, `${capitalizeFirstLetter2(type4)} failed to ${getActionLabel(action)}`);
326519
326523
  if (restartOnError) {
326520
- note(`Restarting ${capitalizeFirstLetter2(type4)}`);
326521
- await service.restart(uniqueName);
326524
+ throw new DeploymentFailedError;
326522
326525
  }
326523
326526
  return false;
326524
326527
  }
@@ -326541,15 +326544,24 @@ async function waitForCompletion({
326541
326544
  try {
326542
326545
  return await showSpinner();
326543
326546
  } catch (error45) {
326544
- const isTimeoutError = error45 instanceof SpinnerError && error45.originalError instanceof TimeoutError2;
326545
- if (restartIfTimeout && isTimeoutError) {
326547
+ if (!hasRestarted && shouldRestart(error45, restartIfTimeout)) {
326546
326548
  note(`Restarting ${capitalizeFirstLetter2(type4)}`);
326549
+ hasRestarted = true;
326547
326550
  await service.restart(uniqueName);
326548
326551
  return showSpinner();
326549
326552
  }
326550
326553
  throw error45;
326551
326554
  }
326552
326555
  }
326556
+ function shouldRestart(error45, restartIfTimeout) {
326557
+ const isSpinnerError = error45 instanceof SpinnerError;
326558
+ const isDeploymentFailedError = error45 instanceof DeploymentFailedError || isSpinnerError && error45.originalError instanceof DeploymentFailedError;
326559
+ if (isDeploymentFailedError) {
326560
+ return true;
326561
+ }
326562
+ const isTimeoutError = error45 instanceof TimeoutError2 || isSpinnerError && error45.originalError instanceof TimeoutError2;
326563
+ return restartIfTimeout && isTimeoutError;
326564
+ }
326553
326565
  function updateStatus(spinner2, message) {
326554
326566
  if (spinner2) {
326555
326567
  spinner2.text = message;
@@ -328187,21 +328199,22 @@ function deleteCommand() {
328187
328199
  function getPauseCommand({
328188
328200
  name: name3,
328189
328201
  type: type4,
328190
- subType,
328191
328202
  alias,
328192
328203
  envKey,
328193
328204
  pauseFunction,
328194
328205
  usePersonalAccessToken = true
328195
328206
  }) {
328196
328207
  const commandName = sanitizeCommandName(name3);
328208
+ const typeCommandName = sanitizeCommandName(type4);
328209
+ const exampleCommandPrefix = `platform pause ${typeCommandName !== commandName ? `${typeCommandName} ` : ""}${commandName}`;
328197
328210
  return new Command(commandName).alias(alias).description(`Pause a ${type4} in the SettleMint platform. Provide the ${type4} unique name or use 'default' to pause the default ${type4} from your .env file.`).usage(createExamples([
328198
328211
  {
328199
328212
  description: `Pauses the specified ${type4} by unique name`,
328200
- command: `platform pause ${commandName} <${type4}-id>`
328213
+ command: `${exampleCommandPrefix} <unique-name>`
328201
328214
  },
328202
328215
  {
328203
328216
  description: `Pauses the default ${type4} in the production environment`,
328204
- command: `platform pause ${commandName} default --prod`
328217
+ command: `${exampleCommandPrefix} default --prod`
328205
328218
  }
328206
328219
  ])).argument("<unique-name>", `The unique name of the ${type4}, use 'default' to pause the default one from your .env file`).option("-a, --accept-defaults", "Accept the default and previously set values").option("--prod", "Connect to your production environment").option("-w, --wait", "Wait until paused").action(async (uniqueName, { acceptDefaults, prod, wait: wait2 }) => {
328207
328220
  intro(`Pausing ${type4} in the SettleMint platform`);
@@ -328287,7 +328300,6 @@ function blockscoutPauseCommand() {
328287
328300
  return getPauseCommand({
328288
328301
  name: "blockscout",
328289
328302
  type: "insights",
328290
- subType: "blockscout",
328291
328303
  alias: "bs",
328292
328304
  envKey: "SETTLEMINT_BLOCKSCOUT",
328293
328305
  pauseFunction: async (settlemint, id) => {
@@ -328296,12 +328308,16 @@ function blockscoutPauseCommand() {
328296
328308
  });
328297
328309
  }
328298
328310
 
328311
+ // src/commands/platform/insights/pause.ts
328312
+ function insightsPauseCommand() {
328313
+ return new Command("insights").alias("in").description("Pause an insights service in the SettleMint platform").addCommand(blockscoutPauseCommand());
328314
+ }
328315
+
328299
328316
  // src/commands/platform/integration-tools/hasura/pause.ts
328300
328317
  function hasuraPauseCommand() {
328301
328318
  return getPauseCommand({
328302
328319
  name: "hasura",
328303
328320
  type: "integration tool",
328304
- subType: "hasura",
328305
328321
  alias: "ha",
328306
328322
  envKey: "SETTLEMINT_HASURA",
328307
328323
  pauseFunction: async (settlemint, id) => {
@@ -328310,12 +328326,16 @@ function hasuraPauseCommand() {
328310
328326
  });
328311
328327
  }
328312
328328
 
328313
- // src/commands/platform/load-balancer/evm/pause.ts
328314
- function evmLoadBalancerPauseCommand() {
328329
+ // src/commands/platform/integration-tools/pause.ts
328330
+ function integrationToolPauseCommand() {
328331
+ return new Command("integration-tool").alias("it").description("Pause an integration tool service in the SettleMint platform").addCommand(hasuraPauseCommand());
328332
+ }
328333
+
328334
+ // src/commands/platform/load-balancer/pause.ts
328335
+ function loadBalancerPauseCommand() {
328315
328336
  return getPauseCommand({
328316
328337
  name: "evm",
328317
328338
  type: "load balancer",
328318
- subType: "evm",
328319
328339
  alias: "lb",
328320
328340
  envKey: "SETTLEMINT_BLOCKCHAIN_NODE_OR_LOAD_BALANCER",
328321
328341
  pauseFunction: async (settlemint, id) => {
@@ -328329,7 +328349,6 @@ function graphMiddlewarePauseCommand() {
328329
328349
  return getPauseCommand({
328330
328350
  name: "graph",
328331
328351
  type: "middleware",
328332
- subType: "graph",
328333
328352
  alias: "gr",
328334
328353
  envKey: "SETTLEMINT_THEGRAPH",
328335
328354
  pauseFunction: async (settlemint, id) => {
@@ -328343,7 +328362,6 @@ function smartContractPortalMiddlewarePauseCommand() {
328343
328362
  return getPauseCommand({
328344
328363
  name: "smart-contract-portal",
328345
328364
  type: "middleware",
328346
- subType: "smart-contract-portal",
328347
328365
  alias: "scp",
328348
328366
  envKey: "SETTLEMINT_PORTAL",
328349
328367
  pauseFunction: async (settlemint, id) => {
@@ -328352,28 +328370,18 @@ function smartContractPortalMiddlewarePauseCommand() {
328352
328370
  });
328353
328371
  }
328354
328372
 
328355
- // src/commands/platform/private-key/accessible-ecdsa-p256/pause.ts
328356
- function accessibleEcdsaP256PrivateKeyPauseCommand() {
328357
- return getPauseCommand({
328358
- name: "accessible-ecdsa-p256",
328359
- type: "private key",
328360
- subType: "accessible-ecdsa-p256",
328361
- alias: "acc",
328362
- envKey: "SETTLEMINT_ACCESSIBLE_PRIVATE_KEY",
328363
- pauseFunction: async (settlemint, id) => {
328364
- return settlemint.privateKey.pause(id);
328365
- }
328366
- });
328373
+ // src/commands/platform/middleware/pause.ts
328374
+ function middlewarePauseCommand() {
328375
+ return new Command("middleware").alias("mw").description("Pause a middleware service in the SettleMint platform").addCommand(graphMiddlewarePauseCommand()).addCommand(smartContractPortalMiddlewarePauseCommand());
328367
328376
  }
328368
328377
 
328369
- // src/commands/platform/private-key/hd-ecdsa-p256/pause.ts
328370
- function hdEcdsaP256PrivateKeyPauseCommand() {
328378
+ // src/commands/platform/private-key/pause.ts
328379
+ function privateKeyPauseCommand() {
328371
328380
  return getPauseCommand({
328372
- name: "hd-ecdsa-p256",
328381
+ name: "private-key",
328373
328382
  type: "private key",
328374
- subType: "hd-ecdsa-p256",
328375
- alias: "hd",
328376
- envKey: "SETTLEMINT_HD_PRIVATE_KEY",
328383
+ alias: "pk",
328384
+ envKey: "SETTLEMINT_ACCESSIBLE_PRIVATE_KEY",
328377
328385
  pauseFunction: async (settlemint, id) => {
328378
328386
  return settlemint.privateKey.pause(id);
328379
328387
  }
@@ -328385,7 +328393,6 @@ function ipfsStoragePauseCommand() {
328385
328393
  return getPauseCommand({
328386
328394
  name: "ipfs",
328387
328395
  type: "storage",
328388
- subType: "ipfs",
328389
328396
  alias: "ip",
328390
328397
  envKey: "SETTLEMINT_IPFS",
328391
328398
  pauseFunction: async (settlemint, id) => {
@@ -328399,7 +328406,6 @@ function minioStoragePauseCommand() {
328399
328406
  return getPauseCommand({
328400
328407
  name: "minio",
328401
328408
  type: "storage",
328402
- subType: "minio",
328403
328409
  alias: "m",
328404
328410
  envKey: "SETTLEMINT_MINIO",
328405
328411
  pauseFunction: async (settlemint, id) => {
@@ -328408,9 +328414,14 @@ function minioStoragePauseCommand() {
328408
328414
  });
328409
328415
  }
328410
328416
 
328417
+ // src/commands/platform/storage/pause.ts
328418
+ function storagePauseCommand() {
328419
+ return new Command("storage").alias("st").description("Pause a storage service in the SettleMint platform").addCommand(ipfsStoragePauseCommand()).addCommand(minioStoragePauseCommand());
328420
+ }
328421
+
328411
328422
  // src/commands/platform/pause.ts
328412
328423
  function pauseCommand() {
328413
- const cmd2 = new Command("pause").description("Pause a resource in the SettleMint platform").addCommand(blockchainNodePauseCommand()).addCommand(blockchainNetworkPauseCommand()).addCommand(customDeploymentPauseCommand()).addCommand(blockscoutPauseCommand()).addCommand(hasuraPauseCommand()).addCommand(evmLoadBalancerPauseCommand()).addCommand(graphMiddlewarePauseCommand()).addCommand(smartContractPortalMiddlewarePauseCommand()).addCommand(accessibleEcdsaP256PrivateKeyPauseCommand()).addCommand(hdEcdsaP256PrivateKeyPauseCommand()).addCommand(ipfsStoragePauseCommand()).addCommand(minioStoragePauseCommand());
328424
+ const cmd2 = new Command("pause").description("Pause a resource in the SettleMint platform").addCommand(blockchainNodePauseCommand()).addCommand(blockchainNetworkPauseCommand()).addCommand(customDeploymentPauseCommand()).addCommand(insightsPauseCommand()).addCommand(integrationToolPauseCommand()).addCommand(loadBalancerPauseCommand()).addCommand(middlewarePauseCommand()).addCommand(privateKeyPauseCommand()).addCommand(storagePauseCommand());
328414
328425
  return cmd2;
328415
328426
  }
328416
328427
 
@@ -328418,21 +328429,22 @@ function pauseCommand() {
328418
328429
  function getRestartCommand({
328419
328430
  name: name3,
328420
328431
  type: type4,
328421
- subType,
328422
328432
  alias,
328423
328433
  envKey,
328424
328434
  restartFunction,
328425
328435
  usePersonalAccessToken = true
328426
328436
  }) {
328427
328437
  const commandName = sanitizeCommandName(name3);
328438
+ const typeCommandName = sanitizeCommandName(type4);
328439
+ const exampleCommandPrefix = `platform restart ${typeCommandName !== commandName ? `${typeCommandName} ` : ""}${commandName}`;
328428
328440
  return new Command(commandName).alias(alias).description(`Restart a ${type4} in the SettleMint platform. Provide the ${type4} unique name or use 'default' to restart the default ${type4} from your .env file.`).usage(createExamples([
328429
328441
  {
328430
328442
  description: `Restarts the specified ${type4} by unique name`,
328431
- command: `platform restart ${commandName}${subType ? ` ${subType}` : ""} <${type4}-id>`
328443
+ command: `${exampleCommandPrefix} <unique-name>`
328432
328444
  },
328433
328445
  {
328434
328446
  description: `Restarts the default ${type4} in the production environment`,
328435
- command: `platform restart ${commandName}${subType ? ` ${subType}` : ""} default --prod`
328447
+ command: `${exampleCommandPrefix} default --prod`
328436
328448
  }
328437
328449
  ])).argument("<unique-name>", `The unique name of the ${type4}, use 'default' to restart the default one from your .env file`).option("-a, --accept-defaults", "Accept the default and previously set values").option("--prod", "Connect to your production environment").option("-w, --wait", "Wait until restarted").action(async (uniqueName, { acceptDefaults, prod, wait: wait2 }) => {
328438
328450
  intro(`Restarting ${type4} in the SettleMint platform`);
@@ -328519,7 +328531,6 @@ function blockscoutRestartCommand() {
328519
328531
  return getRestartCommand({
328520
328532
  name: "blockscout",
328521
328533
  type: "insights",
328522
- subType: "blockscout",
328523
328534
  alias: "bs",
328524
328535
  envKey: "SETTLEMINT_BLOCKSCOUT",
328525
328536
  restartFunction: async (settlemint, uniqueName) => {
@@ -328538,7 +328549,6 @@ function hasuraRestartCommand() {
328538
328549
  return getRestartCommand({
328539
328550
  name: "hasura",
328540
328551
  type: "integration tool",
328541
- subType: "hasura",
328542
328552
  alias: "ha",
328543
328553
  envKey: "SETTLEMINT_HASURA",
328544
328554
  restartFunction: async (settlemint, uniqueName) => {
@@ -328570,7 +328580,6 @@ function graphRestartCommand() {
328570
328580
  return getRestartCommand({
328571
328581
  name: "graph",
328572
328582
  type: "middleware",
328573
- subType: "graph",
328574
328583
  alias: "gr",
328575
328584
  envKey: "SETTLEMINT_THEGRAPH",
328576
328585
  restartFunction: async (settlemint, id) => {
@@ -328584,7 +328593,6 @@ function smartContractPortalRestartCommand() {
328584
328593
  return getRestartCommand({
328585
328594
  name: "smart-contract-portal",
328586
328595
  type: "middleware",
328587
- subType: "smart-contract-portal",
328588
328596
  alias: "scp",
328589
328597
  envKey: "SETTLEMINT_PORTAL",
328590
328598
  restartFunction: async (settlemint, uniqueName) => {
@@ -328639,21 +328647,22 @@ function restartCommand() {
328639
328647
  function getResumeCommand({
328640
328648
  name: name3,
328641
328649
  type: type4,
328642
- subType,
328643
328650
  alias,
328644
328651
  envKey,
328645
328652
  resumeFunction,
328646
328653
  usePersonalAccessToken = true
328647
328654
  }) {
328648
328655
  const commandName = sanitizeCommandName(name3);
328656
+ const typeCommandName = sanitizeCommandName(type4);
328657
+ const exampleCommandPrefix = `platform resume ${typeCommandName !== commandName ? `${typeCommandName} ` : ""}${commandName}`;
328649
328658
  return new Command(commandName).alias(alias).description(`Resume a ${type4} in the SettleMint platform. Provide the ${type4} unique name or use 'default' to resume the default ${type4} from your .env file.`).usage(createExamples([
328650
328659
  {
328651
328660
  description: `Resumes the specified ${type4} by unique name`,
328652
- command: `platform resume ${commandName} <${type4}-id>`
328661
+ command: `${exampleCommandPrefix} <unique-name>`
328653
328662
  },
328654
328663
  {
328655
328664
  description: `Resumes the default ${type4} in the production environment`,
328656
- command: `platform resume ${commandName} default --prod`
328665
+ command: `${exampleCommandPrefix} default --prod`
328657
328666
  }
328658
328667
  ])).argument("<unique-name>", `The unique name of the ${type4}, use 'default' to resume the default one from your .env file`).option("-a, --accept-defaults", "Accept the default and previously set values").option("--prod", "Connect to your production environment").option("-w, --wait", "Wait until resumed").action(async (uniqueName, { acceptDefaults, prod, wait: wait2 }) => {
328659
328668
  intro(`Resuming ${type4} in the SettleMint platform`);
@@ -328739,7 +328748,6 @@ function blockscoutResumeCommand() {
328739
328748
  return getResumeCommand({
328740
328749
  name: "blockscout",
328741
328750
  type: "insights",
328742
- subType: "blockscout",
328743
328751
  alias: "bs",
328744
328752
  envKey: "SETTLEMINT_BLOCKSCOUT",
328745
328753
  resumeFunction: async (settlemint, id) => {
@@ -328748,12 +328756,16 @@ function blockscoutResumeCommand() {
328748
328756
  });
328749
328757
  }
328750
328758
 
328759
+ // src/commands/platform/insights/resume.ts
328760
+ function insightsResumeCommand() {
328761
+ return new Command("insights").alias("in").description("Resume an insights service in the SettleMint platform").addCommand(blockscoutResumeCommand());
328762
+ }
328763
+
328751
328764
  // src/commands/platform/integration-tools/hasura/resume.ts
328752
328765
  function hasuraResumeCommand() {
328753
328766
  return getResumeCommand({
328754
328767
  name: "hasura",
328755
328768
  type: "integration tool",
328756
- subType: "hasura",
328757
328769
  alias: "ha",
328758
328770
  envKey: "SETTLEMINT_HASURA",
328759
328771
  resumeFunction: async (settlemint, id) => {
@@ -328762,12 +328774,16 @@ function hasuraResumeCommand() {
328762
328774
  });
328763
328775
  }
328764
328776
 
328765
- // src/commands/platform/load-balancer/evm/resume.ts
328766
- function evmLoadBalancerResumeCommand() {
328777
+ // src/commands/platform/integration-tools/resume.ts
328778
+ function integrationToolResumeCommand() {
328779
+ return new Command("integration-tool").alias("it").description("Resume an integration tool service in the SettleMint platform").addCommand(hasuraResumeCommand());
328780
+ }
328781
+
328782
+ // src/commands/platform/load-balancer/resume.ts
328783
+ function loadBalancerResumeCommand() {
328767
328784
  return getResumeCommand({
328768
- name: "evm",
328785
+ name: "load-balancer",
328769
328786
  type: "load balancer",
328770
- subType: "evm",
328771
328787
  alias: "lb",
328772
328788
  envKey: "SETTLEMINT_BLOCKCHAIN_NODE_OR_LOAD_BALANCER",
328773
328789
  resumeFunction: async (settlemint, id) => {
@@ -328781,7 +328797,6 @@ function graphMiddlewareResumeCommand() {
328781
328797
  return getResumeCommand({
328782
328798
  name: "graph",
328783
328799
  type: "middleware",
328784
- subType: "graph",
328785
328800
  alias: "gr",
328786
328801
  envKey: "SETTLEMINT_THEGRAPH",
328787
328802
  resumeFunction: async (settlemint, id) => {
@@ -328795,7 +328810,6 @@ function smartContractPortalMiddlewareResumeCommand() {
328795
328810
  return getResumeCommand({
328796
328811
  name: "smart-contract-portal",
328797
328812
  type: "middleware",
328798
- subType: "smart-contract-portal",
328799
328813
  alias: "scp",
328800
328814
  envKey: "SETTLEMINT_PORTAL",
328801
328815
  resumeFunction: async (settlemint, id) => {
@@ -328804,28 +328818,18 @@ function smartContractPortalMiddlewareResumeCommand() {
328804
328818
  });
328805
328819
  }
328806
328820
 
328807
- // src/commands/platform/private-key/accessible-ecdsa-p256/resume.ts
328808
- function accessibleEcdsaP256PrivateKeyResumeCommand() {
328809
- return getResumeCommand({
328810
- name: "accessible-ecdsa-p256",
328811
- type: "private key",
328812
- subType: "accessible-ecdsa-p256",
328813
- alias: "acc",
328814
- envKey: "SETTLEMINT_ACCESSIBLE_PRIVATE_KEY",
328815
- resumeFunction: async (settlemint, id) => {
328816
- return settlemint.privateKey.resume(id);
328817
- }
328818
- });
328821
+ // src/commands/platform/middleware/resume.ts
328822
+ function middlewareResumeCommand() {
328823
+ return new Command("middleware").alias("mw").description("Resume a middleware service in the SettleMint platform").addCommand(graphMiddlewareResumeCommand()).addCommand(smartContractPortalMiddlewareResumeCommand());
328819
328824
  }
328820
328825
 
328821
- // src/commands/platform/private-key/hd-ecdsa-p256/resume.ts
328822
- function hdEcdsaP256PrivateKeyResumeCommand() {
328826
+ // src/commands/platform/private-key/resume.ts
328827
+ function privateKeyResumeCommand() {
328823
328828
  return getResumeCommand({
328824
- name: "hd-ecdsa-p256",
328829
+ name: "private-key",
328825
328830
  type: "private key",
328826
- subType: "hd-ecdsa-p256",
328827
- alias: "hd",
328828
- envKey: "SETTLEMINT_HD_PRIVATE_KEY",
328831
+ alias: "pk",
328832
+ envKey: "SETTLEMINT_ACCESSIBLE_PRIVATE_KEY",
328829
328833
  resumeFunction: async (settlemint, id) => {
328830
328834
  return settlemint.privateKey.resume(id);
328831
328835
  }
@@ -328837,7 +328841,6 @@ function ipfsStorageResumeCommand() {
328837
328841
  return getResumeCommand({
328838
328842
  name: "ipfs",
328839
328843
  type: "storage",
328840
- subType: "ipfs",
328841
328844
  alias: "ip",
328842
328845
  envKey: "SETTLEMINT_IPFS",
328843
328846
  resumeFunction: async (settlemint, id) => {
@@ -328851,7 +328854,6 @@ function minioStorageResumeCommand() {
328851
328854
  return getResumeCommand({
328852
328855
  name: "minio",
328853
328856
  type: "storage",
328854
- subType: "minio",
328855
328857
  alias: "m",
328856
328858
  envKey: "SETTLEMINT_MINIO",
328857
328859
  resumeFunction: async (settlemint, id) => {
@@ -328860,9 +328862,14 @@ function minioStorageResumeCommand() {
328860
328862
  });
328861
328863
  }
328862
328864
 
328865
+ // src/commands/platform/storage/resume.ts
328866
+ function storageResumeCommand() {
328867
+ return new Command("storage").alias("st").description("Resume a storage service in the SettleMint platform").addCommand(ipfsStorageResumeCommand()).addCommand(minioStorageResumeCommand());
328868
+ }
328869
+
328863
328870
  // src/commands/platform/resume.ts
328864
328871
  function resumeCommand() {
328865
- const cmd2 = new Command("resume").description("Resume a resource in the SettleMint platform").addCommand(blockchainNodeResumeCommand()).addCommand(blockchainNetworkResumeCommand()).addCommand(customDeploymentResumeCommand()).addCommand(blockscoutResumeCommand()).addCommand(hasuraResumeCommand()).addCommand(evmLoadBalancerResumeCommand()).addCommand(graphMiddlewareResumeCommand()).addCommand(smartContractPortalMiddlewareResumeCommand()).addCommand(accessibleEcdsaP256PrivateKeyResumeCommand()).addCommand(hdEcdsaP256PrivateKeyResumeCommand()).addCommand(ipfsStorageResumeCommand()).addCommand(minioStorageResumeCommand());
328872
+ const cmd2 = new Command("resume").description("Resume a resource in the SettleMint platform").addCommand(blockchainNodeResumeCommand()).addCommand(blockchainNetworkResumeCommand()).addCommand(customDeploymentResumeCommand()).addCommand(insightsResumeCommand()).addCommand(integrationToolResumeCommand()).addCommand(loadBalancerResumeCommand()).addCommand(middlewareResumeCommand()).addCommand(privateKeyResumeCommand()).addCommand(storageResumeCommand());
328866
328873
  return cmd2;
328867
328874
  }
328868
328875
 
@@ -330787,4 +330794,4 @@ async function sdkCliCommand(argv = process.argv) {
330787
330794
  // src/cli.ts
330788
330795
  sdkCliCommand();
330789
330796
 
330790
- //# debugId=BD3D3E45C69BB58F64756E2164756E21
330797
+ //# debugId=F5964FA5A299F51C64756E2164756E21