@junobuild/admin 3.1.0 → 3.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.
|
@@ -10,6 +10,10 @@ export declare const listControllers: ({ orbiter, certified }: {
|
|
|
10
10
|
orbiter: OrbiterParameters;
|
|
11
11
|
certified?: boolean;
|
|
12
12
|
}) => Promise<[Principal, OrbiterDid.Controller][]>;
|
|
13
|
+
export declare const setControllers: ({ args, orbiter }: {
|
|
14
|
+
args: OrbiterDid.SetControllersArgs;
|
|
15
|
+
orbiter: OrbiterParameters;
|
|
16
|
+
}) => Promise<[Principal, OrbiterDid.Controller][]>;
|
|
13
17
|
export declare const memorySize: ({ orbiter }: {
|
|
14
18
|
orbiter: OrbiterParameters;
|
|
15
19
|
}) => Promise<OrbiterDid.MemorySize>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Principal } from '@icp-sdk/core/principal';
|
|
2
|
-
import type { MissionControlDid, OrbiterParameters } from '@junobuild/ic-client/actor';
|
|
2
|
+
import type { MissionControlDid, OrbiterDid, OrbiterParameters } from '@junobuild/ic-client/actor';
|
|
3
3
|
/**
|
|
4
4
|
* Lists the controllers of the Orbiter.
|
|
5
5
|
* @param {Object} params - The parameters for listing the controllers.
|
|
@@ -9,3 +9,14 @@ import type { MissionControlDid, OrbiterParameters } from '@junobuild/ic-client/
|
|
|
9
9
|
export declare const listOrbiterControllers: (params: {
|
|
10
10
|
orbiter: OrbiterParameters;
|
|
11
11
|
}) => Promise<[Principal, MissionControlDid.Controller][]>;
|
|
12
|
+
/**
|
|
13
|
+
* Sets the controllers of an orbiter.
|
|
14
|
+
* @param {Object} params - The parameters for setting the controllers.
|
|
15
|
+
* @param {SatelliteParameters} params.orbiter - The orbiter parameters.
|
|
16
|
+
* @param {SetControllersArgs} params.args - The arguments for setting the controllers.
|
|
17
|
+
* @returns {Promise<[Principal, Controller][]>} A promise that resolves to a list of controllers.
|
|
18
|
+
*/
|
|
19
|
+
export declare const setOrbiterControllers: (params: {
|
|
20
|
+
orbiter: OrbiterParameters;
|
|
21
|
+
args: OrbiterDid.SetControllersArgs;
|
|
22
|
+
}) => Promise<[Principal, OrbiterDid.Controller][]>;
|