@junobuild/admin 0.6.7-next-2025-07-17.3 → 0.6.8-next-2025-07-30

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.
@@ -27,12 +27,19 @@ export interface AssetsUpgradeOptions {
27
27
  clear_existing_assets: [] | [boolean];
28
28
  }
29
29
  export interface AuthenticationConfig {
30
+ updated_at: [] | [bigint];
31
+ created_at: [] | [bigint];
32
+ version: [] | [bigint];
30
33
  internet_identity: [] | [AuthenticationConfigInternetIdentity];
34
+ rules: [] | [AuthenticationRules];
31
35
  }
32
36
  export interface AuthenticationConfigInternetIdentity {
33
37
  derivation_origin: [] | [string];
34
38
  external_alternative_origins: [] | [Array<string>];
35
39
  }
40
+ export interface AuthenticationRules {
41
+ allowed_callers: Array<Principal>;
42
+ }
36
43
  export type CollectionType = {Db: null} | {Storage: null};
37
44
  export interface CommitBatch {
38
45
  batch_id: bigint;
@@ -67,6 +74,9 @@ export interface CustomDomain {
67
74
  bn_id: [] | [string];
68
75
  }
69
76
  export interface DbConfig {
77
+ updated_at: [] | [bigint];
78
+ created_at: [] | [bigint];
79
+ version: [] | [bigint];
70
80
  max_memory_size: [] | [ConfigMaxMemorySize];
71
81
  }
72
82
  export interface DelDoc {
@@ -230,6 +240,11 @@ export interface SegmentsDeploymentOptions {
230
240
  mission_control_version: [] | [string];
231
241
  satellite_version: [] | [string];
232
242
  }
243
+ export interface SetAuthenticationConfig {
244
+ version: [] | [bigint];
245
+ internet_identity: [] | [AuthenticationConfigInternetIdentity];
246
+ rules: [] | [AuthenticationRules];
247
+ }
233
248
  export interface SetController {
234
249
  metadata: Array<[string, string]>;
235
250
  scope: ControllerScope;
@@ -239,6 +254,10 @@ export interface SetControllersArgs {
239
254
  controller: SetController;
240
255
  controllers: Array<Principal>;
241
256
  }
257
+ export interface SetDbConfig {
258
+ version: [] | [bigint];
259
+ max_memory_size: [] | [ConfigMaxMemorySize];
260
+ }
242
261
  export interface SetDoc {
243
262
  data: Uint8Array | number[];
244
263
  description: [] | [string];
@@ -255,10 +274,22 @@ export interface SetRule {
255
274
  write: Permission;
256
275
  max_changes_per_user: [] | [number];
257
276
  }
277
+ export interface SetStorageConfig {
278
+ iframe: [] | [StorageConfigIFrame];
279
+ rewrites: Array<[string, string]>;
280
+ headers: Array<[string, Array<[string, string]>]>;
281
+ version: [] | [bigint];
282
+ max_memory_size: [] | [ConfigMaxMemorySize];
283
+ raw_access: [] | [StorageConfigRawAccess];
284
+ redirects: [] | [Array<[string, StorageConfigRedirect]>];
285
+ }
258
286
  export interface StorageConfig {
259
287
  iframe: [] | [StorageConfigIFrame];
288
+ updated_at: [] | [bigint];
260
289
  rewrites: Array<[string, string]>;
261
290
  headers: Array<[string, Array<[string, string]>]>;
291
+ created_at: [] | [bigint];
292
+ version: [] | [bigint];
262
293
  max_memory_size: [] | [ConfigMaxMemorySize];
263
294
  raw_access: [] | [StorageConfigRawAccess];
264
295
  redirects: [] | [Array<[string, StorageConfigRedirect]>];
@@ -349,14 +380,14 @@ export interface _SERVICE {
349
380
  list_rules: ActorMethod<[CollectionType, ListRulesParams], ListRulesResults>;
350
381
  memory_size: ActorMethod<[], MemorySize>;
351
382
  reject_proposal: ActorMethod<[CommitProposal], null>;
352
- set_auth_config: ActorMethod<[AuthenticationConfig], undefined>;
383
+ set_auth_config: ActorMethod<[SetAuthenticationConfig], AuthenticationConfig>;
353
384
  set_controllers: ActorMethod<[SetControllersArgs], Array<[Principal, Controller]>>;
354
385
  set_custom_domain: ActorMethod<[string, [] | [string]], undefined>;
355
- set_db_config: ActorMethod<[DbConfig], undefined>;
386
+ set_db_config: ActorMethod<[SetDbConfig], DbConfig>;
356
387
  set_doc: ActorMethod<[string, string, SetDoc], Doc>;
357
388
  set_many_docs: ActorMethod<[Array<[string, string, SetDoc]>], Array<[string, Doc]>>;
358
389
  set_rule: ActorMethod<[CollectionType, string, SetRule], Rule>;
359
- set_storage_config: ActorMethod<[StorageConfig], undefined>;
390
+ set_storage_config: ActorMethod<[SetStorageConfig], StorageConfig>;
360
391
  submit_proposal: ActorMethod<[bigint], [bigint, Proposal]>;
361
392
  upload_asset_chunk: ActorMethod<[UploadChunk], UploadChunkResult>;
362
393
  upload_proposal_asset_chunk: ActorMethod<[UploadChunk], UploadChunkResult>;
@@ -87,14 +87,24 @@ export const idlFactory = ({IDL}) => {
87
87
  derivation_origin: IDL.Opt(IDL.Text),
88
88
  external_alternative_origins: IDL.Opt(IDL.Vec(IDL.Text))
89
89
  });
90
+ const AuthenticationRules = IDL.Record({
91
+ allowed_callers: IDL.Vec(IDL.Principal)
92
+ });
90
93
  const AuthenticationConfig = IDL.Record({
91
- internet_identity: IDL.Opt(AuthenticationConfigInternetIdentity)
94
+ updated_at: IDL.Opt(IDL.Nat64),
95
+ created_at: IDL.Opt(IDL.Nat64),
96
+ version: IDL.Opt(IDL.Nat64),
97
+ internet_identity: IDL.Opt(AuthenticationConfigInternetIdentity),
98
+ rules: IDL.Opt(AuthenticationRules)
92
99
  });
93
100
  const ConfigMaxMemorySize = IDL.Record({
94
101
  stable: IDL.Opt(IDL.Nat64),
95
102
  heap: IDL.Opt(IDL.Nat64)
96
103
  });
97
104
  const DbConfig = IDL.Record({
105
+ updated_at: IDL.Opt(IDL.Nat64),
106
+ created_at: IDL.Opt(IDL.Nat64),
107
+ version: IDL.Opt(IDL.Nat64),
98
108
  max_memory_size: IDL.Opt(ConfigMaxMemorySize)
99
109
  });
100
110
  const StorageConfigIFrame = IDL.Variant({
@@ -112,8 +122,11 @@ export const idlFactory = ({IDL}) => {
112
122
  });
113
123
  const StorageConfig = IDL.Record({
114
124
  iframe: IDL.Opt(StorageConfigIFrame),
125
+ updated_at: IDL.Opt(IDL.Nat64),
115
126
  rewrites: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text)),
116
127
  headers: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text)))),
128
+ created_at: IDL.Opt(IDL.Nat64),
129
+ version: IDL.Opt(IDL.Nat64),
117
130
  max_memory_size: IDL.Opt(ConfigMaxMemorySize),
118
131
  raw_access: IDL.Opt(StorageConfigRawAccess),
119
132
  redirects: IDL.Opt(IDL.Vec(IDL.Tuple(IDL.Text, StorageConfigRedirect)))
@@ -269,6 +282,11 @@ export const idlFactory = ({IDL}) => {
269
282
  items_length: IDL.Nat64
270
283
  });
271
284
  const MemorySize = IDL.Record({stable: IDL.Nat64, heap: IDL.Nat64});
285
+ const SetAuthenticationConfig = IDL.Record({
286
+ version: IDL.Opt(IDL.Nat64),
287
+ internet_identity: IDL.Opt(AuthenticationConfigInternetIdentity),
288
+ rules: IDL.Opt(AuthenticationRules)
289
+ });
272
290
  const SetController = IDL.Record({
273
291
  metadata: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text)),
274
292
  scope: ControllerScope,
@@ -278,6 +296,10 @@ export const idlFactory = ({IDL}) => {
278
296
  controller: SetController,
279
297
  controllers: IDL.Vec(IDL.Principal)
280
298
  });
