@junobuild/cli 0.0.63 → 0.0.65
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@junobuild/cli",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.65",
|
|
4
4
|
"description": "The Juno command-line interface",
|
|
5
5
|
"author": "David Dal Busco (https://daviddalbusco.com)",
|
|
6
6
|
"license": "MIT",
|
|
@@ -23,18 +23,18 @@
|
|
|
23
23
|
"lint": "eslint --max-warnings 0 \"src/**/*\""
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@babel/core": "^7.24.
|
|
26
|
+
"@babel/core": "^7.24.5",
|
|
27
27
|
"@babel/plugin-transform-modules-commonjs": "^7.24.1",
|
|
28
28
|
"@babel/preset-typescript": "^7.24.1",
|
|
29
|
-
"@dfinity/agent": "^1.
|
|
30
|
-
"@dfinity/candid": "^1.
|
|
31
|
-
"@dfinity/identity": "^1.
|
|
32
|
-
"@dfinity/principal": "^1.
|
|
33
|
-
"@junobuild/admin": "^0.0.
|
|
34
|
-
"@junobuild/cli-tools": "^0.0.
|
|
35
|
-
"@junobuild/config": "^0.0.
|
|
36
|
-
"@junobuild/core-peer": "^0.0.
|
|
37
|
-
"@junobuild/utils": "^0.0.
|
|
29
|
+
"@dfinity/agent": "^1.3.0",
|
|
30
|
+
"@dfinity/candid": "^1.3.0",
|
|
31
|
+
"@dfinity/identity": "^1.3.0",
|
|
32
|
+
"@dfinity/principal": "^1.3.0",
|
|
33
|
+
"@junobuild/admin": "^0.0.48",
|
|
34
|
+
"@junobuild/cli-tools": "^0.0.9",
|
|
35
|
+
"@junobuild/config": "^0.0.6",
|
|
36
|
+
"@junobuild/core-peer": "^0.0.14",
|
|
37
|
+
"@junobuild/utils": "^0.0.21",
|
|
38
38
|
"conf": "^12.0.0",
|
|
39
39
|
"file-type": "^19.0.0",
|
|
40
40
|
"listr": "^0.14.3",
|
|
@@ -17,6 +17,13 @@ type AssetNoContent = record {
|
|
|
17
17
|
encodings : vec record { text; AssetEncodingNoContent };
|
|
18
18
|
headers : vec record { text; text };
|
|
19
19
|
created_at : nat64;
|
|
20
|
+
version : opt nat64;
|
|
21
|
+
};
|
|
22
|
+
type AuthenticationConfig = record {
|
|
23
|
+
internet_identity : opt AuthenticationConfigInternetIdentity;
|
|
24
|
+
};
|
|
25
|
+
type AuthenticationConfigInternetIdentity = record {
|
|
26
|
+
derivation_origin : opt text;
|
|
20
27
|
};
|
|
21
28
|
type CommitBatch = record {
|
|
22
29
|
batch_id : nat;
|
|
@@ -35,9 +42,10 @@ type ControllerScope = variant { Write; Admin };
|
|
|
35
42
|
type CustomDomain = record {
|
|
36
43
|
updated_at : nat64;
|
|
37
44
|
created_at : nat64;
|
|
45
|
+
version : opt nat64;
|
|
38
46
|
bn_id : opt text;
|
|
39
47
|
};
|
|
40
|
-
type DelDoc = record {
|
|
48
|
+
type DelDoc = record { version : opt nat64 };
|
|
41
49
|
type DeleteControllersArgs = record { controllers : vec principal };
|
|
42
50
|
type DepositCyclesArgs = record { cycles : nat; destination_id : principal };
|
|
43
51
|
type Doc = record {
|
|
@@ -46,6 +54,7 @@ type Doc = record {
|
|
|
46
54
|
data : vec nat8;
|
|
47
55
|
description : opt text;
|
|
48
56
|
created_at : nat64;
|
|
57
|
+
version : opt nat64;
|
|
49
58
|
};
|
|
50
59
|
type HttpRequest = record {
|
|
51
60
|
url : text;
|
|
@@ -97,11 +106,13 @@ type Memory = variant { Heap; Stable };
|
|
|
97
106
|
type MemorySize = record { stable : nat64; heap : nat64 };
|
|
98
107
|
type Permission = variant { Controllers; Private; Public; Managed };
|
|
99
108
|
type Rule = record {
|
|
109
|
+
max_capacity : opt nat32;
|
|
100
110
|
memory : opt Memory;
|
|
101
111
|
updated_at : nat64;
|
|
102
112
|
max_size : opt nat;
|
|
103
113
|
read : Permission;
|
|
104
114
|
created_at : nat64;
|
|
115
|
+
version : opt nat64;
|
|
105
116
|
mutable_permissions : opt bool;
|
|
106
117
|
write : Permission;
|
|
107
118
|
};
|
|
@@ -116,15 +127,16 @@ type SetControllersArgs = record {
|
|
|
116
127
|
controllers : vec principal;
|
|
117
128
|
};
|
|
118
129
|
type SetDoc = record {
|
|
119
|
-
updated_at : opt nat64;
|
|
120
130
|
data : vec nat8;
|
|
121
131
|
description : opt text;
|
|
132
|
+
version : opt nat64;
|
|
122
133
|
};
|
|
123
134
|
type SetRule = record {
|
|
135
|
+
max_capacity : opt nat32;
|
|
124
136
|
memory : opt Memory;
|
|
125
|
-
updated_at : opt nat64;
|
|
126
137
|
max_size : opt nat;
|
|
127
138
|
read : Permission;
|
|
139
|
+
version : opt nat64;
|
|
128
140
|
mutable_permissions : opt bool;
|
|
129
141
|
write : Permission;
|
|
130
142
|
};
|
|
@@ -132,9 +144,11 @@ type StorageConfig = record {
|
|
|
132
144
|
iframe : opt StorageConfigIFrame;
|
|
133
145
|
rewrites : vec record { text; text };
|
|
134
146
|
headers : vec record { text; vec record { text; text } };
|
|
147
|
+
raw_access : opt StorageConfigRawAccess;
|
|
135
148
|
redirects : opt vec record { text; StorageConfigRedirect };
|
|
136
149
|
};
|
|
137
150
|
type StorageConfigIFrame = variant { Deny; AllowAny; SameOrigin };
|
|
151
|
+
type StorageConfigRawAccess = variant { Deny; Allow };
|
|
138
152
|
type StorageConfigRedirect = record { status_code : nat16; location : text };
|
|
139
153
|
type StreamingCallbackHttpResponse = record {
|
|
140
154
|
token : opt StreamingCallbackToken;
|
|
@@ -178,6 +192,7 @@ service : () -> {
|
|
|
178
192
|
del_rule : (RulesType, text, DelDoc) -> ();
|
|
179
193
|
deposit_cycles : (DepositCyclesArgs) -> ();
|
|
180
194
|
get_asset : (text, text) -> (opt AssetNoContent) query;
|
|
195
|
+
get_auth_config : () -> (opt AuthenticationConfig) query;
|
|
181
196
|
get_config : () -> (Config);
|
|
182
197
|
get_doc : (text, text) -> (opt Doc) query;
|
|
183
198
|
get_many_assets : (vec record { text; text }) -> (
|
|
@@ -197,6 +212,7 @@ service : () -> {
|
|
|
197
212
|
list_docs : (text, ListParams) -> (ListResults_1) query;
|
|
198
213
|
list_rules : (RulesType) -> (vec record { text; Rule }) query;
|
|
199
214
|
memory_size : () -> (MemorySize) query;
|
|
215
|
+
set_auth_config : (AuthenticationConfig) -> ();
|
|
200
216
|
set_config : (Config) -> ();
|
|
201
217
|
set_controllers : (SetControllersArgs) -> (
|
|
202
218
|
vec record { principal; Controller },
|