@junobuild/cli 0.8.1 → 0.8.2
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
|
@@ -702,7 +702,7 @@ Done. The ${io(t)} ${(0,Ic.green)(r)} has been configured for your terminal. \u2
|
|
|
702
702
|
${(0,Qn.yellow)("--source-path")} Optional path to the TypeScript or JavaScript entry file.`,TG=`${Mar}
|
|
703
703
|
${Uar}`,Li=`${TG}
|
|
704
704
|
${(0,Qn.yellow)("--container-url")} Override a custom container URL. If not provided, defaults to production or the local container in development mode.
|
|
705
|
-
${(0,Qn.yellow)("--console-url")} Specify a custom URL to access the developer Console.`,P6=`The option ${(0,Qn.yellow)("--keep-staged")} only applies when ${(0,Qn.yellow)("--no-apply")} is NOT used (i.e. the change is applied immediately).`;var Qt=e=>Xt({args:e,options:["-d","--doc"]})?"doc":"cli";var wi=re(Ge(),1);var iS="0.8.
|
|
705
|
+
${(0,Qn.yellow)("--console-url")} Specify a custom URL to access the developer Console.`,P6=`The option ${(0,Qn.yellow)("--keep-staged")} only applies when ${(0,Qn.yellow)("--no-apply")} is NOT used (i.e. the change is applied immediately).`;var Qt=e=>Xt({args:e,options:["-d","--doc"]})?"doc":"cli";var wi=re(Ge(),1);var iS="0.8.2";var zar=` __ __ __ __ _ ____
|
|
706
706
|
__) || | || \\| |/ \\
|
|
707
707
|
\\___/ \\___/ |_|\\__|\\____/`,Zt=`${zar} CLI ${(0,wi.grey)(`v${iS}`)}`,tFe=`Juno CLI ${(0,wi.grey)(`v${iS}`)}`,sS=`
|
|
708
708
|
${Zt}
|
package/package.json
CHANGED
|
@@ -21,12 +21,17 @@ type AssetNoContent = record {
|
|
|
21
21
|
};
|
|
22
22
|
type AssetsUpgradeOptions = record { clear_existing_assets : opt bool };
|
|
23
23
|
type AuthenticationConfig = record {
|
|
24
|
+
updated_at : opt nat64;
|
|
25
|
+
created_at : opt nat64;
|
|
26
|
+
version : opt nat64;
|
|
24
27
|
internet_identity : opt AuthenticationConfigInternetIdentity;
|
|
28
|
+
rules : opt AuthenticationRules;
|
|
25
29
|
};
|
|
26
30
|
type AuthenticationConfigInternetIdentity = record {
|
|
27
31
|
derivation_origin : opt text;
|
|
28
32
|
external_alternative_origins : opt vec text;
|
|
29
33
|
};
|
|
34
|
+
type AuthenticationRules = record { allowed_callers : vec principal };
|
|
30
35
|
type CollectionType = variant { Db; Storage };
|
|
31
36
|
type CommitBatch = record {
|
|
32
37
|
batch_id : nat;
|
|
@@ -54,7 +59,12 @@ type CustomDomain = record {
|
|
|
54
59
|
version : opt nat64;
|
|
55
60
|
bn_id : opt text;
|
|
56
61
|
};
|
|
57
|
-
type DbConfig = record {
|
|
62
|
+
type DbConfig = record {
|
|
63
|
+
updated_at : opt nat64;
|
|
64
|
+
created_at : opt nat64;
|
|
65
|
+
version : opt nat64;
|
|
66
|
+
max_memory_size : opt ConfigMaxMemorySize;
|
|
67
|
+
};
|
|
58
68
|
type DelDoc = record { version : opt nat64 };
|
|
59
69
|
type DelRule = record { version : opt nat64 };
|
|
60
70
|
type DeleteControllersArgs = record { controllers : vec principal };
|
|
@@ -182,6 +192,11 @@ type SegmentsDeploymentOptions = record {
|
|
|
182
192
|
mission_control_version : opt text;
|
|
183
193
|
satellite_version : opt text;
|
|
184
194
|
};
|
|
195
|
+
type SetAuthenticationConfig = record {
|
|
196
|
+
version : opt nat64;
|
|
197
|
+
internet_identity : opt AuthenticationConfigInternetIdentity;
|
|
198
|
+
rules : opt AuthenticationRules;
|
|
199
|
+
};
|
|
185
200
|
type SetController = record {
|
|
186
201
|
metadata : vec record { text; text };
|
|
187
202
|
scope : ControllerScope;
|
|
@@ -191,6 +206,10 @@ type SetControllersArgs = record {
|
|
|
191
206
|
controller : SetController;
|
|
192
207
|
controllers : vec principal;
|
|
193
208
|
};
|
|
209
|
+
type SetDbConfig = record {
|
|
210
|
+
version : opt nat64;
|
|
211
|
+
max_memory_size : opt ConfigMaxMemorySize;
|
|
212
|
+
};
|
|
194
213
|
type SetDoc = record {
|
|
195
214
|
data : blob;
|
|
196
215
|
description : opt text;
|
|
@@ -207,10 +226,22 @@ type SetRule = record {
|
|
|
207
226
|
write : Permission;
|
|
208
227
|
max_changes_per_user : opt nat32;
|
|
209
228
|
};
|
|
229
|
+
type SetStorageConfig = record {
|
|
230
|
+
iframe : opt StorageConfigIFrame;
|
|
231
|
+
rewrites : vec record { text; text };
|
|
232
|
+
headers : vec record { text; vec record { text; text } };
|
|
233
|
+
version : opt nat64;
|
|
234
|
+
max_memory_size : opt ConfigMaxMemorySize;
|
|
235
|
+
raw_access : opt StorageConfigRawAccess;
|
|
236
|
+
redirects : opt vec record { text; StorageConfigRedirect };
|
|
237
|
+
};
|
|
210
238
|
type StorageConfig = record {
|
|
211
239
|
iframe : opt StorageConfigIFrame;
|
|
240
|
+
updated_at : opt nat64;
|
|
212
241
|
rewrites : vec record { text; text };
|
|
213
242
|
headers : vec record { text; vec record { text; text } };
|
|
243
|
+
created_at : opt nat64;
|
|
244
|
+
version : opt nat64;
|
|
214
245
|
max_memory_size : opt ConfigMaxMemorySize;
|
|
215
246
|
raw_access : opt StorageConfigRawAccess;
|
|
216
247
|
redirects : opt vec record { text; StorageConfigRedirect };
|
|
@@ -253,6 +284,7 @@ service : () -> {
|
|
|
253
284
|
commit_asset_upload : (CommitBatch) -> ();
|
|
254
285
|
commit_proposal : (CommitProposal) -> (null);
|
|
255
286
|
commit_proposal_asset_upload : (CommitBatch) -> ();
|
|
287
|
+
commit_proposal_many_assets_upload : (vec CommitBatch) -> ();
|
|
256
288
|
count_assets : (text, ListParams) -> (nat64) query;
|
|
257
289
|
count_collection_assets : (text) -> (nat64) query;
|
|
258
290
|
count_collection_docs : (text) -> (nat64) query;
|
|
@@ -294,6 +326,9 @@ service : () -> {
|
|
|
294
326
|
init_asset_upload : (InitAssetKey) -> (InitUploadResult);
|
|
295
327
|
init_proposal : (ProposalType) -> (nat, Proposal);
|
|
296
328
|
init_proposal_asset_upload : (InitAssetKey, nat) -> (InitUploadResult);
|
|
329
|
+
init_proposal_many_assets_upload : (vec InitAssetKey, nat) -> (
|
|
330
|
+
vec record { text; InitUploadResult },
|
|
331
|
+
);
|
|
297
332
|
list_assets : (text, ListParams) -> (ListResults) query;
|
|
298
333
|
list_controllers : () -> (vec record { principal; Controller }) query;
|
|
299
334
|
list_custom_domains : () -> (vec record { text; CustomDomain }) query;
|
|
@@ -302,18 +337,18 @@ service : () -> {
|
|
|
302
337
|
list_rules : (CollectionType, ListRulesParams) -> (ListRulesResults) query;
|
|
303
338
|
memory_size : () -> (MemorySize) query;
|
|
304
339
|
reject_proposal : (CommitProposal) -> (null);
|
|
305
|
-
set_auth_config : (
|
|
340
|
+
set_auth_config : (SetAuthenticationConfig) -> (AuthenticationConfig);
|
|
306
341
|
set_controllers : (SetControllersArgs) -> (
|
|
307
342
|
vec record { principal; Controller },
|
|
308
343
|
);
|
|
309
344
|
set_custom_domain : (text, opt text) -> ();
|
|
310
|
-
set_db_config : (
|
|
345
|
+
set_db_config : (SetDbConfig) -> (DbConfig);
|
|
311
346
|
set_doc : (text, text, SetDoc) -> (Doc);
|
|
312
347
|
set_many_docs : (vec record { text; text; SetDoc }) -> (
|
|
313
348
|
vec record { text; Doc },
|
|
314
349
|
);
|
|
315
350
|
set_rule : (CollectionType, text, SetRule) -> (Rule);
|
|
316
|
-
set_storage_config : (
|
|
351
|
+
set_storage_config : (SetStorageConfig) -> (StorageConfig);
|
|
317
352
|
submit_proposal : (nat) -> (nat, Proposal);
|
|
318
353
|
upload_asset_chunk : (UploadChunk) -> (UploadChunkResult);
|
|
319
354
|
upload_proposal_asset_chunk : (UploadChunk) -> (UploadChunkResult);
|