@junobuild/admin 0.0.2 → 0.0.4

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.
Files changed (47) hide show
  1. package/dist/cjs/index.cjs.js +13 -13
  2. package/dist/cjs/index.cjs.js.map +4 -4
  3. package/dist/declarations/cmc/cmc.did +122 -0
  4. package/dist/declarations/cmc/cmc.did.d.ts +48 -0
  5. package/dist/declarations/cmc/cmc.factory.did.js +65 -0
  6. package/dist/declarations/cmc/index.d.ts +45 -0
  7. package/dist/declarations/cmc/index.js +32 -0
  8. package/dist/declarations/console/console.did.d.ts +47 -0
  9. package/dist/declarations/console/console.factory.did.js +49 -0
  10. package/dist/declarations/console/console.factory.did.mjs +49 -0
  11. package/dist/declarations/console/index.d.ts +45 -0
  12. package/dist/declarations/console/index.js +32 -0
  13. package/dist/declarations/frontend/frontend.did +147 -0
  14. package/dist/declarations/frontend/frontend.did.d.ts +128 -0
  15. package/dist/declarations/frontend/frontend.factory.did.js +165 -0
  16. package/dist/declarations/frontend/index.d.ts +45 -0
  17. package/dist/declarations/frontend/index.js +32 -0
  18. package/dist/declarations/ic/ic.did +82 -0
  19. package/dist/declarations/ic/ic.did.d.ts +77 -0
  20. package/dist/declarations/ic/ic.factory.did.js +128 -0
  21. package/dist/declarations/internet_identity/index.d.ts +45 -0
  22. package/dist/declarations/internet_identity/index.js +32 -0
  23. package/dist/declarations/internet_identity/internet_identity.did +271 -0
  24. package/dist/declarations/internet_identity/internet_identity.did.d.ts +161 -0
  25. package/dist/declarations/internet_identity/internet_identity.factory.did.js +187 -0
  26. package/dist/declarations/ledger/index.d.ts +45 -0
  27. package/dist/declarations/ledger/index.js +32 -0
  28. package/dist/declarations/ledger/ledger.did +249 -0
  29. package/dist/declarations/ledger/ledger.did.d.ts +100 -0
  30. package/dist/declarations/ledger/ledger.factory.did.js +98 -0
  31. package/dist/declarations/mission_control/index.d.ts +45 -0
  32. package/dist/declarations/mission_control/index.js +32 -0
  33. package/dist/declarations/mission_control/mission_control.did.d.ts +24 -0
  34. package/dist/declarations/mission_control/mission_control.factory.did.js +28 -0
  35. package/dist/declarations/satellite/index.d.ts +45 -0
  36. package/dist/declarations/satellite/index.js +32 -0
  37. package/dist/declarations/satellite/satellite.did.d.ts +166 -0
  38. package/dist/declarations/satellite/satellite.factory.did.js +164 -0
  39. package/dist/declarations/satellite/satellite.factory.did.mjs +164 -0
  40. package/dist/esm/index.js +1 -1
  41. package/dist/esm/index.js.map +4 -4
  42. package/dist/types/api/actor.api.d.ts +4 -4
  43. package/dist/types/api/satellite.api.d.ts +1 -1
  44. package/dist/types/services/satellite.services.d.ts +1 -1
  45. package/dist/types/types/config.types.d.ts +5 -1
  46. package/dist/types/types/ic.types.d.ts +1 -1
  47. package/package.json +9 -3
