@junobuild/admin 0.0.47-next-2024-04-28 → 0.0.47-next-2024-05-06
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/orbiter/orbiter.did.d.ts +7 -2
- package/declarations/orbiter/orbiter.factory.did.js +8 -3
- package/declarations/orbiter/orbiter.factory.did.mjs +8 -3
- package/declarations/satellite/satellite.did.d.ts +7 -3
- package/declarations/satellite/satellite.factory.did.js +10 -6
- package/declarations/satellite/satellite.factory.did.mjs +10 -6
- package/dist/browser/index.js +4 -4
- package/dist/browser/index.js.map +3 -3
- package/dist/declarations/orbiter/orbiter.did.d.ts +7 -2
- package/dist/declarations/orbiter/orbiter.factory.did.js +8 -3
- package/dist/declarations/orbiter/orbiter.factory.did.mjs +8 -3
- package/dist/declarations/satellite/satellite.did.d.ts +7 -3
- package/dist/declarations/satellite/satellite.factory.did.js +10 -6
- package/dist/declarations/satellite/satellite.factory.did.mjs +10 -6
- package/dist/node/index.mjs +3 -3
- package/dist/node/index.mjs.map +3 -3
- package/dist/types/utils/rule.utils.d.ts +1 -1
- package/package.json +1 -1
|
@@ -51,7 +51,7 @@ export interface Controller {
|
|
|
51
51
|
}
|
|
52
52
|
export type ControllerScope = {Write: null} | {Admin: null};
|
|
53
53
|
export interface DelSatelliteConfig {
|
|
54
|
-
|
|
54
|
+
version: [] | [bigint];
|
|
55
55
|
}
|
|
56
56
|
export interface DeleteControllersArgs {
|
|
57
57
|
controllers: Array<Principal>;
|
|
@@ -72,6 +72,7 @@ export interface MemorySize {
|
|
|
72
72
|
export interface OrbiterSatelliteConfig {
|
|
73
73
|
updated_at: bigint;
|
|
74
74
|
created_at: bigint;
|
|
75
|
+
version: [] | [bigint];
|
|
75
76
|
enabled: boolean;
|
|
76
77
|
}
|
|
77
78
|
export interface PageView {
|
|
@@ -84,6 +85,7 @@ export interface PageView {
|
|
|
84
85
|
created_at: bigint;
|
|
85
86
|
satellite_id: Principal;
|
|
86
87
|
device: PageViewDevice;
|
|
88
|
+
version: [] | [bigint];
|
|
87
89
|
user_agent: [] | [string];
|
|
88
90
|
}
|
|
89
91
|
export interface PageViewDevice {
|
|
@@ -111,10 +113,11 @@ export interface SetPageView {
|
|
|
111
113
|
href: string;
|
|
112
114
|
satellite_id: Principal;
|
|
113
115
|
device: PageViewDevice;
|
|
116
|
+
version: [] | [bigint];
|
|
114
117
|
user_agent: [] | [string];
|
|
115
118
|
}
|
|
116
119
|
export interface SetSatelliteConfig {
|
|
117
|
-
|
|
120
|
+
version: [] | [bigint];
|
|
118
121
|
enabled: boolean;
|
|
119
122
|
}
|
|
120
123
|
export interface SetTrackEvent {
|
|
@@ -123,6 +126,7 @@ export interface SetTrackEvent {
|
|
|
123
126
|
metadata: [] | [Array<[string, string]>];
|
|
124
127
|
name: string;
|
|
125
128
|
satellite_id: Principal;
|
|
129
|
+
version: [] | [bigint];
|
|
126
130
|
user_agent: [] | [string];
|
|
127
131
|
}
|
|
128
132
|
export interface TrackEvent {
|
|
@@ -132,6 +136,7 @@ export interface TrackEvent {
|
|
|
132
136
|
name: string;
|
|
133
137
|
created_at: bigint;
|
|
134
138
|
satellite_id: Principal;
|
|
139
|
+
version: [] | [bigint];
|
|
135
140
|
}
|
|
136
141
|
export interface _SERVICE {
|
|
137
142
|
del_controllers: ActorMethod<[DeleteControllersArgs], Array<[Principal, Controller]>>;
|
|
@@ -14,7 +14,7 @@ export const idlFactory = ({IDL}) => {
|
|
|
14
14
|
scope: ControllerScope,
|
|
15
15
|
expires_at: IDL.Opt(IDL.Nat64)
|
|
16
16
|
});
|
|
17
|
-
const DelSatelliteConfig = IDL.Record({
|
|
17
|
+
const DelSatelliteConfig = IDL.Record({version: IDL.Opt(IDL.Nat64)});
|
|
18
18
|
const DepositCyclesArgs = IDL.Record({
|
|
19
19
|
cycles: IDL.Nat,
|
|
20
20
|
destination_id: IDL.Principal
|
|
@@ -42,6 +42,7 @@ export const idlFactory = ({IDL}) => {
|
|
|
42
42
|
created_at: IDL.Nat64,
|
|
43
43
|
satellite_id: IDL.Principal,
|
|
44
44
|
device: PageViewDevice,
|
|
45
|
+
version: IDL.Opt(IDL.Nat64),
|
|
45
46
|
user_agent: IDL.Opt(IDL.Text)
|
|
46
47
|
});
|
|
47
48
|
const AnalyticsBrowsersPageViews = IDL.Record({
|
|
@@ -83,7 +84,8 @@ export const idlFactory = ({IDL}) => {
|
|
|
83
84
|
metadata: IDL.Opt(IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text))),
|
|
84
85
|
name: IDL.Text,
|
|
85
86
|
created_at: IDL.Nat64,
|
|
86
|
-
satellite_id: IDL.Principal
|
|
87
|
+
satellite_id: IDL.Principal,
|
|
88
|
+
version: IDL.Opt(IDL.Nat64)
|
|
87
89
|
});
|
|
88
90
|
const AnalyticsTrackEvents = IDL.Record({
|
|
89
91
|
total: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Nat32))
|
|
@@ -91,6 +93,7 @@ export const idlFactory = ({IDL}) => {
|
|
|
91
93
|
const OrbiterSatelliteConfig = IDL.Record({
|
|
92
94
|
updated_at: IDL.Nat64,
|
|
93
95
|
created_at: IDL.Nat64,
|
|
96
|
+
version: IDL.Opt(IDL.Nat64),
|
|
94
97
|
enabled: IDL.Bool
|
|
95
98
|
});
|
|
96
99
|
const MemorySize = IDL.Record({stable: IDL.Nat64, heap: IDL.Nat64});
|
|
@@ -112,6 +115,7 @@ export const idlFactory = ({IDL}) => {
|
|
|
112
115
|
href: IDL.Text,
|
|
113
116
|
satellite_id: IDL.Principal,
|
|
114
117
|
device: PageViewDevice,
|
|
118
|
+
version: IDL.Opt(IDL.Nat64),
|
|
115
119
|
user_agent: IDL.Opt(IDL.Text)
|
|
116
120
|
});
|
|
117
121
|
const Result = IDL.Variant({Ok: PageView, Err: IDL.Text});
|
|
@@ -120,7 +124,7 @@ export const idlFactory = ({IDL}) => {
|
|
|
120
124
|
Err: IDL.Vec(IDL.Tuple(AnalyticKey, IDL.Text))
|
|
121
125
|
});
|
|
122
126
|
const SetSatelliteConfig = IDL.Record({
|
|
123
|
-
|
|
127
|
+
version: IDL.Opt(IDL.Nat64),
|
|
124
128
|
enabled: IDL.Bool
|
|
125
129
|
});
|
|
126
130
|
const SetTrackEvent = IDL.Record({
|
|
@@ -129,6 +133,7 @@ export const idlFactory = ({IDL}) => {
|
|
|
129
133
|
metadata: IDL.Opt(IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text))),
|
|
130
134
|
name: IDL.Text,
|
|
131
135
|
satellite_id: IDL.Principal,
|
|
136
|
+
version: IDL.Opt(IDL.Nat64),
|
|
132
137
|
user_agent: IDL.Opt(IDL.Text)
|
|
133
138
|
});
|
|
134
139
|
const Result_2 = IDL.Variant({Ok: TrackEvent, Err: IDL.Text});
|
|
@@ -14,7 +14,7 @@ export const idlFactory = ({IDL}) => {
|
|
|
14
14
|
scope: ControllerScope,
|
|
15
15
|
expires_at: IDL.Opt(IDL.Nat64)
|
|
16
16
|
});
|
|
17
|
-
const DelSatelliteConfig = IDL.Record({
|
|
17
|
+
const DelSatelliteConfig = IDL.Record({version: IDL.Opt(IDL.Nat64)});
|
|
18
18
|
const DepositCyclesArgs = IDL.Record({
|
|
19
19
|
cycles: IDL.Nat,
|
|
20
20
|
destination_id: IDL.Principal
|
|
@@ -42,6 +42,7 @@ export const idlFactory = ({IDL}) => {
|
|
|
42
42
|
created_at: IDL.Nat64,
|
|
43
43
|
satellite_id: IDL.Principal,
|
|
44
44
|
device: PageViewDevice,
|
|
45
|
+
version: IDL.Opt(IDL.Nat64),
|
|
45
46
|
user_agent: IDL.Opt(IDL.Text)
|
|
46
47
|
});
|
|
47
48
|
const AnalyticsBrowsersPageViews = IDL.Record({
|
|
@@ -83,7 +84,8 @@ export const idlFactory = ({IDL}) => {
|
|
|
83
84
|
metadata: IDL.Opt(IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text))),
|
|
84
85
|
name: IDL.Text,
|
|
85
86
|
created_at: IDL.Nat64,
|
|
86
|
-
satellite_id: IDL.Principal
|
|
87
|
+
satellite_id: IDL.Principal,
|
|
88
|
+
version: IDL.Opt(IDL.Nat64)
|
|
87
89
|
});
|
|
88
90
|
const AnalyticsTrackEvents = IDL.Record({
|
|
89
91
|
total: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Nat32))
|
|
@@ -91,6 +93,7 @@ export const idlFactory = ({IDL}) => {
|
|
|
91
93
|
const OrbiterSatelliteConfig = IDL.Record({
|
|
92
94
|
updated_at: IDL.Nat64,
|
|
93
95
|
created_at: IDL.Nat64,
|
|
96
|
+
version: IDL.Opt(IDL.Nat64),
|
|
94
97
|
enabled: IDL.Bool
|
|
95
98
|
});
|
|
96
99
|
const MemorySize = IDL.Record({stable: IDL.Nat64, heap: IDL.Nat64});
|
|
@@ -112,6 +115,7 @@ export const idlFactory = ({IDL}) => {
|
|
|
112
115
|
href: IDL.Text,
|
|
113
116
|
satellite_id: IDL.Principal,
|
|
114
117
|
device: PageViewDevice,
|
|
118
|
+
version: IDL.Opt(IDL.Nat64),
|
|
115
119
|
user_agent: IDL.Opt(IDL.Text)
|
|
116
120
|
});
|
|
117
121
|
const Result = IDL.Variant({Ok: PageView, Err: IDL.Text});
|
|
@@ -120,7 +124,7 @@ export const idlFactory = ({IDL}) => {
|
|
|
120
124
|
Err: IDL.Vec(IDL.Tuple(AnalyticKey, IDL.Text))
|
|
121
125
|
});
|
|
122
126
|
const SetSatelliteConfig = IDL.Record({
|
|
123
|
-
|
|
127
|
+
version: IDL.Opt(IDL.Nat64),
|
|
124
128
|
enabled: IDL.Bool
|
|
125
129
|
});
|
|
126
130
|
const SetTrackEvent = IDL.Record({
|
|
@@ -129,6 +133,7 @@ export const idlFactory = ({IDL}) => {
|
|
|
129
133
|
metadata: IDL.Opt(IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text))),
|
|
130
134
|
name: IDL.Text,
|
|
131
135
|
satellite_id: IDL.Principal,
|
|
136
|
+
version: IDL.Opt(IDL.Nat64),
|
|
132
137
|
user_agent: IDL.Opt(IDL.Text)
|
|
133
138
|
});
|
|
134
139
|
const Result_2 = IDL.Variant({Ok: TrackEvent, Err: IDL.Text});
|
|
@@ -21,6 +21,7 @@ export interface AssetNoContent {
|
|
|
21
21
|
encodings: Array<[string, AssetEncodingNoContent]>;
|
|
22
22
|
headers: Array<[string, string]>;
|
|
23
23
|
created_at: bigint;
|
|
24
|
+
version: [] | [bigint];
|
|
24
25
|
}
|
|
25
26
|
export interface AuthenticationConfig {
|
|
26
27
|
internet_identity: [] | [AuthenticationConfigInternetIdentity];
|
|
@@ -47,10 +48,11 @@ export type ControllerScope = {Write: null} | {Admin: null};
|
|
|
47
48
|
export interface CustomDomain {
|
|
48
49
|
updated_at: bigint;
|
|
49
50
|
created_at: bigint;
|
|
51
|
+
version: [] | [bigint];
|
|
50
52
|
bn_id: [] | [string];
|
|
51
53
|
}
|
|
52
54
|
export interface DelDoc {
|
|
53
|
-
|
|
55
|
+
version: [] | [bigint];
|
|
54
56
|
}
|
|
55
57
|
export interface DeleteControllersArgs {
|
|
56
58
|
controllers: Array<Principal>;
|
|
@@ -65,6 +67,7 @@ export interface Doc {
|
|
|
65
67
|
data: Uint8Array | number[];
|
|
66
68
|
description: [] | [string];
|
|
67
69
|
created_at: bigint;
|
|
70
|
+
version: [] | [bigint];
|
|
68
71
|
}
|
|
69
72
|
export interface HttpRequest {
|
|
70
73
|
url: string;
|
|
@@ -136,6 +139,7 @@ export interface Rule {
|
|
|
136
139
|
max_size: [] | [bigint];
|
|
137
140
|
read: Permission;
|
|
138
141
|
created_at: bigint;
|
|
142
|
+
version: [] | [bigint];
|
|
139
143
|
mutable_permissions: [] | [boolean];
|
|
140
144
|
write: Permission;
|
|
141
145
|
}
|
|
@@ -150,16 +154,16 @@ export interface SetControllersArgs {
|
|
|
150
154
|
controllers: Array<Principal>;
|
|
151
155
|
}
|
|
152
156
|
export interface SetDoc {
|
|
153
|
-
updated_at: [] | [bigint];
|
|
154
157
|
data: Uint8Array | number[];
|
|
155
158
|
description: [] | [string];
|
|
159
|
+
version: [] | [bigint];
|
|
156
160
|
}
|
|
157
161
|
export interface SetRule {
|
|
158
162
|
max_capacity: [] | [number];
|
|
159
163
|
memory: [] | [Memory];
|
|
160
|
-
updated_at: [] | [bigint];
|
|
161
164
|
max_size: [] | [bigint];
|
|
162
165
|
read: Permission;
|
|
166
|
+
version: [] | [bigint];
|
|
163
167
|
mutable_permissions: [] | [boolean];
|
|
164
168
|
write: Permission;
|
|
165
169
|
}
|
|
@@ -19,7 +19,7 @@ export const idlFactory = ({IDL}) => {
|
|
|
19
19
|
scope: ControllerScope,
|
|
20
20
|
expires_at: IDL.Opt(IDL.Nat64)
|
|
21
21
|
});
|
|
22
|
-
const DelDoc = IDL.Record({
|
|
22
|
+
const DelDoc = IDL.Record({version: IDL.Opt(IDL.Nat64)});
|
|
23
23
|
const RulesType = IDL.Variant({Db: IDL.Null, Storage: IDL.Null});
|
|
24
24
|
const DepositCyclesArgs = IDL.Record({
|
|
25
25
|
cycles: IDL.Nat,
|
|
@@ -43,7 +43,8 @@ export const idlFactory = ({IDL}) => {
|
|
|
43
43
|
updated_at: IDL.Nat64,
|
|
44
44
|
encodings: IDL.Vec(IDL.Tuple(IDL.Text, AssetEncodingNoContent)),
|
|
45
45
|
headers: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text)),
|
|
46
|
-
created_at: IDL.Nat64
|
|
46
|
+
created_at: IDL.Nat64,
|
|
47
|
+
version: IDL.Opt(IDL.Nat64)
|
|
47
48
|
});
|
|
48
49
|
const AuthenticationConfigInternetIdentity = IDL.Record({
|
|
49
50
|
derivation_origin: IDL.Opt(IDL.Text)
|
|
@@ -72,7 +73,8 @@ export const idlFactory = ({IDL}) => {
|
|
|
72
73
|
owner: IDL.Principal,
|
|
73
74
|
data: IDL.Vec(IDL.Nat8),
|
|
74
75
|
description: IDL.Opt(IDL.Text),
|
|
75
|
-
created_at: IDL.Nat64
|
|
76
|
+
created_at: IDL.Nat64,
|
|
77
|
+
version: IDL.Opt(IDL.Nat64)
|
|
76
78
|
});
|
|
77
79
|
const HttpRequest = IDL.Record({
|
|
78
80
|
url: IDL.Text,
|
|
@@ -146,6 +148,7 @@ export const idlFactory = ({IDL}) => {
|
|
|
146
148
|
const CustomDomain = IDL.Record({
|
|
147
149
|
updated_at: IDL.Nat64,
|
|
148
150
|
created_at: IDL.Nat64,
|
|
151
|
+
version: IDL.Opt(IDL.Nat64),
|
|
149
152
|
bn_id: IDL.Opt(IDL.Text)
|
|
150
153
|
});
|
|
151
154
|
const ListResults_1 = IDL.Record({
|
|
@@ -168,6 +171,7 @@ export const idlFactory = ({IDL}) => {
|
|
|
168
171
|
max_size: IDL.Opt(IDL.Nat),
|
|
169
172
|
read: Permission,
|
|
170
173
|
created_at: IDL.Nat64,
|
|
174
|
+
version: IDL.Opt(IDL.Nat64),
|
|
171
175
|
mutable_permissions: IDL.Opt(IDL.Bool),
|
|
172
176
|
write: Permission
|
|
173
177
|
});
|
|
@@ -182,16 +186,16 @@ export const idlFactory = ({IDL}) => {
|
|
|
182
186
|
controllers: IDL.Vec(IDL.Principal)
|
|
183
187
|
});
|
|
184
188
|
const SetDoc = IDL.Record({
|
|
185
|
-
updated_at: IDL.Opt(IDL.Nat64),
|
|
186
189
|
data: IDL.Vec(IDL.Nat8),
|
|
187
|
-
description: IDL.Opt(IDL.Text)
|
|
190
|
+
description: IDL.Opt(IDL.Text),
|
|
191
|
+
version: IDL.Opt(IDL.Nat64)
|
|
188
192
|
});
|
|
189
193
|
const SetRule = IDL.Record({
|
|
190
194
|
max_capacity: IDL.Opt(IDL.Nat32),
|
|
191
195
|
memory: IDL.Opt(Memory),
|
|
192
|
-
updated_at: IDL.Opt(IDL.Nat64),
|
|
193
196
|
max_size: IDL.Opt(IDL.Nat),
|
|
194
197
|
read: Permission,
|
|
198
|
+
version: IDL.Opt(IDL.Nat64),
|
|
195
199
|
mutable_permissions: IDL.Opt(IDL.Bool),
|
|
196
200
|
write: Permission
|
|
197
201
|
});
|
|
@@ -19,7 +19,7 @@ export const idlFactory = ({IDL}) => {
|
|
|
19
19
|
scope: ControllerScope,
|
|
20
20
|
expires_at: IDL.Opt(IDL.Nat64)
|
|
21
21
|
});
|
|
22
|
-
const DelDoc = IDL.Record({
|
|
22
|
+
const DelDoc = IDL.Record({version: IDL.Opt(IDL.Nat64)});
|
|
23
23
|
const RulesType = IDL.Variant({Db: IDL.Null, Storage: IDL.Null});
|
|
24
24
|
const DepositCyclesArgs = IDL.Record({
|
|
25
25
|
cycles: IDL.Nat,
|
|
@@ -43,7 +43,8 @@ export const idlFactory = ({IDL}) => {
|
|
|
43
43
|
updated_at: IDL.Nat64,
|
|
44
44
|
encodings: IDL.Vec(IDL.Tuple(IDL.Text, AssetEncodingNoContent)),
|
|
45
45
|
headers: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text)),
|
|
46
|
-
created_at: IDL.Nat64
|
|
46
|
+
created_at: IDL.Nat64,
|
|
47
|
+
version: IDL.Opt(IDL.Nat64)
|
|
47
48
|
});
|
|
48
49
|
const AuthenticationConfigInternetIdentity = IDL.Record({
|
|
49
50
|
derivation_origin: IDL.Opt(IDL.Text)
|
|
@@ -72,7 +73,8 @@ export const idlFactory = ({IDL}) => {
|
|
|
72
73
|
owner: IDL.Principal,
|
|
73
74
|
data: IDL.Vec(IDL.Nat8),
|
|
74
75
|
description: IDL.Opt(IDL.Text),
|
|
75
|
-
created_at: IDL.Nat64
|
|
76
|
+
created_at: IDL.Nat64,
|
|
77
|
+
version: IDL.Opt(IDL.Nat64)
|
|
76
78
|
});
|
|
77
79
|
const HttpRequest = IDL.Record({
|
|
78
80
|
url: IDL.Text,
|
|
@@ -146,6 +148,7 @@ export const idlFactory = ({IDL}) => {
|
|
|
146
148
|
const CustomDomain = IDL.Record({
|
|
147
149
|
updated_at: IDL.Nat64,
|
|
148
150
|
created_at: IDL.Nat64,
|
|
151
|
+
version: IDL.Opt(IDL.Nat64),
|
|
149
152
|
bn_id: IDL.Opt(IDL.Text)
|
|
150
153
|
});
|
|
151
154
|
const ListResults_1 = IDL.Record({
|
|
@@ -168,6 +171,7 @@ export const idlFactory = ({IDL}) => {
|
|
|
168
171
|
max_size: IDL.Opt(IDL.Nat),
|
|
169
172
|
read: Permission,
|
|
170
173
|
created_at: IDL.Nat64,
|
|
174
|
+
version: IDL.Opt(IDL.Nat64),
|
|
171
175
|
mutable_permissions: IDL.Opt(IDL.Bool),
|
|
172
176
|
write: Permission
|
|
173
177
|
});
|
|
@@ -182,16 +186,16 @@ export const idlFactory = ({IDL}) => {
|
|
|
182
186
|
controllers: IDL.Vec(IDL.Principal)
|
|
183
187
|
});
|
|
184
188
|
const SetDoc = IDL.Record({
|
|
185
|
-
updated_at: IDL.Opt(IDL.Nat64),
|
|
186
189
|
data: IDL.Vec(IDL.Nat8),
|
|
187
|
-
description: IDL.Opt(IDL.Text)
|
|
190
|
+
description: IDL.Opt(IDL.Text),
|
|
191
|
+
version: IDL.Opt(IDL.Nat64)
|
|
188
192
|
});
|
|
189
193
|
const SetRule = IDL.Record({
|
|
190
194
|
max_capacity: IDL.Opt(IDL.Nat32),
|
|
191
195
|
memory: IDL.Opt(Memory),
|
|
192
|
-
updated_at: IDL.Opt(IDL.Nat64),
|
|
193
196
|
max_size: IDL.Opt(IDL.Nat),
|
|
194
197
|
read: Permission,
|
|
198
|
+
version: IDL.Opt(IDL.Nat64),
|
|
195
199
|
mutable_permissions: IDL.Opt(IDL.Bool),
|
|
196
200
|
write: Permission
|
|
197
201
|
});
|