@junobuild/admin 0.0.14 → 0.0.16
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/declarations/cmc/cmc.factory.did.js +2 -0
- package/declarations/console/console.did.d.ts +8 -1
- package/declarations/console/console.factory.did.js +13 -1
- package/declarations/console/console.factory.did.mjs +13 -1
- package/declarations/frontend/frontend.factory.did.js +2 -0
- package/declarations/ic/ic.factory.did.js +3 -0
- package/declarations/internet_identity/internet_identity.did +49 -1
- package/declarations/internet_identity/internet_identity.did.d.ts +28 -1
- package/declarations/internet_identity/internet_identity.factory.did.js +45 -1
- package/declarations/ledger/ledger.did +22 -5
- package/declarations/ledger/ledger.did.d.ts +18 -1
- package/declarations/ledger/ledger.factory.did.js +18 -1
- package/declarations/mission_control/mission_control.did.d.ts +42 -0
- package/declarations/mission_control/mission_control.factory.did.js +55 -0
- package/declarations/observatory/index.d.ts +45 -0
- package/declarations/observatory/index.js +32 -0
- package/declarations/observatory/observatory.did.d.ts +84 -0
- package/declarations/observatory/observatory.factory.did.js +93 -0
- package/declarations/observatory/observatory.factory.did.mjs +93 -0
- package/declarations/satellite/satellite-deprecated-no-scope.did.d.ts +183 -0
- package/declarations/satellite/satellite-deprecated-no-scope.factory.did.js +194 -0
- package/declarations/satellite/satellite-deprecated-no-scope.factory.did.mjs +192 -0
- package/declarations/satellite/satellite.did.d.ts +19 -3
- package/declarations/satellite/satellite.factory.did.js +26 -7
- package/declarations/satellite/satellite.factory.did.mjs +28 -7
- package/dist/browser/index.js +9 -9
- package/dist/browser/index.js.map +4 -4
- package/dist/declarations/cmc/cmc.factory.did.js +2 -0
- package/dist/declarations/console/console.did.d.ts +8 -1
- package/dist/declarations/console/console.factory.did.js +13 -1
- package/dist/declarations/console/console.factory.did.mjs +13 -1
- package/dist/declarations/frontend/frontend.factory.did.js +2 -0
- package/dist/declarations/ic/ic.factory.did.js +3 -0
- package/dist/declarations/internet_identity/internet_identity.did +49 -1
- package/dist/declarations/internet_identity/internet_identity.did.d.ts +28 -1
- package/dist/declarations/internet_identity/internet_identity.factory.did.js +45 -1
- package/dist/declarations/ledger/ledger.did +22 -5
- package/dist/declarations/ledger/ledger.did.d.ts +18 -1
- package/dist/declarations/ledger/ledger.factory.did.js +18 -1
- package/dist/declarations/mission_control/mission_control.did.d.ts +42 -0
- package/dist/declarations/mission_control/mission_control.factory.did.js +55 -0
- package/dist/declarations/observatory/index.d.ts +45 -0
- package/dist/declarations/observatory/index.js +32 -0
- package/dist/declarations/observatory/observatory.did.d.ts +84 -0
- package/dist/declarations/observatory/observatory.factory.did.js +93 -0
- package/dist/declarations/observatory/observatory.factory.did.mjs +93 -0
- package/dist/declarations/satellite/satellite-deprecated-no-scope.did.d.ts +183 -0
- package/dist/declarations/satellite/satellite-deprecated-no-scope.factory.did.js +194 -0
- package/dist/declarations/satellite/satellite-deprecated-no-scope.factory.did.mjs +192 -0
- package/dist/declarations/satellite/satellite.did.d.ts +19 -3
- package/dist/declarations/satellite/satellite.factory.did.js +26 -7
- package/dist/declarations/satellite/satellite.factory.did.mjs +28 -7
- package/dist/node/index.mjs +24 -24
- package/dist/node/index.mjs.map +4 -4
- package/dist/types/api/actor.api.d.ts +2 -0
- package/dist/types/api/satellite.api.d.ts +3 -0
- package/dist/types/services/satellite.services.d.ts +2 -1
- package/package.json +1 -1
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
// @ts-ignore
|
|
1
2
|
export const idlFactory = ({IDL}) => {
|
|
2
3
|
const CommitBatch = IDL.Record({
|
|
3
4
|
batch_id: IDL.Nat,
|
|
@@ -7,13 +8,19 @@ export const idlFactory = ({IDL}) => {
|
|
|
7
8
|
const DeleteControllersArgs = IDL.Record({
|
|
8
9
|
controllers: IDL.Vec(IDL.Principal)
|
|
9
10
|
});
|
|
11
|
+
const ControllerScope = IDL.Variant({
|
|
12
|
+
Write: IDL.Null,
|
|
13
|
+
Admin: IDL.Null
|
|
14
|
+
});
|
|
10
15
|
const Controller = IDL.Record({
|
|
11
16
|
updated_at: IDL.Nat64,
|
|
12
17
|
metadata: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text)),
|
|
13
18
|
created_at: IDL.Nat64,
|
|
19
|
+
scope: ControllerScope,
|
|
14
20
|
expires_at: IDL.Opt(IDL.Nat64)
|
|
15
21
|
});
|
|
16
22
|
const DelDoc = IDL.Record({updated_at: IDL.Opt(IDL.Nat64)});
|
|
23
|
+
const RulesType = IDL.Variant({Db: IDL.Null, Storage: IDL.Null});
|
|
17
24
|
const StorageConfig = IDL.Record({
|
|
18
25
|
headers: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text))))
|
|
19
26
|
});
|
|
@@ -22,6 +29,7 @@ export const idlFactory = ({IDL}) => {
|
|
|
22
29
|
updated_at: IDL.Nat64,
|
|
23
30
|
owner: IDL.Principal,
|
|
24
31
|
data: IDL.Vec(IDL.Nat8),
|
|
32
|
+
description: IDL.Opt(IDL.Text),
|
|
25
33
|
created_at: IDL.Nat64
|
|
26
34
|
});
|
|
27
35
|
const HttpRequest = IDL.Record({
|
|
@@ -58,6 +66,7 @@ export const idlFactory = ({IDL}) => {
|
|
|
58
66
|
token: IDL.Opt(IDL.Text),
|
|
59
67
|
collection: IDL.Text,
|
|
60
68
|
name: IDL.Text,
|
|
69
|
+
description: IDL.Opt(IDL.Text),
|
|
61
70
|
encoding_type: IDL.Opt(IDL.Text),
|
|
62
71
|
full_path: IDL.Text
|
|
63
72
|
});
|
|
@@ -68,6 +77,10 @@ export const idlFactory = ({IDL}) => {
|
|
|
68
77
|
CreatedAt: IDL.Null
|
|
69
78
|
});
|
|
70
79
|
const ListOrder = IDL.Record({field: ListOrderField, desc: IDL.Bool});
|
|
80
|
+
const ListMatcher = IDL.Record({
|
|
81
|
+
key: IDL.Opt(IDL.Text),
|
|
82
|
+
description: IDL.Opt(IDL.Text)
|
|
83
|
+
});
|
|
71
84
|
const ListPaginate = IDL.Record({
|
|
72
85
|
start_after: IDL.Opt(IDL.Text),
|
|
73
86
|
limit: IDL.Opt(IDL.Nat64)
|
|
@@ -75,7 +88,7 @@ export const idlFactory = ({IDL}) => {
|
|
|
75
88
|
const ListParams = IDL.Record({
|
|
76
89
|
order: IDL.Opt(ListOrder),
|
|
77
90
|
owner: IDL.Opt(IDL.Principal),
|
|
78
|
-
matcher: IDL.Opt(
|
|
91
|
+
matcher: IDL.Opt(ListMatcher),
|
|
79
92
|
paginate: IDL.Opt(ListPaginate)
|
|
80
93
|
});
|
|
81
94
|
const AssetKey = IDL.Record({
|
|
@@ -83,6 +96,7 @@ export const idlFactory = ({IDL}) => {
|
|
|
83
96
|
collection: IDL.Text,
|
|
84
97
|
owner: IDL.Principal,
|
|
85
98
|
name: IDL.Text,
|
|
99
|
+
description: IDL.Opt(IDL.Text),
|
|
86
100
|
full_path: IDL.Text
|
|
87
101
|
});
|
|
88
102
|
const AssetEncodingNoContent = IDL.Record({
|
|
@@ -98,9 +112,11 @@ export const idlFactory = ({IDL}) => {
|
|
|
98
112
|
created_at: IDL.Nat64
|
|
99
113
|
});
|
|
100
114
|
const ListResults = IDL.Record({
|
|
115
|
+
matches_pages: IDL.Opt(IDL.Nat64),
|
|
101
116
|
matches_length: IDL.Nat64,
|
|
102
|
-
|
|
103
|
-
items: IDL.Vec(IDL.Tuple(IDL.Text, AssetNoContent))
|
|
117
|
+
items_page: IDL.Opt(IDL.Nat64),
|
|
118
|
+
items: IDL.Vec(IDL.Tuple(IDL.Text, AssetNoContent)),
|
|
119
|
+
items_length: IDL.Nat64
|
|
104
120
|
});
|
|
105
121
|
const CustomDomain = IDL.Record({
|
|
106
122
|
updated_at: IDL.Nat64,
|
|
@@ -108,11 +124,12 @@ export const idlFactory = ({IDL}) => {
|
|
|
108
124
|
bn_id: IDL.Opt(IDL.Text)
|
|
109
125
|
});
|
|
110
126
|
const ListResults_1 = IDL.Record({
|
|
127
|
+
matches_pages: IDL.Opt(IDL.Nat64),
|
|
111
128
|
matches_length: IDL.Nat64,
|
|
112
|
-
|
|
113
|
-
items: IDL.Vec(IDL.Tuple(IDL.Text, Doc))
|
|
129
|
+
items_page: IDL.Opt(IDL.Nat64),
|
|
130
|
+
items: IDL.Vec(IDL.Tuple(IDL.Text, Doc)),
|
|
131
|
+
items_length: IDL.Nat64
|
|
114
132
|
});
|
|
115
|
-
const RulesType = IDL.Variant({Db: IDL.Null, Storage: IDL.Null});
|
|
116
133
|
const Permission = IDL.Variant({
|
|
117
134
|
Controllers: IDL.Null,
|
|
118
135
|
Private: IDL.Null,
|
|
@@ -128,6 +145,7 @@ export const idlFactory = ({IDL}) => {
|
|
|
128
145
|
});
|
|
129
146
|
const SetController = IDL.Record({
|
|
130
147
|
metadata: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text)),
|
|
148
|
+
scope: ControllerScope,
|
|
131
149
|
expires_at: IDL.Opt(IDL.Nat64)
|
|
132
150
|
});
|
|
133
151
|
const SetControllersArgs = IDL.Record({
|
|
@@ -136,7 +154,8 @@ export const idlFactory = ({IDL}) => {
|
|
|
136
154
|
});
|
|
137
155
|
const SetDoc = IDL.Record({
|
|
138
156
|
updated_at: IDL.Opt(IDL.Nat64),
|
|
139
|
-
data: IDL.Vec(IDL.Nat8)
|
|
157
|
+
data: IDL.Vec(IDL.Nat8),
|
|
158
|
+
description: IDL.Opt(IDL.Text)
|
|
140
159
|
});
|
|
141
160
|
const SetRule = IDL.Record({
|
|
142
161
|
updated_at: IDL.Opt(IDL.Nat64),
|
|
@@ -160,6 +179,7 @@ export const idlFactory = ({IDL}) => {
|
|
|
160
179
|
),
|
|
161
180
|
del_custom_domain: IDL.Func([IDL.Text], [], []),
|
|
162
181
|
del_doc: IDL.Func([IDL.Text, IDL.Text, DelDoc], [], []),
|
|
182
|
+
del_rule: IDL.Func([RulesType, IDL.Text, DelDoc], [], []),
|
|
163
183
|
get_config: IDL.Func([], [Config], []),
|
|
164
184
|
get_doc: IDL.Func([IDL.Text, IDL.Text], [IDL.Opt(Doc)], ['query']),
|
|
165
185
|
http_request: IDL.Func([HttpRequest], [HttpResponse], ['query']),
|
|
@@ -187,6 +207,7 @@ export const idlFactory = ({IDL}) => {
|
|
|
187
207
|
version: IDL.Func([], [IDL.Text], ['query'])
|
|
188
208
|
});
|
|
189
209
|
};
|
|
210
|
+
// @ts-ignore
|
|
190
211
|
export const init = ({IDL}) => {
|
|
191
212
|
return [];
|
|
192
213
|
};
|