@junobuild/admin 0.0.40 → 0.0.42
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 +5 -5
- package/dist/browser/index.js.map +3 -3
- package/dist/node/index.mjs +6 -6
- package/dist/node/index.mjs.map +3 -3
- package/dist/types/api/satellite.api.d.ts +5 -1
- package/dist/types/services/mission-control.services.d.ts +4 -0
- package/dist/types/services/orbiter.services.d.ts +5 -0
- package/dist/types/services/satellite.services.d.ts +10 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Principal } from '@dfinity/principal';
|
|
2
|
-
import type { Config, Controller, CustomDomain, MemorySize, Rule, RulesType, SetRule } from '../../declarations/satellite/satellite.did';
|
|
2
|
+
import type { Config, Controller, CustomDomain, MemorySize, Rule, RulesType, SetControllersArgs, SetRule } from '../../declarations/satellite/satellite.did';
|
|
3
3
|
import type { SatelliteParameters } from '../types/actor.types';
|
|
4
4
|
export declare const setConfig: ({ config, satellite }: {
|
|
5
5
|
config: Config;
|
|
@@ -54,3 +54,7 @@ export declare const deleteAssets: ({ collection, satellite }: {
|
|
|
54
54
|
collection: string;
|
|
55
55
|
satellite: SatelliteParameters;
|
|
56
56
|
}) => Promise<void>;
|
|
57
|
+
export declare const setControllers: ({ args, satellite }: {
|
|
58
|
+
args: SetControllersArgs;
|
|
59
|
+
satellite: SatelliteParameters;
|
|
60
|
+
}) => Promise<[Principal, Controller][]>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Principal } from '@dfinity/principal';
|
|
2
|
+
import type { Controller } from '../../declarations/mission_control/mission_control.did';
|
|
2
3
|
import type { MissionControlParameters } from '../types/actor.types';
|
|
3
4
|
import type { SetControllerParams } from '../types/controllers.types';
|
|
4
5
|
export declare const missionControlVersion: (params: {
|
|
@@ -15,3 +16,6 @@ export declare const setSatellitesController: ({ controllerId, profile, ...rest
|
|
|
15
16
|
export declare const setMissionControlController: ({ controllerId, profile, ...rest }: {
|
|
16
17
|
missionControl: MissionControlParameters;
|
|
17
18
|
} & SetControllerParams) => Promise<undefined>;
|
|
19
|
+
export declare const listMissionControlControllers: (params: {
|
|
20
|
+
missionControl: MissionControlParameters;
|
|
21
|
+
}) => Promise<[Principal, Controller][]>;
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { Principal } from '@dfinity/principal';
|
|
2
|
+
import type { Controller } from '../../declarations/mission_control/mission_control.did';
|
|
1
3
|
import type { MemorySize } from '../../declarations/orbiter/orbiter.did';
|
|
2
4
|
import type { OrbiterParameters } from '../types/actor.types';
|
|
3
5
|
export declare const orbiterVersion: (params: {
|
|
@@ -11,3 +13,6 @@ export declare const upgradeOrbiter: ({ orbiter, wasm_module, reset }: {
|
|
|
11
13
|
export declare const orbiterMemorySize: (params: {
|
|
12
14
|
orbiter: OrbiterParameters;
|
|
13
15
|
}) => Promise<MemorySize>;
|
|
16
|
+
export declare const listOrbiterControllers: (params: {
|
|
17
|
+
orbiter: OrbiterParameters;
|
|
18
|
+
}) => Promise<[Principal, Controller][]>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { Principal } from '@dfinity/principal';
|
|
2
|
+
import type { Controller, MemorySize, SetControllersArgs } from '../../declarations/satellite/satellite.did';
|
|
2
3
|
import type { SatelliteParameters } from '../types/actor.types';
|
|
3
4
|
import type { Config } from '../types/config.types';
|
|
4
5
|
import type { CustomDomain } from '../types/customdomain.types';
|
|
@@ -52,3 +53,11 @@ export declare const deleteAssets: (params: {
|
|
|
52
53
|
collection: string;
|
|
53
54
|
satellite: SatelliteParameters;
|
|
54
55
|
}) => Promise<void>;
|
|
56
|
+
export declare const listSatelliteControllers: ({ deprecatedNoScope, ...params }: {
|
|
57
|
+
satellite: SatelliteParameters;
|
|
58
|
+
deprecatedNoScope?: boolean | undefined;
|
|
59
|
+
}) => Promise<[Principal, Controller][]>;
|
|
60
|
+
export declare const setSatelliteControllers: (params: {
|
|
61
|
+
satellite: SatelliteParameters;
|
|
62
|
+
args: SetControllersArgs;
|
|
63
|
+
}) => Promise<[Principal, Controller][]>;
|