299
+ const SetDbConfig = IDL.Record({
300
+ version: IDL.Opt(IDL.Nat64),
301
+ max_memory_size: IDL.Opt(ConfigMaxMemorySize)
302
+ });
281
303
  const SetDoc = IDL.Record({
282
304
  data: IDL.Vec(IDL.Nat8),
283
305
  description: IDL.Opt(IDL.Text),
@@ -294,6 +316,15 @@ export const idlFactory = ({IDL}) => {
294
316
  write: Permission,
295
317
  max_changes_per_user: IDL.Opt(IDL.Nat32)
296
318
  });
319
+ const SetStorageConfig = IDL.Record({
320
+ iframe: IDL.Opt(StorageConfigIFrame),
321
+ rewrites: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text)),
322
+ headers: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text)))),
323
+ version: IDL.Opt(IDL.Nat64),
324
+ max_memory_size: IDL.Opt(ConfigMaxMemorySize),
325
+ raw_access: IDL.Opt(StorageConfigRawAccess),
326
+ redirects: IDL.Opt(IDL.Vec(IDL.Tuple(IDL.Text, StorageConfigRedirect)))
327
+ });
297
328
  const UploadChunk = IDL.Record({
298
329
  content: IDL.Vec(IDL.Nat8),
299
330
  batch_id: IDL.Nat,
@@ -361,14 +392,14 @@ export const idlFactory = ({IDL}) => {
361
392
  list_rules: IDL.Func([CollectionType, ListRulesParams], [ListRulesResults], []),
362
393
  memory_size: IDL.Func([], [MemorySize], []),
363
394
  reject_proposal: IDL.Func([CommitProposal], [IDL.Null], []),
364
- set_auth_config: IDL.Func([AuthenticationConfig], [], []),
395
+ set_auth_config: IDL.Func([SetAuthenticationConfig], [AuthenticationConfig], []),
365
396
  set_controllers: IDL.Func(
366
397
  [SetControllersArgs],
367
398
  [IDL.Vec(IDL.Tuple(IDL.Principal, Controller))],
368
399
  []
369
400
  ),
370
401
  set_custom_domain: IDL.Func([IDL.Text, IDL.Opt(IDL.Text)], [], []),
371
- set_db_config: IDL.Func([DbConfig], [], []),
402
+ set_db_config: IDL.Func([SetDbConfig], [DbConfig], []),
372
403
  set_doc: IDL.Func([IDL.Text, IDL.Text, SetDoc], [Doc], []),
373
404
  set_many_docs: IDL.Func(
374
405
  [IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text, SetDoc))],
@@ -376,7 +407,7 @@ export const idlFactory = ({IDL}) => {
376
407
  []
377
408
  ),
378
409
  set_rule: IDL.Func([CollectionType, IDL.Text, SetRule], [Rule], []),
379
- set_storage_config: IDL.Func([StorageConfig], [], []),
410
+ set_storage_config: IDL.Func([SetStorageConfig], [StorageConfig], []),
380
411
  submit_proposal: IDL.Func([IDL.Nat], [IDL.Nat, Proposal], []),
381
412
  upload_asset_chunk: IDL.Func([UploadChunk], [UploadChunkResult], []),
382
413
  upload_proposal_asset_chunk: IDL.Func([UploadChunk], [UploadChunkResult], [])
@@ -87,14 +87,24 @@ export const idlFactory = ({IDL}) => {
87
87
  derivation_origin: IDL.Opt(IDL.Text),
88
88
  external_alternative_origins: IDL.Opt(IDL.Vec(IDL.Text))
89
89
  });
90
+ const AuthenticationRules = IDL.Record({
91
+ allowed_callers: IDL.Vec(IDL.Principal)
92
+ });
90
93
  const AuthenticationConfig = IDL.Record({
91
- internet_identity: IDL.Opt(AuthenticationConfigInternetIdentity)
94
+ updated_at: IDL.Opt(IDL.Nat64),
95
+ created_at: IDL.Opt(IDL.Nat64),
96
+ version: IDL.Opt(IDL.Nat64),
97
+ internet_identity: IDL.Opt(AuthenticationConfigInternetIdentity),
98
+ rules: IDL.Opt(AuthenticationRules)
92
99
  });
93
100
  const ConfigMaxMemorySize = IDL.Record({
94
101
  stable: IDL.Opt(IDL.Nat64),
95
102
  heap: IDL.Opt(IDL.Nat64)
96
103
  });
97
104
  const DbConfig = IDL.Record({
105
+ updated_at: IDL.Opt(IDL.Nat64),
106
+ created_at: IDL.Opt(IDL.Nat64),
107
+ version: IDL.Opt(IDL.Nat64),
98
108
  max_memory_size: IDL.Opt(ConfigMaxMemorySize)
99
109
  });
100
110
  const StorageConfigIFrame = IDL.Variant({
@@ -112,8 +122,11 @@ export const idlFactory = ({IDL}) => {
112
122
  });
113
123
  const StorageConfig = IDL.Record({
114
124
  iframe: IDL.Opt(StorageConfigIFrame),
125
+ updated_at: IDL.Opt(IDL.Nat64),
115
126
  rewrites: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text)),
116
127
  headers: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text)))),
