@junobuild/cli 0.9.4 → 0.9.5

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/index.js CHANGED
@@ -769,7 +769,7 @@ Done. The ${Ea(t)} ${(0,iu.green)(r)} has been configured for your terminal. \u2
769
769
  ${(0,ei.yellow)("--source-path")} Optional path to the TypeScript or JavaScript entry file.`,gQ=`${Qdr}
770
770
  ${efr}`,bi=`${gQ}
771
771
  ${(0,ei.yellow)("--container-url")} Override a custom container URL. If not provided, defaults to production or the local container in development mode.
772
- ${(0,ei.yellow)("--console-url")} Specify a custom URL to access the developer Console.`,bF=`The option ${(0,ei.yellow)("--keep-staged")} only applies when ${(0,ei.yellow)("--no-apply")} is NOT used (i.e. the change is applied immediately).`;var Gt=e=>Wt({args:e,options:["-d","--doc"]})?"doc":"cli";var Di=te(Ue(),1);var xD="0.9.4";var rfr=` __ __ __ __ _ ____
772
+ ${(0,ei.yellow)("--console-url")} Specify a custom URL to access the developer Console.`,bF=`The option ${(0,ei.yellow)("--keep-staged")} only applies when ${(0,ei.yellow)("--no-apply")} is NOT used (i.e. the change is applied immediately).`;var Gt=e=>Wt({args:e,options:["-d","--doc"]})?"doc":"cli";var Di=te(Ue(),1);var xD="0.9.5";var rfr=` __ __ __ __ _ ____
773
773
  __) || | || \\| |/ \\
774
774
  \\___/ \\___/ |_|\\__|\\____/`,zt=`${rfr} CLI ${(0,Di.grey)(`v${xD}`)}`,P5e=`Juno CLI ${(0,Di.grey)(`v${xD}`)}`,_D=`
775
775
  ${zt}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@junobuild/cli",
3
- "version": "0.9.4",
3
+ "version": "0.9.5",
4
4
  "description": "The Juno command-line interface",
5
5
  "author": "David Dal Busco (https://daviddalbusco.com)",
6
6
  "license": "MIT",
@@ -99,6 +99,11 @@ type InitAssetKey = record {
99
99
  encoding_type : opt text;
100
100
  full_path : text;
101
101
  };
102
+ type InitSatelliteArgs = record {
103
+ controllers : vec principal;
104
+ storage : opt InitStorageArgs;
105
+ };
106
+ type InitStorageArgs = record { system_memory : opt Memory };
102
107
  type InitUploadResult = record { batch_id : nat };
103
108
  type ListMatcher = record {
104
109
  key : opt text;
@@ -280,7 +285,7 @@ type UploadChunk = record {
280
285
  order_id : opt nat;
281
286
  };
282
287
  type UploadChunkResult = record { chunk_id : nat };
283
- service : () -> {
288
+ service : (InitSatelliteArgs) -> {
284
289
  commit_asset_upload : (CommitBatch) -> ();
285
290
  commit_proposal : (CommitProposal) -> (null);
286
291
  commit_proposal_asset_upload : (CommitBatch) -> ();
@@ -350,6 +355,7 @@ service : () -> {
350
355
  set_rule : (CollectionType, text, SetRule) -> (Rule);
351
356
  set_storage_config : (SetStorageConfig) -> (StorageConfig);
352
357
  submit_proposal : (nat) -> (nat, Proposal);
358
+ switch_storage_system_memory : () -> ();
353
359
  upload_asset_chunk : (UploadChunk) -> (UploadChunkResult);
354
360
  upload_proposal_asset_chunk : (UploadChunk) -> (UploadChunkResult);
355
361
  }