@junobuild/ic-client 1.0.0 → 1.2.0
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/browser/index.js +1 -1
- package/dist/browser/index.js.map +3 -3
- package/dist/declarations/console/console.did.d.ts +5 -3
- package/dist/declarations/console/console.factory.certified.did.js +10 -7
- package/dist/declarations/console/console.factory.did.js +10 -7
- package/dist/declarations/console/console.factory.did.mjs +10 -7
- package/dist/declarations/mission_control/mission_control.did.d.ts +3 -0
- package/dist/declarations/mission_control/mission_control.factory.certified.did.js +3 -1
- package/dist/declarations/mission_control/mission_control.factory.did.js +3 -1
- package/dist/declarations/orbiter/orbiter.did.d.ts +3 -0
- package/dist/declarations/orbiter/orbiter.factory.certified.did.js +3 -1
- package/dist/declarations/orbiter/orbiter.factory.did.js +3 -1
- package/dist/declarations/orbiter/orbiter.factory.did.mjs +3 -1
- package/dist/declarations/satellite/satellite.did.d.ts +8 -0
- package/dist/declarations/satellite/satellite.factory.certified.did.js +6 -0
- package/dist/declarations/satellite/satellite.factory.did.js +6 -0
- package/dist/declarations/satellite/satellite.factory.did.mjs +6 -0
- package/dist/declarations/sputnik/sputnik.did.d.ts +8 -0
- package/dist/declarations/sputnik/sputnik.factory.certified.did.js +6 -0
- package/dist/declarations/sputnik/sputnik.factory.did.js +6 -0
- package/dist/node/index.mjs +1 -1
- package/dist/node/index.mjs.map +3 -3
- package/package.json +1 -1
|
@@ -266,9 +266,9 @@ export interface _SERVICE {
|
|
|
266
266
|
add_credits: ActorMethod<[Principal, Tokens], undefined>;
|
|
267
267
|
add_invitation_code: ActorMethod<[string], undefined>;
|
|
268
268
|
assert_mission_control_center: ActorMethod<[AssertMissionControlCenterArgs], undefined>;
|
|
269
|
-
commit_asset_upload: ActorMethod<[CommitBatch], undefined>;
|
|
270
269
|
commit_proposal: ActorMethod<[CommitProposal], null>;
|
|
271
270
|
commit_proposal_asset_upload: ActorMethod<[CommitBatch], undefined>;
|
|
271
|
+
commit_proposal_many_assets_upload: ActorMethod<[Array<CommitBatch>], undefined>;
|
|
272
272
|
count_proposals: ActorMethod<[], bigint>;
|
|
273
273
|
create_orbiter: ActorMethod<[CreateCanisterArgs], Principal>;
|
|
274
274
|
create_satellite: ActorMethod<[CreateCanisterArgs], Principal>;
|
|
@@ -287,9 +287,12 @@ export interface _SERVICE {
|
|
|
287
287
|
[StreamingCallbackToken],
|
|
288
288
|
StreamingCallbackHttpResponse
|
|
289
289
|
>;
|
|
290
|
-
init_asset_upload: ActorMethod<[InitAssetKey, bigint], InitUploadResult>;
|
|
291
290
|
init_proposal: ActorMethod<[ProposalType], [bigint, Proposal]>;
|
|
292
291
|
init_proposal_asset_upload: ActorMethod<[InitAssetKey, bigint], InitUploadResult>;
|
|
292
|
+
init_proposal_many_assets_upload: ActorMethod<
|
|
293
|
+
[Array<InitAssetKey>, bigint],
|
|
294
|
+
Array<[string, InitUploadResult]>
|
|
295
|
+
>;
|
|
293
296
|
init_user_mission_control_center: ActorMethod<[], MissionControl>;
|
|
294
297
|
list_assets: ActorMethod<[string, ListParams], ListResults>;
|
|
295
298
|
list_controllers: ActorMethod<[], Array<[Principal, Controller]>>;
|
|
@@ -304,7 +307,6 @@ export interface _SERVICE {
|
|
|
304
307
|
set_storage_config: ActorMethod<[SetStorageConfig], StorageConfig>;
|
|
305
308
|
submit_proposal: ActorMethod<[bigint], [bigint, Proposal]>;
|
|
306
309
|
update_rate_config: ActorMethod<[SegmentKind, RateConfig], undefined>;
|
|
307
|
-
upload_asset_chunk: ActorMethod<[UploadChunk], UploadChunkResult>;
|
|
308
310
|
upload_proposal_asset_chunk: ActorMethod<[UploadChunk], UploadChunkResult>;
|
|
309
311
|
}
|
|
310
312
|
export declare const idlFactory: IDL.InterfaceFactory;
|
|
@@ -5,15 +5,15 @@ export const idlFactory = ({IDL}) => {
|
|
|
5
5
|
mission_control_id: IDL.Principal,
|
|
6
6
|
user: IDL.Principal
|
|
7
7
|
});
|
|
8
|
+
const CommitProposal = IDL.Record({
|
|
9
|
+
sha256: IDL.Vec(IDL.Nat8),
|
|
10
|
+
proposal_id: IDL.Nat
|
|
11
|
+
});
|
|
8
12
|
const CommitBatch = IDL.Record({
|
|
9
13
|
batch_id: IDL.Nat,
|
|
10
14
|
headers: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text)),
|
|
11
15
|
chunk_ids: IDL.Vec(IDL.Nat)
|
|
12
16
|
});
|
|
13
|
-
const CommitProposal = IDL.Record({
|
|
14
|
-
sha256: IDL.Vec(IDL.Nat8),
|
|
15
|
-
proposal_id: IDL.Nat
|
|
16
|
-
});
|
|
17
17
|
const CreateCanisterArgs = IDL.Record({
|
|
18
18
|
block_index: IDL.Opt(IDL.Nat64),
|
|
19
19
|
subnet_id: IDL.Opt(IDL.Principal),
|
|
@@ -273,9 +273,9 @@ export const idlFactory = ({IDL}) => {
|
|
|
273
273
|
add_credits: IDL.Func([IDL.Principal, Tokens], [], []),
|
|
274
274
|
add_invitation_code: IDL.Func([IDL.Text], [], []),
|
|
275
275
|
assert_mission_control_center: IDL.Func([AssertMissionControlCenterArgs], [], []),
|
|
276
|
-
commit_asset_upload: IDL.Func([CommitBatch], [], []),
|
|
277
276
|
commit_proposal: IDL.Func([CommitProposal], [IDL.Null], []),
|
|
278
277
|
commit_proposal_asset_upload: IDL.Func([CommitBatch], [], []),
|
|
278
|
+
commit_proposal_many_assets_upload: IDL.Func([IDL.Vec(CommitBatch)], [], []),
|
|
279
279
|
count_proposals: IDL.Func([], [IDL.Nat64], []),
|
|
280
280
|
create_orbiter: IDL.Func([CreateCanisterArgs], [IDL.Principal], []),
|
|
281
281
|
create_satellite: IDL.Func([CreateCanisterArgs], [IDL.Principal], []),
|
|
@@ -295,9 +295,13 @@ export const idlFactory = ({IDL}) => {
|
|
|
295
295
|
[StreamingCallbackHttpResponse],
|
|
296
296
|
[]
|
|
297
297
|
),
|
|
298
|
-
init_asset_upload: IDL.Func([InitAssetKey, IDL.Nat], [InitUploadResult], []),
|
|
299
298
|
init_proposal: IDL.Func([ProposalType], [IDL.Nat, Proposal], []),
|
|
300
299
|
init_proposal_asset_upload: IDL.Func([InitAssetKey, IDL.Nat], [InitUploadResult], []),
|
|
300
|
+
init_proposal_many_assets_upload: IDL.Func(
|
|
301
|
+
[IDL.Vec(InitAssetKey), IDL.Nat],
|
|
302
|
+
[IDL.Vec(IDL.Tuple(IDL.Text, InitUploadResult))],
|
|
303
|
+
[]
|
|
304
|
+
),
|
|
301
305
|
init_user_mission_control_center: IDL.Func([], [MissionControl], []),
|
|
302
306
|
list_assets: IDL.Func([IDL.Text, ListParams], [ListResults], []),
|
|
303
307
|
list_controllers: IDL.Func([], [IDL.Vec(IDL.Tuple(IDL.Principal, Controller))], []),
|
|
@@ -316,7 +320,6 @@ export const idlFactory = ({IDL}) => {
|
|
|
316
320
|
set_storage_config: IDL.Func([SetStorageConfig], [StorageConfig], []),
|
|
317
321
|
submit_proposal: IDL.Func([IDL.Nat], [IDL.Nat, Proposal], []),
|
|
318
322
|
update_rate_config: IDL.Func([SegmentKind, RateConfig], [], []),
|
|
319
|
-
upload_asset_chunk: IDL.Func([UploadChunk], [UploadChunkResult], []),
|
|
320
323
|
upload_proposal_asset_chunk: IDL.Func([UploadChunk], [UploadChunkResult], [])
|
|
321
324
|
});
|
|
322
325
|
};
|
|
@@ -5,15 +5,15 @@ export const idlFactory = ({IDL}) => {
|
|
|
5
5
|
mission_control_id: IDL.Principal,
|
|
6
6
|
user: IDL.Principal
|
|
7
7
|
});
|
|
8
|
+
const CommitProposal = IDL.Record({
|
|
9
|
+
sha256: IDL.Vec(IDL.Nat8),
|
|
10
|
+
proposal_id: IDL.Nat
|
|
11
|
+
});
|
|
8
12
|
const CommitBatch = IDL.Record({
|
|
9
13
|
batch_id: IDL.Nat,
|
|
10
14
|
headers: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text)),
|
|
11
15
|
chunk_ids: IDL.Vec(IDL.Nat)
|
|
12
16
|
});
|
|
13
|
-
const CommitProposal = IDL.Record({
|
|
14
|
-
sha256: IDL.Vec(IDL.Nat8),
|
|
15
|
-
proposal_id: IDL.Nat
|
|
16
|
-
});
|
|
17
17
|
const CreateCanisterArgs = IDL.Record({
|
|
18
18
|
block_index: IDL.Opt(IDL.Nat64),
|
|
19
19
|
subnet_id: IDL.Opt(IDL.Principal),
|
|
@@ -273,9 +273,9 @@ export const idlFactory = ({IDL}) => {
|
|
|
273
273
|
add_credits: IDL.Func([IDL.Principal, Tokens], [], []),
|
|
274
274
|
add_invitation_code: IDL.Func([IDL.Text], [], []),
|
|
275
275
|
assert_mission_control_center: IDL.Func([AssertMissionControlCenterArgs], [], ['query']),
|
|
276
|
-
commit_asset_upload: IDL.Func([CommitBatch], [], []),
|
|
277
276
|
commit_proposal: IDL.Func([CommitProposal], [IDL.Null], []),
|
|
278
277
|
commit_proposal_asset_upload: IDL.Func([CommitBatch], [], []),
|
|
278
|
+
commit_proposal_many_assets_upload: IDL.Func([IDL.Vec(CommitBatch)], [], []),
|
|
279
279
|
count_proposals: IDL.Func([], [IDL.Nat64], ['query']),
|
|
280
280
|
create_orbiter: IDL.Func([CreateCanisterArgs], [IDL.Principal], []),
|
|
281
281
|
create_satellite: IDL.Func([CreateCanisterArgs], [IDL.Principal], []),
|
|
@@ -295,9 +295,13 @@ export const idlFactory = ({IDL}) => {
|
|
|
295
295
|
[StreamingCallbackHttpResponse],
|
|
296
296
|
['query']
|
|
297
297
|
),
|
|
298
|
-
init_asset_upload: IDL.Func([InitAssetKey, IDL.Nat], [InitUploadResult], []),
|
|
299
298
|
init_proposal: IDL.Func([ProposalType], [IDL.Nat, Proposal], []),
|
|
300
299
|
init_proposal_asset_upload: IDL.Func([InitAssetKey, IDL.Nat], [InitUploadResult], []),
|
|
300
|
+
init_proposal_many_assets_upload: IDL.Func(
|
|
301
|
+
[IDL.Vec(InitAssetKey), IDL.Nat],
|
|
302
|
+
[IDL.Vec(IDL.Tuple(IDL.Text, InitUploadResult))],
|
|
303
|
+
[]
|
|
304
|
+
),
|
|
301
305
|
init_user_mission_control_center: IDL.Func([], [MissionControl], []),
|
|
302
306
|
list_assets: IDL.Func([IDL.Text, ListParams], [ListResults], ['query']),
|
|
303
307
|
list_controllers: IDL.Func([], [IDL.Vec(IDL.Tuple(IDL.Principal, Controller))], ['query']),
|
|
@@ -316,7 +320,6 @@ export const idlFactory = ({IDL}) => {
|
|
|
316
320
|
set_storage_config: IDL.Func([SetStorageConfig], [StorageConfig], []),
|
|
317
321
|
submit_proposal: IDL.Func([IDL.Nat], [IDL.Nat, Proposal], []),
|
|
318
322
|
update_rate_config: IDL.Func([SegmentKind, RateConfig], [], []),
|
|
319
|
-
upload_asset_chunk: IDL.Func([UploadChunk], [UploadChunkResult], []),
|
|
320
323
|
upload_proposal_asset_chunk: IDL.Func([UploadChunk], [UploadChunkResult], [])
|
|
321
324
|
});
|
|
322
325
|
};
|
|
@@ -5,15 +5,15 @@ export const idlFactory = ({IDL}) => {
|
|
|
5
5
|
mission_control_id: IDL.Principal,
|
|
6
6
|
user: IDL.Principal
|
|
7
7
|
});
|
|
8
|
+
const CommitProposal = IDL.Record({
|
|
9
|
+
sha256: IDL.Vec(IDL.Nat8),
|
|
10
|
+
proposal_id: IDL.Nat
|
|
11
|
+
});
|
|
8
12
|
const CommitBatch = IDL.Record({
|
|
9
13
|
batch_id: IDL.Nat,
|
|
10
14
|
headers: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text)),
|
|
11
15
|
chunk_ids: IDL.Vec(IDL.Nat)
|
|
12
16
|
});
|
|
13
|
-
const CommitProposal = IDL.Record({
|
|
14
|
-
sha256: IDL.Vec(IDL.Nat8),
|
|
15
|
-
proposal_id: IDL.Nat
|
|
16
|
-
});
|
|
17
17
|
const CreateCanisterArgs = IDL.Record({
|
|
18
18
|
block_index: IDL.Opt(IDL.Nat64),
|
|
19
19
|
subnet_id: IDL.Opt(IDL.Principal),
|
|
@@ -273,9 +273,9 @@ export const idlFactory = ({IDL}) => {
|
|
|
273
273
|
add_credits: IDL.Func([IDL.Principal, Tokens], [], []),
|
|
274
274
|
add_invitation_code: IDL.Func([IDL.Text], [], []),
|
|
275
275
|
assert_mission_control_center: IDL.Func([AssertMissionControlCenterArgs], [], ['query']),
|
|
276
|
-
commit_asset_upload: IDL.Func([CommitBatch], [], []),
|
|
277
276
|
commit_proposal: IDL.Func([CommitProposal], [IDL.Null], []),
|
|
278
277
|
commit_proposal_asset_upload: IDL.Func([CommitBatch], [], []),
|
|
278
|
+
commit_proposal_many_assets_upload: IDL.Func([IDL.Vec(CommitBatch)], [], []),
|
|
279
279
|
count_proposals: IDL.Func([], [IDL.Nat64], ['query']),
|
|
280
280
|
create_orbiter: IDL.Func([CreateCanisterArgs], [IDL.Principal], []),
|
|
281
281
|
create_satellite: IDL.Func([CreateCanisterArgs], [IDL.Principal], []),
|
|
@@ -295,9 +295,13 @@ export const idlFactory = ({IDL}) => {
|
|
|
295
295
|
[StreamingCallbackHttpResponse],
|
|
296
296
|
['query']
|
|
297
297
|
),
|
|
298
|
-
init_asset_upload: IDL.Func([InitAssetKey, IDL.Nat], [InitUploadResult], []),
|
|
299
298
|
init_proposal: IDL.Func([ProposalType], [IDL.Nat, Proposal], []),
|
|
300
299
|
init_proposal_asset_upload: IDL.Func([InitAssetKey, IDL.Nat], [InitUploadResult], []),
|
|
300
|
+
init_proposal_many_assets_upload: IDL.Func(
|
|
301
|
+
[IDL.Vec(InitAssetKey), IDL.Nat],
|
|
302
|
+
[IDL.Vec(IDL.Tuple(IDL.Text, InitUploadResult))],
|
|
303
|
+
[]
|
|
304
|
+
),
|
|
301
305
|
init_user_mission_control_center: IDL.Func([], [MissionControl], []),
|
|
302
306
|
list_assets: IDL.Func([IDL.Text, ListParams], [ListResults], ['query']),
|
|
303
307
|
list_controllers: IDL.Func([], [IDL.Vec(IDL.Tuple(IDL.Principal, Controller))], ['query']),
|
|
@@ -316,7 +320,6 @@ export const idlFactory = ({IDL}) => {
|
|
|
316
320
|
set_storage_config: IDL.Func([SetStorageConfig], [StorageConfig], []),
|
|
317
321
|
submit_proposal: IDL.Func([IDL.Nat], [IDL.Nat, Proposal], []),
|
|
318
322
|
update_rate_config: IDL.Func([SegmentKind, RateConfig], [], []),
|
|
319
|
-
upload_asset_chunk: IDL.Func([UploadChunk], [UploadChunkResult], []),
|
|
320
323
|
upload_proposal_asset_chunk: IDL.Func([UploadChunk], [UploadChunkResult], [])
|
|
321
324
|
});
|
|
322
325
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
// @ts-ignore
|
|
2
2
|
export const idlFactory = ({IDL}) => {
|
|
3
|
+
const MissionControlArgs = IDL.Record({user: IDL.Principal});
|
|
3
4
|
const CyclesThreshold = IDL.Record({
|
|
4
5
|
fund_cycles: IDL.Nat,
|
|
5
6
|
min_cycles: IDL.Nat
|
|
@@ -255,5 +256,6 @@ export const idlFactory = ({IDL}) => {
|
|
|
255
256
|
};
|
|
256
257
|
// @ts-ignore
|
|
257
258
|
export const init = ({IDL}) => {
|
|
258
|
-
|
|
259
|
+
const MissionControlArgs = IDL.Record({user: IDL.Principal});
|
|
260
|
+
return [MissionControlArgs];
|
|
259
261
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
// @ts-ignore
|
|
2
2
|
export const idlFactory = ({IDL}) => {
|
|
3
|
+
const MissionControlArgs = IDL.Record({user: IDL.Principal});
|
|
3
4
|
const CyclesThreshold = IDL.Record({
|
|
4
5
|
fund_cycles: IDL.Nat,
|
|
5
6
|
min_cycles: IDL.Nat
|
|
@@ -255,5 +256,6 @@ export const idlFactory = ({IDL}) => {
|
|
|
255
256
|
};
|
|
256
257
|
// @ts-ignore
|
|
257
258
|
export const init = ({IDL}) => {
|
|
258
|
-
|
|
259
|
+
const MissionControlArgs = IDL.Record({user: IDL.Principal});
|
|
260
|
+
return [MissionControlArgs];
|
|
259
261
|
};
|
|
@@ -180,6 +180,9 @@ export type Result = {Ok: PageView} | {Err: string};
|
|
|
180
180
|
export type Result_1 = {Ok: null} | {Err: Array<[AnalyticKey, string]>};
|
|
181
181
|
export type Result_2 = {Ok: PerformanceMetric} | {Err: string};
|
|
182
182
|
export type Result_3 = {Ok: TrackEvent} | {Err: string};
|
|
183
|
+
export interface SegmentArgs {
|
|
184
|
+
controllers: Array<Principal>;
|
|
185
|
+
}
|
|
183
186
|
export interface SetController {
|
|
184
187
|
metadata: Array<[string, string]>;
|
|
185
188
|
scope: ControllerScope;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
// @ts-ignore
|
|
2
2
|
export const idlFactory = ({IDL}) => {
|
|
3
|
+
const SegmentArgs = IDL.Record({controllers: IDL.Vec(IDL.Principal)});
|
|
3
4
|
const DeleteControllersArgs = IDL.Record({
|
|
4
5
|
controllers: IDL.Vec(IDL.Principal)
|
|
5
6
|
});
|
|
@@ -300,5 +301,6 @@ export const idlFactory = ({IDL}) => {
|
|
|
300
301
|
};
|
|
301
302
|
// @ts-ignore
|
|
302
303
|
export const init = ({IDL}) => {
|
|
303
|
-
|
|
304
|
+
const SegmentArgs = IDL.Record({controllers: IDL.Vec(IDL.Principal)});
|
|
305
|
+
return [SegmentArgs];
|
|
304
306
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
// @ts-ignore
|
|
2
2
|
export const idlFactory = ({IDL}) => {
|
|
3
|
+
const SegmentArgs = IDL.Record({controllers: IDL.Vec(IDL.Principal)});
|
|
3
4
|
const DeleteControllersArgs = IDL.Record({
|
|
4
5
|
controllers: IDL.Vec(IDL.Principal)
|
|
5
6
|
});
|
|
@@ -316,5 +317,6 @@ export const idlFactory = ({IDL}) => {
|
|
|
316
317
|
};
|
|
317
318
|
// @ts-ignore
|
|
318
319
|
export const init = ({IDL}) => {
|
|
319
|
-
|
|
320
|
+
const SegmentArgs = IDL.Record({controllers: IDL.Vec(IDL.Principal)});
|
|
321
|
+
return [SegmentArgs];
|
|
320
322
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
// @ts-ignore
|
|
2
2
|
export const idlFactory = ({IDL}) => {
|
|
3
|
+
const SegmentArgs = IDL.Record({controllers: IDL.Vec(IDL.Principal)});
|
|
3
4
|
const DeleteControllersArgs = IDL.Record({
|
|
4
5
|
controllers: IDL.Vec(IDL.Principal)
|
|
5
6
|
});
|
|
@@ -316,5 +317,6 @@ export const idlFactory = ({IDL}) => {
|
|
|
316
317
|
};
|
|
317
318
|
// @ts-ignore
|
|
318
319
|
export const init = ({IDL}) => {
|
|
319
|
-
|
|
320
|
+
const SegmentArgs = IDL.Record({controllers: IDL.Vec(IDL.Principal)});
|
|
321
|
+
return [SegmentArgs];
|
|
320
322
|
};
|
|
@@ -235,6 +235,9 @@ export interface Rule {
|
|
|
235
235
|
write: Permission;
|
|
236
236
|
max_changes_per_user: [] | [number];
|
|
237
237
|
}
|
|
238
|
+
export interface SegmentArgs {
|
|
239
|
+
controllers: Array<Principal>;
|
|
240
|
+
}
|
|
238
241
|
export interface SegmentsDeploymentOptions {
|
|
239
242
|
orbiter: [] | [string];
|
|
240
243
|
mission_control_version: [] | [string];
|
|
@@ -336,6 +339,7 @@ export interface _SERVICE {
|
|
|
336
339
|
commit_asset_upload: ActorMethod<[CommitBatch], undefined>;
|
|
337
340
|
commit_proposal: ActorMethod<[CommitProposal], null>;
|
|
338
341
|
commit_proposal_asset_upload: ActorMethod<[CommitBatch], undefined>;
|
|
342
|
+
commit_proposal_many_assets_upload: ActorMethod<[Array<CommitBatch>], undefined>;
|
|
339
343
|
count_assets: ActorMethod<[string, ListParams], bigint>;
|
|
340
344
|
count_collection_assets: ActorMethod<[string], bigint>;
|
|
341
345
|
count_collection_docs: ActorMethod<[string], bigint>;
|
|
@@ -372,6 +376,10 @@ export interface _SERVICE {
|
|
|
372
376
|
init_asset_upload: ActorMethod<[InitAssetKey], InitUploadResult>;
|
|
373
377
|
init_proposal: ActorMethod<[ProposalType], [bigint, Proposal]>;
|
|
374
378
|
init_proposal_asset_upload: ActorMethod<[InitAssetKey, bigint], InitUploadResult>;
|
|
379
|
+
init_proposal_many_assets_upload: ActorMethod<
|
|
380
|
+
[Array<InitAssetKey>, bigint],
|
|
381
|
+
Array<[string, InitUploadResult]>
|
|
382
|
+
>;
|
|
375
383
|
list_assets: ActorMethod<[string, ListParams], ListResults>;
|
|
376
384
|
list_controllers: ActorMethod<[], Array<[Principal, Controller]>>;
|
|
377
385
|
list_custom_domains: ActorMethod<[], Array<[string, CustomDomain]>>;
|
|
@@ -335,6 +335,7 @@ export const idlFactory = ({IDL}) => {
|
|
|
335
335
|
commit_asset_upload: IDL.Func([CommitBatch], [], []),
|
|
336
336
|
commit_proposal: IDL.Func([CommitProposal], [IDL.Null], []),
|
|
337
337
|
commit_proposal_asset_upload: IDL.Func([CommitBatch], [], []),
|
|
338
|
+
commit_proposal_many_assets_upload: IDL.Func([IDL.Vec(CommitBatch)], [], []),
|
|
338
339
|
count_assets: IDL.Func([IDL.Text, ListParams], [IDL.Nat64], []),
|
|
339
340
|
count_collection_assets: IDL.Func([IDL.Text], [IDL.Nat64], []),
|
|
340
341
|
count_collection_docs: IDL.Func([IDL.Text], [IDL.Nat64], []),
|
|
@@ -384,6 +385,11 @@ export const idlFactory = ({IDL}) => {
|
|
|
384
385
|
init_asset_upload: IDL.Func([InitAssetKey], [InitUploadResult], []),
|
|
385
386
|
init_proposal: IDL.Func([ProposalType], [IDL.Nat, Proposal], []),
|
|
386
387
|
init_proposal_asset_upload: IDL.Func([InitAssetKey, IDL.Nat], [InitUploadResult], []),
|
|
388
|
+
init_proposal_many_assets_upload: IDL.Func(
|
|
389
|
+
[IDL.Vec(InitAssetKey), IDL.Nat],
|
|
390
|
+
[IDL.Vec(IDL.Tuple(IDL.Text, InitUploadResult))],
|
|
391
|
+
[]
|
|
392
|
+
),
|
|
387
393
|
list_assets: IDL.Func([IDL.Text, ListParams], [ListResults], []),
|
|
388
394
|
list_controllers: IDL.Func([], [IDL.Vec(IDL.Tuple(IDL.Principal, Controller))], []),
|
|
389
395
|
list_custom_domains: IDL.Func([], [IDL.Vec(IDL.Tuple(IDL.Text, CustomDomain))], []),
|
|
@@ -335,6 +335,7 @@ export const idlFactory = ({IDL}) => {
|
|
|
335
335
|
commit_asset_upload: IDL.Func([CommitBatch], [], []),
|
|
336
336
|
commit_proposal: IDL.Func([CommitProposal], [IDL.Null], []),
|
|
337
337
|
commit_proposal_asset_upload: IDL.Func([CommitBatch], [], []),
|
|
338
|
+
commit_proposal_many_assets_upload: IDL.Func([IDL.Vec(CommitBatch)], [], []),
|
|
338
339
|
count_assets: IDL.Func([IDL.Text, ListParams], [IDL.Nat64], ['query']),
|
|
339
340
|
count_collection_assets: IDL.Func([IDL.Text], [IDL.Nat64], ['query']),
|
|
340
341
|
count_collection_docs: IDL.Func([IDL.Text], [IDL.Nat64], ['query']),
|
|
@@ -384,6 +385,11 @@ export const idlFactory = ({IDL}) => {
|
|
|
384
385
|
init_asset_upload: IDL.Func([InitAssetKey], [InitUploadResult], []),
|
|
385
386
|
init_proposal: IDL.Func([ProposalType], [IDL.Nat, Proposal], []),
|
|
386
387
|
init_proposal_asset_upload: IDL.Func([InitAssetKey, IDL.Nat], [InitUploadResult], []),
|
|
388
|
+
init_proposal_many_assets_upload: IDL.Func(
|
|
389
|
+
[IDL.Vec(InitAssetKey), IDL.Nat],
|
|
390
|
+
[IDL.Vec(IDL.Tuple(IDL.Text, InitUploadResult))],
|
|
391
|
+
[]
|
|
392
|
+
),
|
|
387
393
|
list_assets: IDL.Func([IDL.Text, ListParams], [ListResults], ['query']),
|
|
388
394
|
list_controllers: IDL.Func([], [IDL.Vec(IDL.Tuple(IDL.Principal, Controller))], ['query']),
|
|
389
395
|
list_custom_domains: IDL.Func([], [IDL.Vec(IDL.Tuple(IDL.Text, CustomDomain))], ['query']),
|
|
@@ -335,6 +335,7 @@ export const idlFactory = ({IDL}) => {
|
|
|
335
335
|
commit_asset_upload: IDL.Func([CommitBatch], [], []),
|
|
336
336
|
commit_proposal: IDL.Func([CommitProposal], [IDL.Null], []),
|
|
337
337
|
commit_proposal_asset_upload: IDL.Func([CommitBatch], [], []),
|
|
338
|
+
commit_proposal_many_assets_upload: IDL.Func([IDL.Vec(CommitBatch)], [], []),
|
|
338
339
|
count_assets: IDL.Func([IDL.Text, ListParams], [IDL.Nat64], ['query']),
|
|
339
340
|
count_collection_assets: IDL.Func([IDL.Text], [IDL.Nat64], ['query']),
|
|
340
341
|
count_collection_docs: IDL.Func([IDL.Text], [IDL.Nat64], ['query']),
|
|
@@ -384,6 +385,11 @@ export const idlFactory = ({IDL}) => {
|
|
|
384
385
|
init_asset_upload: IDL.Func([InitAssetKey], [InitUploadResult], []),
|
|
385
386
|
init_proposal: IDL.Func([ProposalType], [IDL.Nat, Proposal], []),
|
|
386
387
|
init_proposal_asset_upload: IDL.Func([InitAssetKey, IDL.Nat], [InitUploadResult], []),
|
|
388
|
+
init_proposal_many_assets_upload: IDL.Func(
|
|
389
|
+
[IDL.Vec(InitAssetKey), IDL.Nat],
|
|
390
|
+
[IDL.Vec(IDL.Tuple(IDL.Text, InitUploadResult))],
|
|
391
|
+
[]
|
|
392
|
+
),
|
|
387
393
|
list_assets: IDL.Func([IDL.Text, ListParams], [ListResults], ['query']),
|
|
388
394
|
list_controllers: IDL.Func([], [IDL.Vec(IDL.Tuple(IDL.Principal, Controller))], ['query']),
|
|
389
395
|
list_custom_domains: IDL.Func([], [IDL.Vec(IDL.Tuple(IDL.Text, CustomDomain))], ['query']),
|
|
@@ -235,6 +235,9 @@ export interface Rule {
|
|
|
235
235
|
write: Permission;
|
|
236
236
|
max_changes_per_user: [] | [number];
|
|
237
237
|
}
|
|
238
|
+
export interface SegmentArgs {
|
|
239
|
+
controllers: Array<Principal>;
|
|
240
|
+
}
|
|
238
241
|
export interface SegmentsDeploymentOptions {
|
|
239
242
|
orbiter: [] | [string];
|
|
240
243
|
mission_control_version: [] | [string];
|
|
@@ -336,6 +339,7 @@ export interface _SERVICE {
|
|
|
336
339
|
commit_asset_upload: ActorMethod<[CommitBatch], undefined>;
|
|
337
340
|
commit_proposal: ActorMethod<[CommitProposal], null>;
|
|
338
341
|
commit_proposal_asset_upload: ActorMethod<[CommitBatch], undefined>;
|
|
342
|
+
commit_proposal_many_assets_upload: ActorMethod<[Array<CommitBatch>], undefined>;
|
|
339
343
|
count_assets: ActorMethod<[string, ListParams], bigint>;
|
|
340
344
|
count_collection_assets: ActorMethod<[string], bigint>;
|
|
341
345
|
count_collection_docs: ActorMethod<[string], bigint>;
|
|
@@ -372,6 +376,10 @@ export interface _SERVICE {
|
|
|
372
376
|
init_asset_upload: ActorMethod<[InitAssetKey], InitUploadResult>;
|
|
373
377
|
init_proposal: ActorMethod<[ProposalType], [bigint, Proposal]>;
|
|
374
378
|
init_proposal_asset_upload: ActorMethod<[InitAssetKey, bigint], InitUploadResult>;
|
|
379
|
+
init_proposal_many_assets_upload: ActorMethod<
|
|
380
|
+
[Array<InitAssetKey>, bigint],
|
|
381
|
+
Array<[string, InitUploadResult]>
|
|
382
|
+
>;
|
|
375
383
|
list_assets: ActorMethod<[string, ListParams], ListResults>;
|
|
376
384
|
list_controllers: ActorMethod<[], Array<[Principal, Controller]>>;
|
|
377
385
|
list_custom_domains: ActorMethod<[], Array<[string, CustomDomain]>>;
|
|
@@ -335,6 +335,7 @@ export const idlFactory = ({IDL}) => {
|
|
|
335
335
|
commit_asset_upload: IDL.Func([CommitBatch], [], []),
|
|
336
336
|
commit_proposal: IDL.Func([CommitProposal], [IDL.Null], []),
|
|
337
337
|
commit_proposal_asset_upload: IDL.Func([CommitBatch], [], []),
|
|
338
|
+
commit_proposal_many_assets_upload: IDL.Func([IDL.Vec(CommitBatch)], [], []),
|
|
338
339
|
count_assets: IDL.Func([IDL.Text, ListParams], [IDL.Nat64], []),
|
|
339
340
|
count_collection_assets: IDL.Func([IDL.Text], [IDL.Nat64], []),
|
|
340
341
|
count_collection_docs: IDL.Func([IDL.Text], [IDL.Nat64], []),
|
|
@@ -384,6 +385,11 @@ export const idlFactory = ({IDL}) => {
|
|
|
384
385
|
init_asset_upload: IDL.Func([InitAssetKey], [InitUploadResult], []),
|
|
385
386
|
init_proposal: IDL.Func([ProposalType], [IDL.Nat, Proposal], []),
|
|
386
387
|
init_proposal_asset_upload: IDL.Func([InitAssetKey, IDL.Nat], [InitUploadResult], []),
|
|
388
|
+
init_proposal_many_assets_upload: IDL.Func(
|
|
389
|
+
[IDL.Vec(InitAssetKey), IDL.Nat],
|
|
390
|
+
[IDL.Vec(IDL.Tuple(IDL.Text, InitUploadResult))],
|
|
391
|
+
[]
|
|
392
|
+
),
|
|
387
393
|
list_assets: IDL.Func([IDL.Text, ListParams], [ListResults], []),
|
|
388
394
|
list_controllers: IDL.Func([], [IDL.Vec(IDL.Tuple(IDL.Principal, Controller))], []),
|
|
389
395
|
list_custom_domains: IDL.Func([], [IDL.Vec(IDL.Tuple(IDL.Text, CustomDomain))], []),
|
|
@@ -335,6 +335,7 @@ export const idlFactory = ({IDL}) => {
|
|
|
335
335
|
commit_asset_upload: IDL.Func([CommitBatch], [], []),
|
|
336
336
|
commit_proposal: IDL.Func([CommitProposal], [IDL.Null], []),
|
|
337
337
|
commit_proposal_asset_upload: IDL.Func([CommitBatch], [], []),
|
|
338
|
+
commit_proposal_many_assets_upload: IDL.Func([IDL.Vec(CommitBatch)], [], []),
|
|
338
339
|
count_assets: IDL.Func([IDL.Text, ListParams], [IDL.Nat64], ['query']),
|
|
339
340
|
count_collection_assets: IDL.Func([IDL.Text], [IDL.Nat64], ['query']),
|
|
340
341
|
count_collection_docs: IDL.Func([IDL.Text], [IDL.Nat64], ['query']),
|
|
@@ -384,6 +385,11 @@ export const idlFactory = ({IDL}) => {
|
|
|
384
385
|
init_asset_upload: IDL.Func([InitAssetKey], [InitUploadResult], []),
|
|
385
386
|
init_proposal: IDL.Func([ProposalType], [IDL.Nat, Proposal], []),
|
|
386
387
|
init_proposal_asset_upload: IDL.Func([InitAssetKey, IDL.Nat], [InitUploadResult], []),
|
|
388
|
+
init_proposal_many_assets_upload: IDL.Func(
|
|
389
|
+
[IDL.Vec(InitAssetKey), IDL.Nat],
|
|
390
|
+
[IDL.Vec(IDL.Tuple(IDL.Text, InitUploadResult))],
|
|
391
|
+
[]
|
|
392
|
+
),
|
|
387
393
|
list_assets: IDL.Func([IDL.Text, ListParams], [ListResults], ['query']),
|
|
388
394
|
list_controllers: IDL.Func([], [IDL.Vec(IDL.Tuple(IDL.Principal, Controller))], ['query']),
|
|
389
395
|
list_custom_domains: IDL.Func([], [IDL.Vec(IDL.Tuple(IDL.Text, CustomDomain))], ['query']),
|