128
+ created_at: IDL.Opt(IDL.Nat64),
129
+ version: IDL.Opt(IDL.Nat64),
117
130
  max_memory_size: IDL.Opt(ConfigMaxMemorySize),
118
131
  raw_access: IDL.Opt(StorageConfigRawAccess),
119
132
  redirects: IDL.Opt(IDL.Vec(IDL.Tuple(IDL.Text, StorageConfigRedirect)))
@@ -269,6 +282,11 @@ export const idlFactory = ({IDL}) => {
269
282
  items_length: IDL.Nat64
270
283
  });
271
284
  const MemorySize = IDL.Record({stable: IDL.Nat64, heap: IDL.Nat64});
285
+ const SetAuthenticationConfig = IDL.Record({
286
+ version: IDL.Opt(IDL.Nat64),
287
+ internet_identity: IDL.Opt(AuthenticationConfigInternetIdentity),
288
+ rules: IDL.Opt(AuthenticationRules)
289
+ });
272
290
  const SetController = IDL.Record({
273
291
  metadata: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text)),
274
292
  scope: ControllerScope,
@@ -278,6 +296,10 @@ export const idlFactory = ({IDL}) => {
278
296
  controller: SetController,
279
297
  controllers: IDL.Vec(IDL.Principal)
280
298
  });