@@ -0,0 +1,166 @@
1
+ import type {ActorMethod} from '@dfinity/agent';
2
+ import type {Principal} from '@dfinity/principal';
3
+
4
+ export interface AssetEncodingNoContent {
5
+ modified: bigint;
6
+ sha256: Uint8Array;
7
+ total_length: bigint;
8
+ }
9
+ export interface AssetKey {
10
+ token: [] | [string];
11
+ collection: string;
12
+ owner: Principal;
13
+ name: string;
14
+ full_path: string;
15
+ }
16
+ export interface AssetNoContent {
17
+ key: AssetKey;
18
+ updated_at: bigint;
19
+ encodings: Array<[string, AssetEncodingNoContent]>;
20
+ headers: Array<[string, string]>;
21
+ created_at: bigint;
22
+ }
23
+ export interface Chunk {
24
+ content: Uint8Array;
25
+ batch_id: bigint;
26
+ }
27
+ export interface CommitBatch {
28
+ batch_id: bigint;
29
+ headers: Array<[string, string]>;
30
+ chunk_ids: Array<bigint>;
31
+ }
32
+ export interface Config {
33
+ storage: StorageConfig;
34
+ }
35
+ export interface ControllersArgs {
36
+ controllers: Array<Principal>;
37
+ }
38
+ export interface CustomDomain {
39
+ updated_at: bigint;
40
+ created_at: bigint;
41
+ bn_id: [] | [string];
42
+ }
43
+ export interface DelDoc {
44
+ updated_at: [] | [bigint];
45
+ }
46
+ export interface Doc {
47
+ updated_at: bigint;
48
+ owner: Principal;
49
+ data: Uint8Array;
50
+ created_at: bigint;
51
+ }
52
+ export interface HttpRequest {
53
+ url: string;
54
+ method: string;
55
+ body: Uint8Array;
56
+ headers: Array<[string, string]>;
57
+ }
58
+ export interface HttpResponse {
59
+ body: Uint8Array;
60
+ headers: Array<[string, string]>;
61
+ streaming_strategy: [] | [StreamingStrategy];
62
+ status_code: number;
63
+ }
64
+ export interface InitAssetKey {
65
+ token: [] | [string];
66
+ collection: string;
67
+ name: string;
68
+ encoding_type: [] | [string];
69
+ full_path: string;
70
+ }
71
+ export interface InitUploadResult {
72
+ batch_id: bigint;
73
+ }
74
+ export interface ListParams {
75
+ order: [] | [OrderKeys];
76
+ matcher: [] | [string];
77
+ paginate: [] | [PaginateKeys];
78
+ }
79
+ export interface ListResults {
80
+ matches_length: bigint;
81
+ length: bigint;
82
+ items: Array<[string, AssetNoContent]>;
83
+ }
84
+ export interface ListResults_1 {
85
+ matches_length: bigint;
86
+ length: bigint;
87
+ items: Array<[string, Doc]>;
88
+ }
89
+ export interface OrderKeys {
90
+ desc: boolean;
91
+ }
92
+ export interface PaginateKeys {
93
+ start_after: [] | [string];
94
+ limit: [] | [bigint];
95
+ }
96
+ export type Permission = {Controllers: null} | {Private: null} | {Public: null} | {Managed: null};
97
+ export interface Rule {
98
+ updated_at: bigint;
99
+ max_size: [] | [bigint];
100
+ read: Permission;
101
+ created_at: bigint;
102
+ write: Permission;
103
+ }
104
+ export type RulesType = {Db: null} | {Storage: null};
105
+ export interface SetDoc {
106
+ updated_at: [] | [bigint];
107
+ data: Uint8Array;
108
+ }
109
+ export interface SetRule {
110
+ updated_at: [] | [bigint];
111
+ max_size: [] | [bigint];
112
+ read: Permission;
113
+ write: Permission;
114
+ }
115
+ export interface StorageConfig {
116
+ headers: Array<[string, Array<[string, string]>]>;
117
+ }
118
+ export interface StreamingCallbackHttpResponse {
119
+ token: [] | [StreamingCallbackToken];
120
+ body: Uint8Array;
121
+ }
122
+ export interface StreamingCallbackToken {
123
+ token: [] | [string];
124
+ sha256: [] | [Uint8Array];
125
+ headers: Array<[string, string]>;
126
+ index: bigint;
127
+ encoding_type: string;
128
+ full_path: string;
129
+ }
130
+ export type StreamingStrategy = {
131
+ Callback: {
132
+ token: StreamingCallbackToken;
133
+ callback: [Principal, string];
134
+ };
135
+ };
136
+ export interface UploadChunk {
137
+ chunk_id: bigint;
138
+ }
139
+ export interface _SERVICE {
140
+ add_controllers: ActorMethod<[ControllersArgs], Array<Principal>>;
141
+ commit_asset_upload: ActorMethod<[CommitBatch], undefined>;
142
+ del_asset: ActorMethod<[string, string], undefined>;
143
+ del_assets: ActorMethod<[[] | [string]], undefined>;
144
+ del_custom_domain: ActorMethod<[string], undefined>;
145
+ del_doc: ActorMethod<[string, string, DelDoc], undefined>;
146
+ get_config: ActorMethod<[], Config>;
147
+ get_doc: ActorMethod<[string, string], [] | [Doc]>;
148
+ http_request: ActorMethod<[HttpRequest], HttpResponse>;
149
+ http_request_streaming_callback: ActorMethod<
150
+ [StreamingCallbackToken],
151
+ StreamingCallbackHttpResponse
152
+ >;
153
+ init_asset_upload: ActorMethod<[InitAssetKey], InitUploadResult>;
154
+ list_assets: ActorMethod<[[] | [string], ListParams], ListResults>;
155
+ list_controllers: ActorMethod<[], Array<Principal>>;
156
+ list_custom_domains: ActorMethod<[], Array<[string, CustomDomain]>>;
157
+ list_docs: ActorMethod<[string, ListParams], ListResults_1>;
158
+ list_rules: ActorMethod<[RulesType], Array<[string, Rule]>>;
159
+ remove_controllers: ActorMethod<[ControllersArgs], Array<Principal>>;
160
+ set_config: ActorMethod<[Config], undefined>;
161
+ set_custom_domain: ActorMethod<[string, [] | [string]], undefined>;
162
+ set_doc: ActorMethod<[string, string, SetDoc], Doc>;
163
+ set_rule: ActorMethod<[RulesType, string, SetRule], undefined>;
164
+ upload_asset_chunk: ActorMethod<[Chunk], UploadChunk>;
165
+ version: ActorMethod<[], string>;
166
+ }
@@ -0,0 +1,164 @@
1
+ export const idlFactory = ({IDL}) => {
2
+ const ControllersArgs = IDL.Record({
3
+ controllers: IDL.Vec(IDL.Principal)
4
+ });
5
+ const CommitBatch = IDL.Record({
6
+ batch_id: IDL.Nat,
7
+ headers: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text)),
8
+ chunk_ids: IDL.Vec(IDL.Nat)
9
+ });
10
+ const DelDoc = IDL.Record({updated_at: IDL.Opt(IDL.Nat64)});
11
+ const StorageConfig = IDL.Record({
12
+ headers: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text))))
13
+ });
14
+ const Config = IDL.Record({storage: StorageConfig});
15
+ const Doc = IDL.Record({
16
+ updated_at: IDL.Nat64,
17
+ owner: IDL.Principal,
18
+ data: IDL.Vec(IDL.Nat8),
19
+ created_at: IDL.Nat64
20
+ });
21
+ const HttpRequest = IDL.Record({
22
+ url: IDL.Text,
23
+ method: IDL.Text,
24
+ body: IDL.Vec(IDL.Nat8),
25
+ headers: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text))
26
+ });
27
+ const StreamingCallbackToken = IDL.Record({
28
+ token: IDL.Opt(IDL.Text),
29
+ sha256: IDL.Opt(IDL.Vec(IDL.Nat8)),
30
+ headers: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text)),
31
+ index: IDL.Nat64,
32
+ encoding_type: IDL.Text,
33
+ full_path: IDL.Text
34
+ });
35
+ const StreamingStrategy = IDL.Variant({
36
+ Callback: IDL.Record({
37
+ token: StreamingCallbackToken,
38
+ callback: IDL.Func([], [], [])
39
+ })
40
+ });
41
+ const HttpResponse = IDL.Record({
42
+ body: IDL.Vec(IDL.Nat8),
43
+ headers: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text)),
44
+ streaming_strategy: IDL.Opt(StreamingStrategy),
45
+ status_code: IDL.Nat16
46
+ });
47
+ const StreamingCallbackHttpResponse = IDL.Record({
48
+ token: IDL.Opt(StreamingCallbackToken),
49
+ body: IDL.Vec(IDL.Nat8)
50
+ });
51
+ const InitAssetKey = IDL.Record({
52
+ token: IDL.Opt(IDL.Text),
53
+ collection: IDL.Text,
54
+ name: IDL.Text,
55
+ encoding_type: IDL.Opt(IDL.Text),
56
+ full_path: IDL.Text
57
+ });
58
+ const InitUploadResult = IDL.Record({batch_id: IDL.Nat});
59
+ const OrderKeys = IDL.Record({desc: IDL.Bool});
60
+ const PaginateKeys = IDL.Record({
61
+ start_after: IDL.Opt(IDL.Text),
62
+ limit: IDL.Opt(IDL.Nat64)
63
+ });
64
+ const ListParams = IDL.Record({
65
+ order: IDL.Opt(OrderKeys),
66
+ matcher: IDL.Opt(IDL.Text),
67
+ paginate: IDL.Opt(PaginateKeys)
68
+ });
69
+ const AssetKey = IDL.Record({
70
+ token: IDL.Opt(IDL.Text),
71
+ collection: IDL.Text,
72
+ owner: IDL.Principal,
73
+ name: IDL.Text,
74
+ full_path: IDL.Text
75
+ });
76
+ const AssetEncodingNoContent = IDL.Record({
77
+ modified: IDL.Nat64,
78
+ sha256: IDL.Vec(IDL.Nat8),
79
+ total_length: IDL.Nat
80
+ });
81
+ const AssetNoContent = IDL.Record({
82
+ key: AssetKey,
83
+ updated_at: IDL.Nat64,
84
+ encodings: IDL.Vec(IDL.Tuple(IDL.Text, AssetEncodingNoContent)),
85
+ headers: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text)),
86
+ created_at: IDL.Nat64
87
+ });
88
+ const ListResults = IDL.Record({
89
+ matches_length: IDL.Nat64,
90
+ length: IDL.Nat64,
91
+ items: IDL.Vec(IDL.Tuple(IDL.Text, AssetNoContent))
92
+ });
93
+ const CustomDomain = IDL.Record({
94
+ updated_at: IDL.Nat64,
95
+ created_at: IDL.Nat64,
96
+ bn_id: IDL.Opt(IDL.Text)
97
+ });
98
+ const ListResults_1 = IDL.Record({
99
+ matches_length: IDL.Nat64,
100
+ length: IDL.Nat64,
101
+ items: IDL.Vec(IDL.Tuple(IDL.Text, Doc))
102
+ });
103
+ const RulesType = IDL.Variant({Db: IDL.Null, Storage: IDL.Null});
104
+ const Permission = IDL.Variant({
105
+ Controllers: IDL.Null,
106
+ Private: IDL.Null,
107
+ Public: IDL.Null,
108
+ Managed: IDL.Null
109
+ });
110
+ const Rule = IDL.Record({
111
+ updated_at: IDL.Nat64,
112
+ max_size: IDL.Opt(IDL.Nat),
113
+ read: Permission,
114
+ created_at: IDL.Nat64,
115
+ write: Permission
116
+ });
117
+ const SetDoc = IDL.Record({
118
+ updated_at: IDL.Opt(IDL.Nat64),
119
+ data: IDL.Vec(IDL.Nat8)
120
+ });
121
+ const SetRule = IDL.Record({
122
+ updated_at: IDL.Opt(IDL.Nat64),
123
+ max_size: IDL.Opt(IDL.Nat),
124
+ read: Permission,
125
+ write: Permission
126
+ });
127
+ const Chunk = IDL.Record({
128
+ content: IDL.Vec(IDL.Nat8),
129
+ batch_id: IDL.Nat
130
+ });
131
+ const UploadChunk = IDL.Record({chunk_id: IDL.Nat});
132
+ return IDL.Service({
133
+ add_controllers: IDL.Func([ControllersArgs], [IDL.Vec(IDL.Principal)], []),
134
+ commit_asset_upload: IDL.Func([CommitBatch], [], []),
135
+ del_asset: IDL.Func([IDL.Text, IDL.Text], [], []),
136
+ del_assets: IDL.Func([IDL.Opt(IDL.Text)], [], []),
137
+ del_custom_domain: IDL.Func([IDL.Text], [], []),
138
+ del_doc: IDL.Func([IDL.Text, IDL.Text, DelDoc], [], []),
139
+ get_config: IDL.Func([], [Config], []),
140
+ get_doc: IDL.Func([IDL.Text, IDL.Text], [IDL.Opt(Doc)], ['query']),
141
+ http_request: IDL.Func([HttpRequest], [HttpResponse], ['query']),
142
+ http_request_streaming_callback: IDL.Func(
143
+ [StreamingCallbackToken],
144
+ [StreamingCallbackHttpResponse],
145
+ ['query']
146
+ ),
147
+ init_asset_upload: IDL.Func([InitAssetKey], [InitUploadResult], []),
148
+ list_assets: IDL.Func([IDL.Opt(IDL.Text), ListParams], [ListResults], ['query']),
149
+ list_controllers: IDL.Func([], [IDL.Vec(IDL.Principal)], ['query']),
150
+ list_custom_domains: IDL.Func([], [IDL.Vec(IDL.Tuple(IDL.Text, CustomDomain))], ['query']),
151
+ list_docs: IDL.Func([IDL.Text, ListParams], [ListResults_1], ['query']),
152
+ list_rules: IDL.Func([RulesType], [IDL.Vec(IDL.Tuple(IDL.Text, Rule))], ['query']),
153
+ remove_controllers: IDL.Func([ControllersArgs], [IDL.Vec(IDL.Principal)], []),
154
+ set_config: IDL.Func([Config], [], []),
155
+ set_custom_domain: IDL.Func([IDL.Text, IDL.Opt(IDL.Text)], [], []),
156
+ set_doc: IDL.Func([IDL.Text, IDL.Text, SetDoc], [Doc], []),
157
+ set_rule: IDL.Func([RulesType, IDL.Text, SetRule], [], []),
158
+ upload_asset_chunk: IDL.Func([Chunk], [UploadChunk], []),
159
+ version: IDL.Func([], [IDL.Text], ['query'])
160
+ });
161
+ };
162
+ export const init = ({IDL}) => {
163
+ return [];
164
+ };
@@ -0,0 +1,164 @@
1
+ export const idlFactory = ({IDL}) => {
2
+ const ControllersArgs = IDL.Record({
3
+ controllers: IDL.Vec(IDL.Principal)
4
+ });
5
+ const CommitBatch = IDL.Record({
6
+ batch_id: IDL.Nat,
7
+ headers: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text)),
8
+ chunk_ids: IDL.Vec(IDL.Nat)
9
+ });
10
+ const DelDoc = IDL.Record({updated_at: IDL.Opt(IDL.Nat64)});
11
+ const StorageConfig = IDL.Record({
12
+ headers: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text))))
13
+ });
14
+ const Config = IDL.Record({storage: StorageConfig});
15
+ const Doc = IDL.Record({
16
+ updated_at: IDL.Nat64,
17
+ owner: IDL.Principal,
18
+ data: IDL.Vec(IDL.Nat8),
19
+ created_at: IDL.Nat64
20
+ });
21
+ const HttpRequest = IDL.Record({
22
+ url: IDL.Text,
23
+ method: IDL.Text,
24
+ body: IDL.Vec(IDL.Nat8),
25
+ headers: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text))
26
+ });
27
+ const StreamingCallbackToken = IDL.Record({
28
+ token: IDL.Opt(IDL.Text),
29
+ sha256: IDL.Opt(IDL.Vec(IDL.Nat8)),
30
+ headers: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text)),
31
+ index: IDL.Nat64,
32
+ encoding_type: IDL.Text,
33
+ full_path: IDL.Text
34
+ });
35
+ const StreamingStrategy = IDL.Variant({
36
+ Callback: IDL.Record({
37
+ token: StreamingCallbackToken,
38
+ callback: IDL.Func([], [], [])
39
+ })
40
+ });
41
+ const HttpResponse = IDL.Record({
42
+ body: IDL.Vec(IDL.Nat8),
43
+ headers: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text)),
44
+ streaming_strategy: IDL.Opt(StreamingStrategy),
45
+ status_code: IDL.Nat16
46
+ });
47
+ const StreamingCallbackHttpResponse = IDL.Record({
48
+ token: IDL.Opt(StreamingCallbackToken),
49
+ body: IDL.Vec(IDL.Nat8)
50
+ });
51
+ const InitAssetKey = IDL.Record({
52
+ token: IDL.Opt(IDL.Text),
53
+ collection: IDL.Text,
54
+ name: IDL.Text,
55
+ encoding_type: IDL.Opt(IDL.Text),
56
+ full_path: IDL.Text
57
+ });
58
+ const InitUploadResult = IDL.Record({batch_id: IDL.Nat});
59
+ const OrderKeys = IDL.Record({desc: IDL.Bool});
60
+ const PaginateKeys = IDL.Record({
61
+ start_after: IDL.Opt(IDL.Text),
62
+ limit: IDL.Opt(IDL.Nat64)
63
+ });
64
+ const ListParams = IDL.Record({
65
+ order: IDL.Opt(OrderKeys),
66
+ matcher: IDL.Opt(IDL.Text),
67
+ paginate: IDL.Opt(PaginateKeys)
68
+ });
69
+ const AssetKey = IDL.Record({
70
+ token: IDL.Opt(IDL.Text),
71
+ collection: IDL.Text,
72
+ owner: IDL.Principal,
73
+ name: IDL.Text,
74
+ full_path: IDL.Text
75
+ });
76
+ const AssetEncodingNoContent = IDL.Record({
77
+ modified: IDL.Nat64,
78
+ sha256: IDL.Vec(IDL.Nat8),
79
+ total_length: IDL.Nat
80
+ });
81
+ const AssetNoContent = IDL.Record({
82
+ key: AssetKey,
83
+ updated_at: IDL.Nat64,
84
+ encodings: IDL.Vec(IDL.Tuple(IDL.Text, AssetEncodingNoContent)),
85
+ headers: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text)),
86
+ created_at: IDL.Nat64
87
+ });
88
+ const ListResults = IDL.Record({
89
+ matches_length: IDL.Nat64,
90
+ length: IDL.Nat64,
91
+ items: IDL.Vec(IDL.Tuple(IDL.Text, AssetNoContent))
92
+ });
93
+ const CustomDomain = IDL.Record({
94
+ updated_at: IDL.Nat64,
95
+ created_at: IDL.Nat64,
96
+ bn_id: IDL.Opt(IDL.Text)
97
+ });
98
+ const ListResults_1 = IDL.Record({
99
+ matches_length: IDL.Nat64,
100
+ length: IDL.Nat64,
101
+ items: IDL.Vec(IDL.Tuple(IDL.Text, Doc))
102
+ });
103
+ const RulesType = IDL.Variant({Db: IDL.Null, Storage: IDL.Null});
104
+ const Permission = IDL.Variant({
105
+ Controllers: IDL.Null,
106
+ Private: IDL.Null,
107
+ Public: IDL.Null,
108
+ Managed: IDL.Null
109
+ });
110
+ const Rule = IDL.Record({
111
+ updated_at: IDL.Nat64,
112
+ max_size: IDL.Opt(IDL.Nat),
113
+ read: Permission,
114
+ created_at: IDL.Nat64,
115
+ write: Permission
116
+ });
117
+ const SetDoc = IDL.Record({
118
+ updated_at: IDL.Opt(IDL.Nat64),
119
+ data: IDL.Vec(IDL.Nat8)
120
+ });
121
+ const SetRule = IDL.Record({
122
+ updated_at: IDL.Opt(IDL.Nat64),
123
+ max_size: IDL.Opt(IDL.Nat),
124
+ read: Permission,
125
+ write: Permission
126
+ });
127
+ const Chunk = IDL.Record({
128
+ content: IDL.Vec(IDL.Nat8),
129
+ batch_id: IDL.Nat
130
+ });
131
+ const UploadChunk = IDL.Record({chunk_id: IDL.Nat});
132
+ return IDL.Service({
133
+ add_controllers: IDL.Func([ControllersArgs], [IDL.Vec(IDL.Principal)], []),
134
+ commit_asset_upload: IDL.Func([CommitBatch], [], []),
135
+ del_asset: IDL.Func([IDL.Text, IDL.Text], [], []),
136
+ del_assets: IDL.Func([IDL.Opt(IDL.Text)], [], []),
137
+ del_custom_domain: IDL.Func([IDL.Text], [], []),
138
+ del_doc: IDL.Func([IDL.Text, IDL.Text, DelDoc], [], []),
139
+ get_config: IDL.Func([], [Config], []),
140
+ get_doc: IDL.Func([IDL.Text, IDL.Text], [IDL.Opt(Doc)], ['query']),
141
+ http_request: IDL.Func([HttpRequest], [HttpResponse], ['query']),
142
+ http_request_streaming_callback: IDL.Func(
143
+ [StreamingCallbackToken],
144
+ [StreamingCallbackHttpResponse],
145
+ ['query']
146
+ ),
147
+ init_asset_upload: IDL.Func([InitAssetKey], [InitUploadResult], []),
148
+ list_assets: IDL.Func([IDL.Opt(IDL.Text), ListParams], [ListResults], ['query']),
149
+ list_controllers: IDL.Func([], [IDL.Vec(IDL.Principal)], ['query']),
150
+ list_custom_domains: IDL.Func([], [IDL.Vec(IDL.Tuple(IDL.Text, CustomDomain))], ['query']),
151
+ list_docs: IDL.Func([IDL.Text, ListParams], [ListResults_1], ['query']),
152
+ list_rules: IDL.Func([RulesType], [IDL.Vec(IDL.Tuple(IDL.Text, Rule))], ['query']),
153
+ remove_controllers: IDL.Func([ControllersArgs], [IDL.Vec(IDL.Principal)], []),
154
+ set_config: IDL.Func([Config], [], []),
155
+ set_custom_domain: IDL.Func([IDL.Text, IDL.Opt(IDL.Text)], [], []),
156
+ set_doc: IDL.Func([IDL.Text, IDL.Text, SetDoc], [Doc], []),
157
+ set_rule: IDL.Func([RulesType, IDL.Text, SetRule], [], []),
158
+ upload_asset_chunk: IDL.Func([Chunk], [UploadChunk], []),
159
+ version: IDL.Func([], [IDL.Text], ['query'])
160
+ });
161
+ };
162
+ export const init = ({IDL}) => {
163
+ return [];
164
+ };
package/dist/esm/index.js CHANGED
@@ -1,2 +1,2 @@
1
- import{a as i,b as s,e as g,f as x}from"./chunk-RNCSYUTB.js";var N=({IDL:t})=>{let e=t.Principal,o=t.Record({freezing_threshold:t.Nat,controllers:t.Vec(t.Principal),memory_allocation:t.Nat,compute_allocation:t.Nat}),r=t.Record({freezing_threshold:t.Opt(t.Nat),controllers:t.Opt(t.Vec(t.Principal)),memory_allocation:t.Opt(t.Nat),compute_allocation:t.Opt(t.Nat)}),n=t.Record({value:t.Text,name:t.Text}),a=t.Record({status:t.Nat,body:t.Vec(t.Nat8),headers:t.Vec(n)}),c=t.Variant({dns_error:t.Null,no_consensus:t.Null,transform_error:t.Null,unreachable:t.Null,bad_tls:t.Null,conn_timeout:t.Null,invalid_url:t.Null,timeout:t.Null}),l=t.Vec(t.Nat8);return t.Service({canister_status:t.Func([t.Record({canister_id:e})],[t.Record({status:t.Variant({stopped:t.Null,stopping:t.Null,running:t.Null}),memory_size:t.Nat,cycles:t.Nat,settings:o,module_hash:t.Opt(t.Vec(t.Nat8))})],[]),create_canister:t.Func([t.Record({settings:t.Opt(r)})],[t.Record({canister_id:e})],[]),delete_canister:t.Func([t.Record({canister_id:e})],[],[]),deposit_cycles:t.Func([t.Record({canister_id:e})],[],[]),http_request:t.Func([t.Record({url:t.Text,method:t.Variant({get:t.Null}),body:t.Opt(t.Vec(t.Nat8)),transform:t.Opt(t.Variant({function:t.Func([a],[a],["query"])})),headers:t.Vec(n)})],[t.Variant({Ok:a,Err:t.Opt(c)})],[]),install_code:t.Func([t.Record({arg:t.Vec(t.Nat8),wasm_module:l,mode:t.Variant({reinstall:t.Null,upgrade:t.Null,install:t.Null}),canister_id:e})],[],[]),provisional_create_canister_with_cycles:t.Func([t.Record({settings:t.Opt(r),amount:t.Opt(t.Nat)})],[t.Record({canister_id:e})],[]),provisional_top_up_canister:t.Func([t.Record({canister_id:e,amount:t.Nat})],[],[]),raw_rand:t.Func([],[t.Vec(t.Nat8)],[]),start_canister:t.Func([t.Record({canister_id:e})],[],[]),stop_canister:t.Func([t.Record({canister_id:e})],[],[]),uninstall_code:t.Func([t.Record({canister_id:e})],[],[]),update_settings:t.Func([t.Record({canister_id:t.Principal,settings:r})],[],[])})};var T=({IDL:t})=>{let e=t.Record({updated_at:t.Nat64,metadata:t.Vec(t.Tuple(t.Text,t.Text)),created_at:t.Nat64,satellite_id:t.Principal}),o=t.Record({e8s:t.Nat64});return t.Service({add_mission_control_controllers:t.Func([t.Vec(t.Principal)],[],[]),add_satellites_controllers:t.Func([t.Vec(t.Principal),t.Vec(t.Principal)],[],[]),create_satellite:t.Func([t.Text],[e],[]),get_user:t.Func([],[t.Principal],["query"]),list_mission_control_controllers:t.Func([],[t.Vec(t.Principal)],["query"]),list_satellites:t.Func([],[t.Vec(t.Tuple(t.Principal,e))],["query"]),remove_mission_control_controllers:t.Func([t.Vec(t.Principal)],[],[]),remove_satellites_controllers:t.Func([t.Vec(t.Principal),t.Vec(t.Principal)],[],[]),top_up:t.Func([t.Principal,o],[],[]),version:t.Func([],[t.Text],["query"])})};var P=({IDL:t})=>{let e=t.Record({controllers:t.Vec(t.Principal)}),o=t.Record({batch_id:t.Nat,headers:t.Vec(t.Tuple(t.Text,t.Text)),chunk_ids:t.Vec(t.Nat)}),r=t.Record({updated_at:t.Opt(t.Nat64)}),n=t.Record({updated_at:t.Nat64,owner:t.Principal,data:t.Vec(t.Nat8),created_at:t.Nat64}),a=t.Record({url:t.Text,method:t.Text,body:t.Vec(t.Nat8),headers:t.Vec(t.Tuple(t.Text,t.Text))}),c=t.Record({token:t.Opt(t.Text),sha256:t.Opt(t.Vec(t.Nat8)),headers:t.Vec(t.Tuple(t.Text,t.Text)),index:t.Nat64,encoding_type:t.Text,full_path:t.Text}),l=t.Variant({Callback:t.Record({token:c,callback:t.Func([],[],[])})}),v=t.Record({body:t.Vec(t.Nat8),headers:t.Vec(t.Tuple(t.Text,t.Text)),streaming_strategy:t.Opt(l),status_code:t.Nat16}),q=t.Record({token:t.Opt(c),body:t.Vec(t.Nat8)}),k=t.Record({token:t.Opt(t.Text),collection:t.Text,name:t.Text,encoding_type:t.Opt(t.Text),full_path:t.Text}),M=t.Record({batch_id:t.Nat}),b=t.Record({desc:t.Bool}),E=t.Record({start_after:t.Opt(t.Text),limit:t.Opt(t.Nat64)}),y=t.Record({order:t.Opt(b),matcher:t.Opt(t.Text),paginate:t.Opt(E)}),U=t.Record({token:t.Opt(t.Text),collection:t.Text,owner:t.Principal,name:t.Text,full_path:t.Text}),z=t.Record({modified:t.Nat64,sha256:t.Vec(t.Nat8),total_length:t.Nat}),H=t.Record({key:U,updated_at:t.Nat64,encodings:t.Vec(t.Tuple(t.Text,z)),headers:t.Vec(t.Tuple(t.Text,t.Text)),created_at:t.Nat64}),K=t.Record({matches_length:t.Nat64,length:t.Nat64,items:t.Vec(t.Tuple(t.Text,H))}),B=t.Record({updated_at:t.Nat64,created_at:t.Nat64,bn_id:t.Opt(t.Text)}),G=t.Record({matches_length:t.Nat64,length:t.Nat64,items:t.Vec(t.Tuple(t.Text,n))}),f=t.Variant({Db:t.Null,Storage:t.Null}),d=t.Variant({Controllers:t.Null,Private:t.Null,Public:t.Null,Managed:t.Null}),j=t.Record({updated_at:t.Nat64,max_size:t.Opt(t.Nat),read:d,created_at:t.Nat64,write:d}),J=t.Variant({Never:t.Null,Always:t.Null}),Q=t.Record({trailing_slash:J}),W=t.Record({storage:Q}),X=t.Record({updated_at:t.Opt(t.Nat64),data:t.Vec(t.Nat8)}),Y=t.Record({updated_at:t.Opt(t.Nat64),max_size:t.Opt(t.Nat),read:d,write:d}),Z=t.Record({content:t.Vec(t.Nat8),batch_id:t.Nat}),$=t.Record({chunk_id:t.Nat});return t.Service({add_controllers:t.Func([e],[t.Vec(t.Principal)],[]),commit_asset_upload:t.Func([o],[],[]),del_asset:t.Func([t.Text,t.Text],[],[]),del_assets:t.Func([t.Opt(t.Text)],[],[]),del_custom_domain:t.Func([t.Text],[],[]),del_doc:t.Func([t.Text,t.Text,r],[],[]),get_doc:t.Func([t.Text,t.Text],[t.Opt(n)],["query"]),http_request:t.Func([a],[v],["query"]),http_request_streaming_callback:t.Func([c],[q],["query"]),init_asset_upload:t.Func([k],[M],[]),list_assets:t.Func([t.Opt(t.Text),y],[K],["query"]),list_controllers:t.Func([],[t.Vec(t.Principal)],["query"]),list_custom_domains:t.Func([],[t.Vec(t.Tuple(t.Text,B))],["query"]),list_docs:t.Func([t.Text,y],[G],["query"]),list_rules:t.Func([f],[t.Vec(t.Tuple(t.Text,j))],["query"]),remove_controllers:t.Func([e],[t.Vec(t.Principal)],[]),set_config:t.Func([W],[],[]),set_custom_domain:t.Func([t.Text,t.Opt(t.Text)],[],[]),set_doc:t.Func([t.Text,t.Text,X],[n],[]),set_rule:t.Func([f,t.Text,Y],[],[]),upload_asset_chunk:t.Func([Z],[$],[]),version:t.Func([],[t.Text],["query"])})};var m=async({canisterId:t,idlFactory:e,identity:o,fetch:r,env:n="prod",config:a})=>{let c=n==="dev"?"http://127.0.0.1:8000/":"https://ic0.app",l=new g({identity:o,...c&&{host:c},...r&&{fetch:r}});return n==="dev"&&await l.fetchRootKey(),x.createActor(e,{agent:l,canisterId:t,...a!==void 0?a:{}})};var p=async({satelliteId:t,...e})=>F({canisterId:t,...e,idlFactory:P}),_=async({missionControlId:t,...e})=>F({canisterId:t,...e,idlFactory:T});var F=async({canisterId:t,idlFactory:e,...o})=>{if(!t)throw new Error("No canister ID provided.");return m({canisterId:t,idlFactory:e,...o})},R=i.fromText("aaaaa-aa"),C=(t,e,o)=>{let r=e[0],n=R;return r&&typeof r=="object"&&r.canister_id&&(n=i.from(r.canister_id)),{effectiveCanisterId:n}},V=t=>m({canisterId:R.toText(),config:{callTransform:C,queryTransform:C},idlFactory:N,...t});var u=async({actor:t,code:e})=>{let{install_code:o}=await V(t);return o({...e,mode:{upgrade:null}})};var A=async({missionControl:t})=>(await _(t)).version(),h=async({missionControl:t})=>(await _(t)).get_user();var Nt=async t=>A(t),Tt=async({missionControl:t,wasm_module:e})=>{let o=await h({missionControl:t}),{missionControlId:r,...n}=t;if(!r)throw new Error("No mission control principal defined.");let a=s.encode([s.Record({user:s.Principal})],[{user:o}]);await u({actor:n,code:{canister_id:i.fromText(r),arg:[...new Uint8Array(a)],wasm_module:e}})};var S=async({config:t,satellite:e})=>(await p(e)).set_config(t),O=async({satellite:t})=>(await p(t)).version(),w=async({satellite:t})=>(await p(t)).list_controllers();var St=async({config:{storage:{trailingSlash:t}},satellite:e})=>S({satellite:e,config:{storage:{trailing_slash:t==="never"?{Never:null}:{Always:null}}}}),Ot=async t=>O(t),wt=async({satellite:t,wasm_module:e})=>{let o=await w({satellite:t}),{satelliteId:r,...n}=t;if(!r)throw new Error("No satellite principal defined.");let a=s.encode([s.Record({controllers:s.Vec(s.Principal)})],[{controllers:o}]);await u({actor:n,code:{canister_id:i.fromText(r),arg:[...new Uint8Array(a)],wasm_module:e}})};export{Nt as missionControlVersion,Ot as satelliteVersion,St as setConfig,Tt as upgradeMissionControl,wt as upgradeSatellite};
1
+ import{a as i,b as c,e as x,f as T}from"./chunk-RNCSYUTB.js";var N=({IDL:t})=>{let e=t.Principal,o=t.Record({freezing_threshold:t.Nat,controllers:t.Vec(t.Principal),memory_allocation:t.Nat,compute_allocation:t.Nat}),r=t.Record({freezing_threshold:t.Opt(t.Nat),controllers:t.Opt(t.Vec(t.Principal)),memory_allocation:t.Opt(t.Nat),compute_allocation:t.Opt(t.Nat)}),n=t.Record({value:t.Text,name:t.Text}),a=t.Record({status:t.Nat,body:t.Vec(t.Nat8),headers:t.Vec(n)}),s=t.Variant({dns_error:t.Null,no_consensus:t.Null,transform_error:t.Null,unreachable:t.Null,bad_tls:t.Null,conn_timeout:t.Null,invalid_url:t.Null,timeout:t.Null}),l=t.Vec(t.Nat8);return t.Service({canister_status:t.Func([t.Record({canister_id:e})],[t.Record({status:t.Variant({stopped:t.Null,stopping:t.Null,running:t.Null}),memory_size:t.Nat,cycles:t.Nat,settings:o,module_hash:t.Opt(t.Vec(t.Nat8))})],[]),create_canister:t.Func([t.Record({settings:t.Opt(r)})],[t.Record({canister_id:e})],[]),delete_canister:t.Func([t.Record({canister_id:e})],[],[]),deposit_cycles:t.Func([t.Record({canister_id:e})],[],[]),http_request:t.Func([t.Record({url:t.Text,method:t.Variant({get:t.Null}),body:t.Opt(t.Vec(t.Nat8)),transform:t.Opt(t.Variant({function:t.Func([a],[a],["query"])})),headers:t.Vec(n)})],[t.Variant({Ok:a,Err:t.Opt(s)})],[]),install_code:t.Func([t.Record({arg:t.Vec(t.Nat8),wasm_module:l,mode:t.Variant({reinstall:t.Null,upgrade:t.Null,install:t.Null}),canister_id:e})],[],[]),provisional_create_canister_with_cycles:t.Func([t.Record({settings:t.Opt(r),amount:t.Opt(t.Nat)})],[t.Record({canister_id:e})],[]),provisional_top_up_canister:t.Func([t.Record({canister_id:e,amount:t.Nat})],[],[]),raw_rand:t.Func([],[t.Vec(t.Nat8)],[]),start_canister:t.Func([t.Record({canister_id:e})],[],[]),stop_canister:t.Func([t.Record({canister_id:e})],[],[]),uninstall_code:t.Func([t.Record({canister_id:e})],[],[]),update_settings:t.Func([t.Record({canister_id:t.Principal,settings:r})],[],[])})};var C=({IDL:t})=>{let e=t.Record({updated_at:t.Nat64,metadata:t.Vec(t.Tuple(t.Text,t.Text)),created_at:t.Nat64,satellite_id:t.Principal}),o=t.Record({e8s:t.Nat64});return t.Service({add_mission_control_controllers:t.Func([t.Vec(t.Principal)],[],[]),add_satellites_controllers:t.Func([t.Vec(t.Principal),t.Vec(t.Principal)],[],[]),create_satellite:t.Func([t.Text],[e],[]),get_user:t.Func([],[t.Principal],["query"]),list_mission_control_controllers:t.Func([],[t.Vec(t.Principal)],["query"]),list_satellites:t.Func([],[t.Vec(t.Tuple(t.Principal,e))],["query"]),remove_mission_control_controllers:t.Func([t.Vec(t.Principal)],[],[]),remove_satellites_controllers:t.Func([t.Vec(t.Principal),t.Vec(t.Principal)],[],[]),top_up:t.Func([t.Principal,o],[],[]),version:t.Func([],[t.Text],["query"])})};var P=({IDL:t})=>{let e=t.Record({controllers:t.Vec(t.Principal)}),o=t.Record({batch_id:t.Nat,headers:t.Vec(t.Tuple(t.Text,t.Text)),chunk_ids:t.Vec(t.Nat)}),r=t.Record({updated_at:t.Opt(t.Nat64)}),n=t.Record({headers:t.Vec(t.Tuple(t.Text,t.Vec(t.Tuple(t.Text,t.Text))))}),a=t.Record({storage:n}),s=t.Record({updated_at:t.Nat64,owner:t.Principal,data:t.Vec(t.Nat8),created_at:t.Nat64}),l=t.Record({url:t.Text,method:t.Text,body:t.Vec(t.Nat8),headers:t.Vec(t.Tuple(t.Text,t.Text))}),m=t.Record({token:t.Opt(t.Text),sha256:t.Opt(t.Vec(t.Nat8)),headers:t.Vec(t.Tuple(t.Text,t.Text)),index:t.Nat64,encoding_type:t.Text,full_path:t.Text}),q=t.Variant({Callback:t.Record({token:m,callback:t.Func([],[],[])})}),k=t.Record({body:t.Vec(t.Nat8),headers:t.Vec(t.Tuple(t.Text,t.Text)),streaming_strategy:t.Opt(q),status_code:t.Nat16}),M=t.Record({token:t.Opt(m),body:t.Vec(t.Nat8)}),b=t.Record({token:t.Opt(t.Text),collection:t.Text,name:t.Text,encoding_type:t.Opt(t.Text),full_path:t.Text}),E=t.Record({batch_id:t.Nat}),H=t.Record({desc:t.Bool}),U=t.Record({start_after:t.Opt(t.Text),limit:t.Opt(t.Nat64)}),f=t.Record({order:t.Opt(H),matcher:t.Opt(t.Text),paginate:t.Opt(U)}),z=t.Record({token:t.Opt(t.Text),collection:t.Text,owner:t.Principal,name:t.Text,full_path:t.Text}),K=t.Record({modified:t.Nat64,sha256:t.Vec(t.Nat8),total_length:t.Nat}),B=t.Record({key:z,updated_at:t.Nat64,encodings:t.Vec(t.Tuple(t.Text,K)),headers:t.Vec(t.Tuple(t.Text,t.Text)),created_at:t.Nat64}),G=t.Record({matches_length:t.Nat64,length:t.Nat64,items:t.Vec(t.Tuple(t.Text,B))}),j=t.Record({updated_at:t.Nat64,created_at:t.Nat64,bn_id:t.Opt(t.Text)}),J=t.Record({matches_length:t.Nat64,length:t.Nat64,items:t.Vec(t.Tuple(t.Text,s))}),g=t.Variant({Db:t.Null,Storage:t.Null}),d=t.Variant({Controllers:t.Null,Private:t.Null,Public:t.Null,Managed:t.Null}),Q=t.Record({updated_at:t.Nat64,max_size:t.Opt(t.Nat),read:d,created_at:t.Nat64,write:d}),W=t.Record({updated_at:t.Opt(t.Nat64),data:t.Vec(t.Nat8)}),X=t.Record({updated_at:t.Opt(t.Nat64),max_size:t.Opt(t.Nat),read:d,write:d}),Y=t.Record({content:t.Vec(t.Nat8),batch_id:t.Nat}),Z=t.Record({chunk_id:t.Nat});return t.Service({add_controllers:t.Func([e],[t.Vec(t.Principal)],[]),commit_asset_upload:t.Func([o],[],[]),del_asset:t.Func([t.Text,t.Text],[],[]),del_assets:t.Func([t.Opt(t.Text)],[],[]),del_custom_domain:t.Func([t.Text],[],[]),del_doc:t.Func([t.Text,t.Text,r],[],[]),get_config:t.Func([],[a],[]),get_doc:t.Func([t.Text,t.Text],[t.Opt(s)],["query"]),http_request:t.Func([l],[k],["query"]),http_request_streaming_callback:t.Func([m],[M],["query"]),init_asset_upload:t.Func([b],[E],[]),list_assets:t.Func([t.Opt(t.Text),f],[G],["query"]),list_controllers:t.Func([],[t.Vec(t.Principal)],["query"]),list_custom_domains:t.Func([],[t.Vec(t.Tuple(t.Text,j))],["query"]),list_docs:t.Func([t.Text,f],[J],["query"]),list_rules:t.Func([g],[t.Vec(t.Tuple(t.Text,Q))],["query"]),remove_controllers:t.Func([e],[t.Vec(t.Principal)],[]),set_config:t.Func([a],[],[]),set_custom_domain:t.Func([t.Text,t.Opt(t.Text)],[],[]),set_doc:t.Func([t.Text,t.Text,W],[s],[]),set_rule:t.Func([g,t.Text,X],[],[]),upload_asset_chunk:t.Func([Y],[Z],[]),version:t.Func([],[t.Text],["query"])})};var _=async({canisterId:t,idlFactory:e,identity:o,fetch:r,env:n="prod",config:a})=>{let s=n==="dev"?"http://127.0.0.1:8000/":"https://ic0.app",l=new x({identity:o,...s&&{host:s},...r&&{fetch:r}});return n==="dev"&&await l.fetchRootKey(),T.createActor(e,{agent:l,canisterId:t,...a!==void 0?a:{}})};var p=async({satelliteId:t,...e})=>R({canisterId:t,...e,idlFactory:P}),y=async({missionControlId:t,...e})=>R({canisterId:t,...e,idlFactory:C});var R=async({canisterId:t,idlFactory:e,...o})=>{if(!t)throw new Error("No canister ID provided.");return _({canisterId:t,idlFactory:e,...o})},V=i.fromText("aaaaa-aa"),F=(t,e,o)=>{let r=e[0],n=V;return r&&typeof r=="object"&&r.canister_id&&(n=i.from(r.canister_id)),{effectiveCanisterId:n}},A=t=>_({canisterId:V.toText(),config:{callTransform:F,queryTransform:F},idlFactory:N,...t});var u=async({actor:t,code:e})=>{let{install_code:o}=await A(t);return o({...e,mode:{upgrade:null}})};var h=async({missionControl:t})=>(await y(t)).version(),S=async({missionControl:t})=>(await y(t)).get_user();var xt=async t=>h(t),Tt=async({missionControl:t,wasm_module:e})=>{let o=await S({missionControl:t}),{missionControlId:r,...n}=t;if(!r)throw new Error("No mission control principal defined.");let a=c.encode([c.Record({user:c.Principal})],[{user:o}]);await u({actor:n,code:{canister_id:i.fromText(r),arg:[...new Uint8Array(a)],wasm_module:e}})};var O=async({config:t,satellite:e})=>(await p(e)).set_config(t),w=async({satellite:t})=>(await p(t)).version(),v=async({satellite:t})=>(await p(t)).list_controllers();var ht=async({config:{storage:{headers:t}},satellite:e})=>{let o=t.map(({source:r,headers:n})=>[r,n]);return O({satellite:e,config:{storage:{headers:o}}})},St=async t=>w(t),Ot=async({satellite:t,wasm_module:e})=>{let o=await v({satellite:t}),{satelliteId:r,...n}=t;if(!r)throw new Error("No satellite principal defined.");let a=c.encode([c.Record({controllers:c.Vec(c.Principal)})],[{controllers:o}]);await u({actor:n,code:{canister_id:i.fromText(r),arg:[...new Uint8Array(a)],wasm_module:e}})};export{xt as missionControlVersion,St as satelliteVersion,ht as setConfig,Tt as upgradeMissionControl,Ot as upgradeSatellite};
2
2
  //# sourceMappingURL=index.js.map