299
+ const SetDbConfig = IDL.Record({
300
+ version: IDL.Opt(IDL.Nat64),
301
+ max_memory_size: IDL.Opt(ConfigMaxMemorySize)
302
+ });
281
303
  const SetDoc = IDL.Record({
282
304
  data: IDL.Vec(IDL.Nat8),
283
305
  description: IDL.Opt(IDL.Text),
@@ -294,6 +316,15 @@ export const idlFactory = ({IDL}) => {
294
316
  write: Permission,
295
317
  max_changes_per_user: IDL.Opt(IDL.Nat32)
296
318
  });
319
+ const SetStorageConfig = IDL.Record({
320
+ iframe: IDL.Opt(StorageConfigIFrame),
321
+ rewrites: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text)),
322
+ headers: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text)))),
323
+ version: IDL.Opt(IDL.Nat64),
324
+ max_memory_size: IDL.Opt(ConfigMaxMemorySize),
325
+ raw_access: IDL.Opt(StorageConfigRawAccess),
326
+ redirects: IDL.Opt(IDL.Vec(IDL.Tuple(IDL.Text, StorageConfigRedirect)))
327
+ });
297
328
  const UploadChunk = IDL.Record({
298
329
  content: IDL.Vec(IDL.Nat8),
299
330
  batch_id: IDL.Nat,
@@ -361,14 +392,14 @@ export const idlFactory = ({IDL}) => {
361
392
  list_rules: IDL.Func([CollectionType, ListRulesParams], [ListRulesResults], ['query']),
362
393
  memory_size: IDL.Func([], [MemorySize], ['query']),
363
394
  reject_proposal: IDL.Func([CommitProposal], [IDL.Null], []),
364
- set_auth_config: IDL.Func([AuthenticationConfig], [], []),
395
+ set_auth_config: IDL.Func([SetAuthenticationConfig], [AuthenticationConfig], []),
365
396
  set_controllers: IDL.Func(
366
397
  [SetControllersArgs],
367
398
  [IDL.Vec(IDL.Tuple(IDL.Principal, Controller))],
368
399
  []
369
400
  ),
370
401
  set_custom_domain: IDL.Func([IDL.Text, IDL.Opt(IDL.Text)], [], []),
371
- set_db_config: IDL.Func([DbConfig], [], []),
402
+ set_db_config: IDL.Func([SetDbConfig], [DbConfig], []),
372
403
  set_doc: IDL.Func([IDL.Text, IDL.Text, SetDoc], [Doc], []),
373
404
  set_many_docs: IDL.Func(
374
405
  [IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text, SetDoc))],
@@ -376,7 +407,7 @@ export const idlFactory = ({IDL}) => {
376
407
  []
377
408
  ),
378
409
  set_rule: IDL.Func([CollectionType, IDL.Text, SetRule], [Rule], []),
379
- set_storage_config: IDL.Func([StorageConfig], [], []),
410
+ set_storage_config: IDL.Func([SetStorageConfig], [StorageConfig], []),
380
411
  submit_proposal: IDL.Func([IDL.Nat], [IDL.Nat, Proposal], []),
381
412
  upload_asset_chunk: IDL.Func([UploadChunk], [UploadChunkResult], []),
382
413
  upload_proposal_asset_chunk: IDL.Func([UploadChunk], [UploadChunkResult], [])
@@ -87,14 +87,24 @@ export const idlFactory = ({IDL}) => {
87
87
  derivation_origin: IDL.Opt(IDL.Text),
88
88
  external_alternative_origins: IDL.Opt(IDL.Vec(IDL.Text))
89
89
  });
90
+ const AuthenticationRules = IDL.Record({
91
+ allowed_callers: IDL.Vec(IDL.Principal)
92
+ });
90
93
  const AuthenticationConfig = IDL.Record({
91
- internet_identity: IDL.Opt(AuthenticationConfigInternetIdentity)
94
+ updated_at: IDL.Opt(IDL.Nat64),
95
+ created_at: IDL.Opt(IDL.Nat64),
96
+ version: IDL.Opt(IDL.Nat64),
97
+ internet_identity: IDL.Opt(AuthenticationConfigInternetIdentity),
98
+ rules: IDL.Opt(AuthenticationRules)
92
99
  });
93
100
  const ConfigMaxMemorySize = IDL.Record({
94
101
  stable: IDL.Opt(IDL.Nat64),
95
102
  heap: IDL.Opt(IDL.Nat64)
96
103
  });
97
104
  const DbConfig = IDL.Record({
105
+ updated_at: IDL.Opt(IDL.Nat64),
106
+ created_at: IDL.Opt(IDL.Nat64),
107
+ version: IDL.Opt(IDL.Nat64),
98
108
  max_memory_size: IDL.Opt(ConfigMaxMemorySize)
99
109
  });
100
110
  const StorageConfigIFrame = IDL.Variant({
@@ -112,8 +122,11 @@ export const idlFactory = ({IDL}) => {
112
122
  });
113
123
  const StorageConfig = IDL.Record({
114
124
  iframe: IDL.Opt(StorageConfigIFrame),
125
+ updated_at: IDL.Opt(IDL.Nat64),
115
126
  rewrites: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text)),
116
127
  headers: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text)))),
128
+ created_at: IDL.Opt(IDL.Nat64),
129
+ version: IDL.Opt(IDL.Nat64),
117
130
  max_memory_size: IDL.Opt(ConfigMaxMemorySize),
118
131
  raw_access: IDL.Opt(StorageConfigRawAccess),
119
132
  redirects: IDL.Opt(IDL.Vec(IDL.Tuple(IDL.Text, StorageConfigRedirect)))
@@ -269,6 +282,11 @@ export const idlFactory = ({IDL}) => {
269
282
  items_length: IDL.Nat64
270
283
  });
271
284
  const MemorySize = IDL.Record({stable: IDL.Nat64, heap: IDL.Nat64});
285
+ const SetAuthenticationConfig = IDL.Record({
286
+ version: IDL.Opt(IDL.Nat64),
287
+ internet_identity: IDL.Opt(AuthenticationConfigInternetIdentity),
288
+ rules: IDL.Opt(AuthenticationRules)
289
+ });
272
290
  const SetController = IDL.Record({
273
291
  metadata: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text)),
274
292
  scope: ControllerScope,
@@ -278,6 +296,10 @@ export const idlFactory = ({IDL}) => {
278
296
  controller: SetController,
279
297
  controllers: IDL.Vec(IDL.Principal)
280
298
  });
299
+ const SetDbConfig = IDL.Record({
300
+ version: IDL.Opt(IDL.Nat64),
301
+ max_memory_size: IDL.Opt(ConfigMaxMemorySize)
302
+ });
281
303
  const SetDoc = IDL.Record({
282
304
  data: IDL.Vec(IDL.Nat8),
283
305
  description: IDL.Opt(IDL.Text),
@@ -294,6 +316,15 @@ export const idlFactory = ({IDL}) => {
294
316
  write: Permission,
295
317
  max_changes_per_user: IDL.Opt(IDL.Nat32)
296
318
  });
319
+ const SetStorageConfig = IDL.Record({
320
+ iframe: IDL.Opt(StorageConfigIFrame),
321
+ rewrites: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text)),
322
+ headers: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text)))),
323
+ version: IDL.Opt(IDL.Nat64),
324
+ max_memory_size: IDL.Opt(ConfigMaxMemorySize),
325
+ raw_access: IDL.Opt(StorageConfigRawAccess),
326
+ redirects: IDL.Opt(IDL.Vec(IDL.Tuple(IDL.Text, StorageConfigRedirect)))
327
+ });
297
328
  const UploadChunk = IDL.Record({
298
329
  content: IDL.Vec(IDL.Nat8),
299
330
  batch_id: IDL.Nat,
@@ -361,14 +392,14 @@ export const idlFactory = ({IDL}) => {
361
392
  list_rules: IDL.Func([CollectionType, ListRulesParams], [ListRulesResults], ['query']),
362
393
  memory_size: IDL.Func([], [MemorySize], ['query']),
363
394
  reject_proposal: IDL.Func([CommitProposal], [IDL.Null], []),
364
- set_auth_config: IDL.Func([AuthenticationConfig], [], []),
395
+ set_auth_config: IDL.Func([SetAuthenticationConfig], [AuthenticationConfig], []),
365
396
  set_controllers: IDL.Func(
366
397
  [SetControllersArgs],
367
398
  [IDL.Vec(IDL.Tuple(IDL.Principal, Controller))],
368
399
  []
369
400
  ),
370
401
  set_custom_domain: IDL.Func([IDL.Text, IDL.Opt(IDL.Text)], [], []),
371
- set_db_config: IDL.Func([DbConfig], [], []),
402
+ set_db_config: IDL.Func([SetDbConfig], [DbConfig], []),
372
403
  set_doc: IDL.Func([IDL.Text, IDL.Text, SetDoc], [Doc], []),
373
404
  set_many_docs: IDL.Func(
374
405
  [IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text, SetDoc))],
@@ -376,7 +407,7 @@ export const idlFactory = ({IDL}) => {
376
407
  []
377
408
  ),
378
409
  set_rule: IDL.Func([CollectionType, IDL.Text, SetRule], [Rule], []),
379
- set_storage_config: IDL.Func([StorageConfig], [], []),
410
+ set_storage_config: IDL.Func([SetStorageConfig], [StorageConfig], []),
380
411
  submit_proposal: IDL.Func([IDL.Nat], [IDL.Nat, Proposal], []),
381
412
  upload_asset_chunk: IDL.Func([UploadChunk], [UploadChunkResult], []),
382
413
  upload_proposal_asset_chunk: IDL.Func([UploadChunk], [UploadChunkResult], [])