@start9labs/start-sdk 0.3.6-alpha9 → 0.3.6-beta.1

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 (159) hide show
  1. package/base/lib/Effects.d.ts +7 -2
  2. package/base/lib/actions/index.d.ts +5 -4
  3. package/base/lib/actions/index.js.map +1 -1
  4. package/base/lib/actions/input/builder/inputSpec.d.ts +4 -0
  5. package/base/lib/actions/input/builder/inputSpec.js +2 -0
  6. package/base/lib/actions/input/builder/inputSpec.js.map +1 -1
  7. package/base/lib/actions/input/builder/value.d.ts +82 -84
  8. package/base/lib/actions/input/builder/value.js +57 -52
  9. package/base/lib/actions/input/builder/value.js.map +1 -1
  10. package/base/lib/actions/input/builder/variants.d.ts +25 -10
  11. package/base/lib/actions/input/builder/variants.js +2 -3
  12. package/base/lib/actions/input/builder/variants.js.map +1 -1
  13. package/base/lib/actions/input/inputSpecConstants.d.ts +20 -16
  14. package/base/lib/actions/input/inputSpecConstants.js +11 -11
  15. package/base/lib/actions/input/inputSpecConstants.js.map +1 -1
  16. package/base/lib/actions/input/inputSpecTypes.d.ts +0 -2
  17. package/base/lib/actions/input/inputSpecTypes.js.map +1 -1
  18. package/base/lib/actions/setupActions.d.ts +11 -9
  19. package/base/lib/actions/setupActions.js +1 -1
  20. package/base/lib/actions/setupActions.js.map +1 -1
  21. package/base/lib/dependencies/setupDependencies.d.ts +18 -11
  22. package/base/lib/dependencies/setupDependencies.js +3 -10
  23. package/base/lib/dependencies/setupDependencies.js.map +1 -1
  24. package/base/lib/osBindings/AcmeSettings.d.ts +11 -0
  25. package/base/lib/osBindings/AcmeSettings.js +4 -0
  26. package/base/lib/osBindings/AcmeSettings.js.map +1 -0
  27. package/base/lib/osBindings/ActionMetadata.d.ts +24 -0
  28. package/base/lib/osBindings/ActionResultMember.d.ts +34 -0
  29. package/base/lib/osBindings/ActionResultMember.js +4 -0
  30. package/base/lib/osBindings/ActionResultMember.js.map +1 -0
  31. package/base/lib/osBindings/ActionResultV1.d.ts +13 -12
  32. package/base/lib/osBindings/ActionResultV1.js +0 -1
  33. package/base/lib/osBindings/ActionResultV1.js.map +1 -1
  34. package/base/lib/osBindings/ActionResultValue.d.ts +26 -0
  35. package/base/lib/osBindings/ActionResultValue.js +3 -0
  36. package/base/lib/osBindings/ActionResultValue.js.map +1 -0
  37. package/base/lib/osBindings/AddCategoryParams.d.ts +6 -0
  38. package/base/lib/osBindings/AddCategoryParams.js +4 -0
  39. package/base/lib/osBindings/AddCategoryParams.js.map +1 -0
  40. package/base/lib/osBindings/BindInfo.d.ts +2 -2
  41. package/base/lib/osBindings/BuildArg.d.ts +3 -0
  42. package/base/lib/osBindings/BuildArg.js +4 -0
  43. package/base/lib/osBindings/BuildArg.js.map +1 -0
  44. package/base/lib/osBindings/CliSetIconParams.d.ts +3 -0
  45. package/base/lib/osBindings/CliSetIconParams.js +4 -0
  46. package/base/lib/osBindings/CliSetIconParams.js.map +1 -0
  47. package/base/lib/osBindings/DeviceFilter.d.ts +5 -0
  48. package/base/lib/osBindings/DeviceFilter.js +4 -0
  49. package/base/lib/osBindings/DeviceFilter.js.map +1 -0
  50. package/base/lib/osBindings/EditSignerParams.d.ts +11 -0
  51. package/base/lib/osBindings/EditSignerParams.js +3 -0
  52. package/base/lib/osBindings/EditSignerParams.js.map +1 -0
  53. package/base/lib/osBindings/GetStatusParams.d.ts +6 -0
  54. package/base/lib/osBindings/GetStatusParams.js +3 -0
  55. package/base/lib/osBindings/GetStatusParams.js.map +1 -0
  56. package/base/lib/osBindings/GitHash.d.ts +1 -0
  57. package/base/lib/osBindings/GitHash.js +4 -0
  58. package/base/lib/osBindings/GitHash.js.map +1 -0
  59. package/base/lib/osBindings/HardwareRequirements.d.ts +2 -4
  60. package/base/lib/osBindings/HardwareRequirements.js +0 -1
  61. package/base/lib/osBindings/HardwareRequirements.js.map +1 -1
  62. package/base/lib/osBindings/ImageSource.d.ts +6 -2
  63. package/base/lib/osBindings/ImageSource.js +0 -1
  64. package/base/lib/osBindings/ImageSource.js.map +1 -1
  65. package/base/lib/osBindings/IpInfo.d.ts +3 -4
  66. package/base/lib/osBindings/ListPackageSignersParams.d.ts +4 -0
  67. package/base/lib/osBindings/ListPackageSignersParams.js +3 -0
  68. package/base/lib/osBindings/ListPackageSignersParams.js.map +1 -0
  69. package/base/lib/osBindings/LshwDevice.d.ts +7 -0
  70. package/base/lib/osBindings/LshwDevice.js +3 -0
  71. package/base/lib/osBindings/LshwDevice.js.map +1 -0
  72. package/base/lib/osBindings/LshwDisplay.d.ts +3 -0
  73. package/base/lib/osBindings/LshwDisplay.js +4 -0
  74. package/base/lib/osBindings/LshwDisplay.js.map +1 -0
  75. package/base/lib/osBindings/LshwProcessor.d.ts +3 -0
  76. package/base/lib/osBindings/LshwProcessor.js +4 -0
  77. package/base/lib/osBindings/LshwProcessor.js.map +1 -0
  78. package/base/lib/osBindings/Manifest.d.ts +2 -1
  79. package/base/lib/osBindings/NetInfo.d.ts +5 -0
  80. package/base/lib/osBindings/NetInfo.js +4 -0
  81. package/base/lib/osBindings/NetInfo.js.map +1 -0
  82. package/base/lib/osBindings/NetworkInterfaceInfo.d.ts +5 -0
  83. package/base/lib/osBindings/NetworkInterfaceInfo.js +3 -0
  84. package/base/lib/osBindings/NetworkInterfaceInfo.js.map +1 -0
  85. package/base/lib/osBindings/PackageSignerParams.d.ts +6 -0
  86. package/base/lib/osBindings/PackageSignerParams.js +3 -0
  87. package/base/lib/osBindings/PackageSignerParams.js.map +1 -0
  88. package/base/lib/osBindings/PackageVersionInfo.d.ts +2 -1
  89. package/base/lib/osBindings/RemoveCategoryParams.d.ts +3 -0
  90. package/base/lib/osBindings/RemoveCategoryParams.js +4 -0
  91. package/base/lib/osBindings/RemoveCategoryParams.js.map +1 -0
  92. package/base/lib/osBindings/ServerInfo.d.ts +10 -4
  93. package/base/lib/osBindings/SetIconParams.d.ts +4 -0
  94. package/base/lib/osBindings/SetIconParams.js +3 -0
  95. package/base/lib/osBindings/SetIconParams.js.map +1 -0
  96. package/base/lib/osBindings/SetNameParams.d.ts +3 -0
  97. package/base/lib/osBindings/SetNameParams.js +4 -0
  98. package/base/lib/osBindings/SetNameParams.js.map +1 -0
  99. package/base/lib/osBindings/SetPublicParams.d.ts +4 -0
  100. package/base/lib/osBindings/SetPublicParams.js +4 -0
  101. package/base/lib/osBindings/SetPublicParams.js.map +1 -0
  102. package/base/lib/osBindings/SetupResult.d.ts +1 -0
  103. package/base/lib/osBindings/UnsetPublicParams.d.ts +3 -0
  104. package/base/lib/osBindings/UnsetPublicParams.js +4 -0
  105. package/base/lib/osBindings/UnsetPublicParams.js.map +1 -0
  106. package/base/lib/osBindings/index.d.ts +22 -1
  107. package/base/lib/types/ManifestTypes.d.ts +14 -8
  108. package/base/lib/types.d.ts +3 -2
  109. package/base/lib/types.js.map +1 -1
  110. package/package/lib/StartSdk.d.ts +254 -198
  111. package/package/lib/StartSdk.js +143 -97
  112. package/package/lib/StartSdk.js.map +1 -1
  113. package/package/lib/backup/Backups.d.ts +4 -26
  114. package/package/lib/backup/Backups.js +0 -22
  115. package/package/lib/backup/Backups.js.map +1 -1
  116. package/package/lib/backup/setupBackups.d.ts +2 -2
  117. package/package/lib/health/checkFns/checkPortListening.js +0 -1
  118. package/package/lib/health/checkFns/checkPortListening.js.map +1 -1
  119. package/package/lib/index.d.ts +1 -1
  120. package/package/lib/index.js +2 -1
  121. package/package/lib/index.js.map +1 -1
  122. package/package/lib/inits/setupInit.d.ts +1 -1
  123. package/package/lib/inits/setupInit.js.map +1 -1
  124. package/package/lib/inits/setupInstall.d.ts +4 -4
  125. package/package/lib/inits/setupUninstall.d.ts +4 -4
  126. package/package/lib/mainFn/CommandController.d.ts +3 -3
  127. package/package/lib/mainFn/CommandController.js +6 -0
  128. package/package/lib/mainFn/CommandController.js.map +1 -1
  129. package/package/lib/mainFn/Daemon.d.ts +3 -3
  130. package/package/lib/mainFn/Daemons.d.ts +32 -6
  131. package/package/lib/mainFn/Daemons.js.map +1 -1
  132. package/package/lib/mainFn/Mounts.d.ts +29 -5
  133. package/package/lib/mainFn/Mounts.js +27 -3
  134. package/package/lib/mainFn/Mounts.js.map +1 -1
  135. package/package/lib/mainFn/index.d.ts +1 -1
  136. package/package/lib/manifest/setupManifest.d.ts +7 -3
  137. package/package/lib/manifest/setupManifest.js +11 -7
  138. package/package/lib/manifest/setupManifest.js.map +1 -1
  139. package/package/lib/store/setupExposeStore.js.map +1 -1
  140. package/package/lib/test/inputSpecBuilder.test.js +40 -31
  141. package/package/lib/test/inputSpecBuilder.test.js.map +1 -1
  142. package/package/lib/test/output.d.ts +72 -30
  143. package/package/lib/test/output.js +31 -41
  144. package/package/lib/test/output.js.map +1 -1
  145. package/package/lib/test/output.sdk.d.ts +307 -107
  146. package/package/lib/test/output.sdk.js +10 -10
  147. package/package/lib/test/output.sdk.js.map +1 -1
  148. package/package/lib/test/output.test.js +1 -1
  149. package/package/lib/test/output.test.js.map +1 -1
  150. package/package/lib/trigger/defaultTrigger.js.map +1 -1
  151. package/package/lib/util/SubContainer.d.ts +6 -3
  152. package/package/lib/util/SubContainer.js +7 -14
  153. package/package/lib/util/SubContainer.js.map +1 -1
  154. package/package/lib/util/fileHelper.d.ts +32 -14
  155. package/package/lib/util/fileHelper.js +53 -33
  156. package/package/lib/util/fileHelper.js.map +1 -1
  157. package/package/scripts/oldSpecToBuilder.js +11 -27
  158. package/package/scripts/oldSpecToBuilder.js.map +1 -1
  159. package/package.json +4 -4
@@ -1,4 +1,5 @@
1
1
  /// <reference types="node" />
2
+ import { CurrentDependenciesResult } from "../../../base/lib/dependencies/setupDependencies";
2
3
  import { VersionGraph } from "../version/VersionGraph";
3
4
  export type Manifest = any;
4
5
  export declare const sdk: {
@@ -8,15 +9,15 @@ export declare const sdk: {
8
9
  actionId: string;
9
10
  input?: import("../../../base/lib/actions").RunActionInput<Input> | undefined;
10
11
  }) => Promise<import("../../../base/lib/osBindings").ActionResult | null>;
11
- request: <T extends import("../../../base/lib/actions/setupActions").Action<string, any, any, Record<string, unknown>>>(effects: import("../../../base/lib/Effects").Effects, packageId: string, action: T, severity: import("../../../base/lib/osBindings").ActionSeverity, options?: import("../../../base/lib/actions").ActionRequestOptions<T> | undefined) => Promise<null>;
12
+ request: <T extends import("../../../base/lib/actions/setupActions").Action<string, any, any>>(effects: import("../../../base/lib/Effects").Effects, packageId: string, action: T, severity: import("../../../base/lib/osBindings").ActionSeverity, options?: import("../../../base/lib/actions").ActionRequestOptions<T> | undefined) => Promise<null>;
12
13
  requestOwn: <T_1 extends import("../../../base/lib/actions/setupActions").Action<string, {
13
14
  storeRoot: {
14
15
  storeLeaf: "value";
15
16
  };
16
- }, any, Record<string, unknown>>>(effects: import("../../../base/lib/Effects").Effects, action: T_1, severity: import("../../../base/lib/osBindings").ActionSeverity, options?: import("../../../base/lib/actions").ActionRequestOptions<T_1> | undefined) => Promise<null>;
17
+ }, any>>(effects: import("../../../base/lib/Effects").Effects, action: T_1, severity: import("../../../base/lib/osBindings").ActionSeverity, options?: import("../../../base/lib/actions").ActionRequestOptions<T_1> | undefined) => Promise<null>;
17
18
  clearRequest: (effects: import("../../../base/lib/Effects").Effects, ...replayIds: string[]) => Promise<null>;
18
19
  };
19
- checkDependencies: <DependencyId extends string = string>(effects: import("../../../base/lib/Effects").Effects, packageIds?: DependencyId[] | undefined) => Promise<import("../../../base/lib/dependencies/dependencies").CheckDependencies<DependencyId>>;
20
+ checkDependencies: <DependencyId extends "remote-test" = "remote-test">(effects: import("../../../base/lib/Effects").Effects, packageIds?: DependencyId[] | undefined) => Promise<import("../../../base/lib/dependencies/dependencies").CheckDependencies<DependencyId>>;
20
21
  serviceInterface: {
21
22
  getOwn: <E extends import("../../../base/lib/Effects").Effects>(effects: E, id: string) => import("../util").GetServiceInterface;
22
23
  get: <E_1 extends import("../../../base/lib/Effects").Effects>(effects: E_1, opts: {
@@ -62,7 +63,7 @@ export declare const sdk: {
62
63
  };
63
64
  nullIfEmpty: typeof import("../util").nullIfEmpty;
64
65
  runCommand: <A extends string>(effects: import("../../../base/lib/Effects").Effects, image: {
65
- id: string;
66
+ id: "main";
66
67
  sharedRun?: boolean | undefined;
67
68
  }, command: import("../../../base/lib/types").CommandType, options: import("../util/SubContainer").CommandOptions & {
68
69
  mounts?: {
@@ -74,28 +75,32 @@ export declare const sdk: {
74
75
  stderr: string | Buffer;
75
76
  }>;
76
77
  Action: {
77
- withInput: <Id extends string, InputSpecType extends Record<string, any> | import("../../../base/lib/actions/input/builder").InputSpec<any, never> | import("../../../base/lib/actions/input/builder").InputSpec<any, any>, Type extends import("../../../base/lib/actions/input/builder/inputSpec").ExtractInputSpecType<InputSpecType> = import("../../../base/lib/actions/input/builder/inputSpec").ExtractInputSpecType<InputSpecType>>(id: Id, metadata: import("../../../base/lib/actions/setupActions").MaybeFn<Omit<import("../../../base/lib/osBindings").ActionMetadata, "hasInput">>, inputSpec: InputSpecType, getInput: import("../../../base/lib/actions/setupActions").GetInput<Type>, run: import("../../../base/lib/actions/setupActions").Run<Type>) => import("../../../base/lib/actions/setupActions").Action<Id, unknown, InputSpecType, Type>;
78
- withoutInput: <Id_1 extends string>(id: Id_1, metadata: import("../../../base/lib/actions/setupActions").MaybeFn<Omit<import("../../../base/lib/osBindings").ActionMetadata, "hasInput">>, run: import("../../../base/lib/actions/setupActions").Run<{}>) => import("../../../base/lib/actions/setupActions").Action<Id_1, unknown, {}, {}>;
78
+ withInput: <Id extends string, InputSpecType extends Record<string, any> | import("../../../base/lib/actions/input/builder").InputSpec<any, never> | import("../../../base/lib/actions/input/builder").InputSpec<any, any>, Type extends import("../../../base/lib/actions/input/builder/inputSpec").ExtractInputSpecType<InputSpecType> = import("../../../base/lib/actions/input/builder/inputSpec").ExtractInputSpecType<InputSpecType>>(id: Id, metadata: import("../../../base/lib/actions/setupActions").MaybeFn<Omit<import("../../../base/lib/osBindings").ActionMetadata, "hasInput">>, inputSpec: InputSpecType, getInput: import("../../../base/lib/actions/setupActions").GetInput<Type>, run: import("../../../base/lib/actions/setupActions").Run<Type>) => import("../../../base/lib/actions/setupActions").Action<Id, unknown, InputSpecType>;
79
+ withoutInput: <Id_1 extends string>(id: Id_1, metadata: import("../../../base/lib/actions/setupActions").MaybeFn<Omit<import("../../../base/lib/osBindings").ActionMetadata, "hasInput">>, run: import("../../../base/lib/actions/setupActions").Run<{}>) => import("../../../base/lib/actions/setupActions").Action<Id_1, unknown, {}>;
79
80
  };
80
81
  inputSpecConstants: {
81
- smtpInputSpec: import("../../../base/lib/actions/input/builder").Value<{
82
- selection: "disabled";
83
- value: {};
84
- } | {
85
- selection: "system";
86
- value: {
87
- customFrom: string | null | undefined;
88
- };
89
- } | {
90
- selection: "custom";
91
- value: {
92
- server: string;
93
- port: number;
94
- from: string;
95
- login: string;
96
- password: string | null | undefined;
82
+ smtpInputSpec: import("../../../base/lib/actions/input/builder").Value<import("../../../base/lib/actions/input/builder/variants").UnionRes<never, {
83
+ disabled: {
84
+ name: string;
85
+ spec: import("../../../base/lib/actions/input/builder").InputSpec<{}, Store>;
97
86
  };
98
- }, never>;
87
+ system: {
88
+ name: string;
89
+ spec: import("../../../base/lib/actions/input/builder").InputSpec<{
90
+ customFrom: string | null;
91
+ }, Store>;
92
+ };
93
+ custom: {
94
+ name: string;
95
+ spec: import("../../../base/lib/actions/input/builder").InputSpec<{
96
+ server: string;
97
+ port: number;
98
+ from: string;
99
+ login: string;
100
+ password: string | null | undefined;
101
+ }, never>;
102
+ };
103
+ }, "disabled" | "system" | "custom">, never>;
99
104
  };
100
105
  createInterface: (effects: import("../../../base/lib/Effects").Effects, options: {
101
106
  name: string;
@@ -115,17 +120,7 @@ export declare const sdk: {
115
120
  getSystemSmtp: <E_7 extends import("../../../base/lib/Effects").Effects>(effects: E_7) => import("../util").GetSystemSmtp;
116
121
  getSslCerificate: <E_8 extends import("../../../base/lib/Effects").Effects>(effects: E_8, hostnames: string[], algorithm?: import("../../../base/lib/osBindings").Algorithm | undefined) => import("../util").GetSslCertificate;
117
122
  HealthCheck: {
118
- of(o: import("../health/HealthCheck").HealthCheckParams): import("../../../base/lib/types").HealthReceipt;
119
- };
120
- Dependency: {
121
- of(data: {
122
- type: "running";
123
- versionRange: import("..").VersionRange;
124
- healthChecks: string[];
125
- } | {
126
- type: "exists";
127
- versionRange: import("..").VersionRange;
128
- }): import("../../../base/lib/dependencies/Dependency").Dependency;
123
+ of(effects: import("../../../base/lib/Effects").Effects, o: Omit<import("../health/HealthCheck").HealthCheckParams, "effects">): import("../../../base/lib/types").HealthReceipt;
129
124
  };
130
125
  healthCheck: {
131
126
  checkPortListening: typeof import("../health/checkFns").checkPortListening;
@@ -147,7 +142,7 @@ export declare const sdk: {
147
142
  storeLeaf: "value";
148
143
  };
149
144
  }, {}>;
150
- of<Store>(): import("../../../base/lib/actions/setupActions").Actions<Store, {}>;
145
+ of<Store_1>(): import("../../../base/lib/actions/setupActions").Actions<Store_1, {}>;
151
146
  };
152
147
  setupBackups: (options: import("../backup/setupBackups").SetupBackupsParams<{
153
148
  id: "testOutput";
@@ -164,7 +159,15 @@ export declare const sdk: {
164
159
  long: string;
165
160
  };
166
161
  containers: {};
167
- images: {};
162
+ images: {
163
+ main: {
164
+ source: {
165
+ dockerTag: string;
166
+ };
167
+ arch: ["aarch64", "x86_64"];
168
+ emulateMissingAs: "aarch64";
169
+ };
170
+ };
168
171
  volumes: never[];
169
172
  assets: never[];
170
173
  alerts: {
@@ -182,19 +185,54 @@ export declare const sdk: {
182
185
  s9pk: string;
183
186
  };
184
187
  };
185
- } & import("../../../base/lib/osBindings").Manifest>) => {
188
+ }>) => {
186
189
  createBackup: import("../../../base/lib/types").ExpectedExports.createBackup;
187
190
  restoreBackup: import("../../../base/lib/types").ExpectedExports.restoreBackup;
188
191
  };
189
192
  setupDependencies: (fn: (options: {
190
193
  effects: import("../../../base/lib/Effects").Effects;
191
- }) => Promise<{
192
- [x: string]: import("../../../base/lib/dependencies/Dependency").Dependency;
193
- "remote-test": import("../../../base/lib/dependencies/Dependency").Dependency;
194
- } & {
195
- [x: string]: import("../../../base/lib/dependencies/Dependency").Dependency | undefined;
196
- "remote-test"?: import("../../../base/lib/dependencies/Dependency").Dependency | undefined;
197
- }>) => (options: {
194
+ }) => Promise<CurrentDependenciesResult<{
195
+ id: "testOutput";
196
+ title: string;
197
+ license: string;
198
+ replaces: never[];
199
+ wrapperRepo: string;
200
+ upstreamRepo: string;
201
+ supportSite: string;
202
+ marketingSite: string;
203
+ donationUrl: null;
204
+ description: {
205
+ short: string;
206
+ long: string;
207
+ };
208
+ containers: {};
209
+ images: {
210
+ main: {
211
+ source: {
212
+ dockerTag: string;
213
+ };
214
+ arch: ["aarch64", "x86_64"];
215
+ emulateMissingAs: "aarch64";
216
+ };
217
+ };
218
+ volumes: never[];
219
+ assets: never[];
220
+ alerts: {
221
+ install: null;
222
+ update: null;
223
+ uninstall: null;
224
+ restore: null;
225
+ start: null;
226
+ stop: null;
227
+ };
228
+ dependencies: {
229
+ "remote-test": {
230
+ description: string;
231
+ optional: false;
232
+ s9pk: string;
233
+ };
234
+ };
235
+ }>>) => (options: {
198
236
  effects: import("../../../base/lib/Effects").Effects;
199
237
  }) => Promise<null>;
200
238
  setupInit: (versions: VersionGraph<string>, install: import("../inits/setupInstall").Install<{
@@ -212,7 +250,15 @@ export declare const sdk: {
212
250
  long: string;
213
251
  };
214
252
  containers: {};
215
- images: {};
253
+ images: {
254
+ main: {
255
+ source: {
256
+ dockerTag: string;
257
+ };
258
+ arch: ["aarch64", "x86_64"];
259
+ emulateMissingAs: "aarch64";
260
+ };
261
+ };
216
262
  volumes: never[];
217
263
  assets: never[];
218
264
  alerts: {
@@ -230,7 +276,7 @@ export declare const sdk: {
230
276
  s9pk: string;
231
277
  };
232
278
  };
233
- } & import("../../../base/lib/osBindings").Manifest, {
279
+ }, {
234
280
  storeRoot: {
235
281
  storeLeaf: "value";
236
282
  };
@@ -249,7 +295,15 @@ export declare const sdk: {
249
295
  long: string;
250
296
  };
251
297
  containers: {};
252
- images: {};
298
+ images: {
299
+ main: {
300
+ source: {
301
+ dockerTag: string;
302
+ };
303
+ arch: ["aarch64", "x86_64"];
304
+ emulateMissingAs: "aarch64";
305
+ };
306
+ };
253
307
  volumes: never[];
254
308
  assets: never[];
255
309
  alerts: {
@@ -267,7 +321,7 @@ export declare const sdk: {
267
321
  s9pk: string;
268
322
  };
269
323
  };
270
- } & import("../../../base/lib/osBindings").Manifest, {
324
+ }, {
271
325
  storeRoot: {
272
326
  storeLeaf: "value";
273
327
  };
@@ -297,7 +351,15 @@ export declare const sdk: {
297
351
  long: string;
298
352
  };
299
353
  containers: {};
300
- images: {};
354
+ images: {
355
+ main: {
356
+ source: {
357
+ dockerTag: string;
358
+ };
359
+ arch: ["aarch64", "x86_64"];
360
+ emulateMissingAs: "aarch64";
361
+ };
362
+ };
301
363
  volumes: never[];
302
364
  assets: never[];
303
365
  alerts: {
@@ -315,7 +377,7 @@ export declare const sdk: {
315
377
  s9pk: string;
316
378
  };
317
379
  };
318
- } & import("../../../base/lib/osBindings").Manifest, {
380
+ }, {
319
381
  storeRoot: {
320
382
  storeLeaf: "value";
321
383
  };
@@ -334,7 +396,15 @@ export declare const sdk: {
334
396
  long: string;
335
397
  };
336
398
  containers: {};
337
- images: {};
399
+ images: {
400
+ main: {
401
+ source: {
402
+ dockerTag: string;
403
+ };
404
+ arch: ["aarch64", "x86_64"];
405
+ emulateMissingAs: "aarch64";
406
+ };
407
+ };
338
408
  volumes: never[];
339
409
  assets: never[];
340
410
  alerts: {
@@ -352,7 +422,7 @@ export declare const sdk: {
352
422
  s9pk: string;
353
423
  };
354
424
  };
355
- } & import("../../../base/lib/osBindings").Manifest, {
425
+ }, {
356
426
  storeRoot: {
357
427
  storeLeaf: "value";
358
428
  };
@@ -376,7 +446,15 @@ export declare const sdk: {
376
446
  long: string;
377
447
  };
378
448
  containers: {};
379
- images: {};
449
+ images: {
450
+ main: {
451
+ source: {
452
+ dockerTag: string;
453
+ };
454
+ arch: ["aarch64", "x86_64"];
455
+ emulateMissingAs: "aarch64";
456
+ };
457
+ };
380
458
  volumes: never[];
381
459
  assets: never[];
382
460
  alerts: {
@@ -394,7 +472,7 @@ export declare const sdk: {
394
472
  s9pk: string;
395
473
  };
396
474
  };
397
- } & import("../../../base/lib/osBindings").Manifest, any>>) => import("../../../base/lib/types").ExpectedExports.main;
475
+ }, any>>) => import("../../../base/lib/types").ExpectedExports.main;
398
476
  setupUninstall: (fn: import("../inits/setupUninstall").UninstallFn<{
399
477
  id: "testOutput";
400
478
  title: string;
@@ -410,7 +488,15 @@ export declare const sdk: {
410
488
  long: string;
411
489
  };
412
490
  containers: {};
413
- images: {};
491
+ images: {
492
+ main: {
493
+ source: {
494
+ dockerTag: string;
495
+ };
496
+ arch: ["aarch64", "x86_64"];
497
+ emulateMissingAs: "aarch64";
498
+ };
499
+ };
414
500
  volumes: never[];
415
501
  assets: never[];
416
502
  alerts: {
@@ -428,7 +514,7 @@ export declare const sdk: {
428
514
  s9pk: string;
429
515
  };
430
516
  };
431
- } & import("../../../base/lib/osBindings").Manifest, {
517
+ }, {
432
518
  storeRoot: {
433
519
  storeLeaf: "value";
434
520
  };
@@ -447,7 +533,15 @@ export declare const sdk: {
447
533
  long: string;
448
534
  };
449
535
  containers: {};
450
- images: {};
536
+ images: {
537
+ main: {
538
+ source: {
539
+ dockerTag: string;
540
+ };
541
+ arch: ["aarch64", "x86_64"];
542
+ emulateMissingAs: "aarch64";
543
+ };
544
+ };
451
545
  volumes: never[];
452
546
  assets: never[];
453
547
  alerts: {
@@ -465,7 +559,7 @@ export declare const sdk: {
465
559
  s9pk: string;
466
560
  };
467
561
  };
468
- } & import("../../../base/lib/osBindings").Manifest, {
562
+ }, {
469
563
  storeRoot: {
470
564
  storeLeaf: "value";
471
565
  };
@@ -495,7 +589,15 @@ export declare const sdk: {
495
589
  long: string;
496
590
  };
497
591
  containers: {};
498
- images: {};
592
+ images: {
593
+ main: {
594
+ source: {
595
+ dockerTag: string;
596
+ };
597
+ arch: ["aarch64", "x86_64"];
598
+ emulateMissingAs: "aarch64";
599
+ };
600
+ };
499
601
  volumes: never[];
500
602
  assets: never[];
501
603
  alerts: {
@@ -513,7 +615,7 @@ export declare const sdk: {
513
615
  s9pk: string;
514
616
  };
515
617
  };
516
- } & import("../../../base/lib/osBindings").Manifest>;
618
+ }>;
517
619
  };
518
620
  Backups: {
519
621
  volumes: (...volumeNames: never[]) => import("../backup/Backups").Backups<{
@@ -531,7 +633,15 @@ export declare const sdk: {
531
633
  long: string;
532
634
  };
533
635
  containers: {};
534
- images: {};
636
+ images: {
637
+ main: {
638
+ source: {
639
+ dockerTag: string;
640
+ };
641
+ arch: ["aarch64", "x86_64"];
642
+ emulateMissingAs: "aarch64";
643
+ };
644
+ };
535
645
  volumes: never[];
536
646
  assets: never[];
537
647
  alerts: {
@@ -549,7 +659,7 @@ export declare const sdk: {
549
659
  s9pk: string;
550
660
  };
551
661
  };
552
- } & import("../../../base/lib/osBindings").Manifest>;
662
+ }>;
553
663
  addSets: (...options: import("../backup/Backups").BackupSync<never>[]) => import("../backup/Backups").Backups<{
554
664
  id: "testOutput";
555
665
  title: string;
@@ -565,7 +675,15 @@ export declare const sdk: {
565
675
  long: string;
566
676
  };
567
677
  containers: {};
568
- images: {};
678
+ images: {
679
+ main: {
680
+ source: {
681
+ dockerTag: string;
682
+ };
683
+ arch: ["aarch64", "x86_64"];
684
+ emulateMissingAs: "aarch64";
685
+ };
686
+ };
569
687
  volumes: never[];
570
688
  assets: never[];
571
689
  alerts: {
@@ -583,7 +701,7 @@ export declare const sdk: {
583
701
  s9pk: string;
584
702
  };
585
703
  };
586
- } & import("../../../base/lib/osBindings").Manifest>;
704
+ }>;
587
705
  withOptions: (options?: Partial<import("../../../base/lib/types").SyncOptions> | undefined) => import("../backup/Backups").Backups<{
588
706
  id: "testOutput";
589
707
  title: string;
@@ -599,7 +717,15 @@ export declare const sdk: {
599
717
  long: string;
600
718
  };
601
719
  containers: {};
602
- images: {};
720
+ images: {
721
+ main: {
722
+ source: {
723
+ dockerTag: string;
724
+ };
725
+ arch: ["aarch64", "x86_64"];
726
+ emulateMissingAs: "aarch64";
727
+ };
728
+ };
603
729
  volumes: never[];
604
730
  assets: never[];
605
731
  alerts: {
@@ -617,7 +743,7 @@ export declare const sdk: {
617
743
  s9pk: string;
618
744
  };
619
745
  };
620
- } & import("../../../base/lib/osBindings").Manifest>;
746
+ }>;
621
747
  };
622
748
  InputSpec: {
623
749
  of: <Spec extends Record<string, import("../../../base/lib/actions/input/builder").Value<any, never> | import("../../../base/lib/actions/input/builder").Value<any, {
@@ -635,11 +761,7 @@ export declare const sdk: {
635
761
  }>;
636
762
  };
637
763
  Daemons: {
638
- of(options: {
639
- effects: import("../../../base/lib/Effects").Effects;
640
- started: (onTerm: () => PromiseLike<void>) => PromiseLike<null>;
641
- healthReceipts: import("../../../base/lib/types").HealthReceipt[];
642
- }): import("..").Daemons<{
764
+ of(effects: import("../../../base/lib/Effects").Effects, started: (onTerm: () => PromiseLike<void>) => PromiseLike<null>, healthReceipts: import("../../../base/lib/types").HealthReceipt[]): import("..").Daemons<{
643
765
  id: "testOutput";
644
766
  title: string;
645
767
  license: string;
@@ -654,7 +776,15 @@ export declare const sdk: {
654
776
  long: string;
655
777
  };
656
778
  containers: {};
657
- images: {};
779
+ images: {
780
+ main: {
781
+ source: {
782
+ dockerTag: string;
783
+ };
784
+ arch: ["aarch64", "x86_64"];
785
+ emulateMissingAs: "aarch64";
786
+ };
787
+ };
658
788
  volumes: never[];
659
789
  assets: never[];
660
790
  alerts: {
@@ -672,7 +802,7 @@ export declare const sdk: {
672
802
  s9pk: string;
673
803
  };
674
804
  };
675
- } & import("../../../base/lib/osBindings").Manifest, never>;
805
+ }, never>;
676
806
  };
677
807
  List: {
678
808
  text: typeof import("../../../base/lib/actions/input/builder").List.text;
@@ -744,6 +874,7 @@ export declare const sdk: {
744
874
  object: typeof import("../../../base/lib/actions/input/builder").Value.object;
745
875
  union: typeof import("../../../base/lib/actions/input/builder").Value.union;
746
876
  list: typeof import("../../../base/lib/actions/input/builder").Value.list;
877
+ hidden: typeof import("../../../base/lib/actions/input/builder").Value.hidden;
747
878
  dynamicToggle: (a: import("../../../base/lib/actions/input/builder/inputSpec").LazyBuild<{
748
879
  storeRoot: {
749
880
  storeLeaf: "value";
@@ -767,7 +898,8 @@ export declare const sdk: {
767
898
  name: string;
768
899
  description?: string | null | undefined;
769
900
  warning?: string | null | undefined;
770
- required: import("../../../base/lib/actions/input/builder/value").RequiredDefault<import("../../../base/lib/actions/input/inputSpecTypes").DefaultString>;
901
+ default: import("../../../base/lib/actions/input/inputSpecTypes").DefaultString | null;
902
+ required: boolean;
771
903
  masked?: boolean | undefined;
772
904
  placeholder?: string | null | undefined;
773
905
  minLength?: number | null | undefined;
@@ -775,7 +907,7 @@ export declare const sdk: {
775
907
  patterns?: import("../../../base/lib/actions/input/inputSpecTypes").Pattern[] | undefined;
776
908
  inputmode?: "text" | "email" | "tel" | "url" | undefined;
777
909
  generate?: import("../../../base/lib/actions/input/inputSpecTypes").RandomString | null | undefined;
778
- }>) => import("../../../base/lib/actions/input/builder").Value<string | null | undefined, {
910
+ }>) => import("../../../base/lib/actions/input/builder").Value<string | null, {
779
911
  storeRoot: {
780
912
  storeLeaf: "value";
781
913
  };
@@ -788,13 +920,13 @@ export declare const sdk: {
788
920
  name: string;
789
921
  description?: string | null | undefined;
790
922
  warning?: string | null | undefined;
923
+ default: string | null;
791
924
  required: boolean;
792
925
  minLength?: number | null | undefined;
793
926
  maxLength?: number | null | undefined;
794
927
  placeholder?: string | null | undefined;
795
928
  disabled?: string | false | undefined;
796
- generate?: import("../../../base/lib/actions/input/inputSpecTypes").RandomString | null | undefined;
797
- }>) => import("../../../base/lib/actions/input/builder").Value<string, {
929
+ }>) => import("../../../base/lib/actions/input/builder").Value<string | null, {
798
930
  storeRoot: {
799
931
  storeLeaf: "value";
800
932
  };
@@ -807,7 +939,8 @@ export declare const sdk: {
807
939
  name: string;
808
940
  description?: string | null | undefined;
809
941
  warning?: string | null | undefined;
810
- required: import("../../../base/lib/actions/input/builder/value").RequiredDefault<number>;
942
+ default: number | null;
943
+ required: boolean;
811
944
  min?: number | null | undefined;
812
945
  max?: number | null | undefined;
813
946
  step?: number | null | undefined;
@@ -815,7 +948,7 @@ export declare const sdk: {
815
948
  units?: string | null | undefined;
816
949
  placeholder?: string | null | undefined;
817
950
  disabled?: string | false | undefined;
818
- }>) => import("../../../base/lib/actions/input/builder").Value<number | null | undefined, {
951
+ }>) => import("../../../base/lib/actions/input/builder").Value<number | null, {
819
952
  storeRoot: {
820
953
  storeLeaf: "value";
821
954
  };
@@ -828,9 +961,10 @@ export declare const sdk: {
828
961
  name: string;
829
962
  description?: string | null | undefined;
830
963
  warning?: string | null | undefined;
831
- required: import("../../../base/lib/actions/input/builder/value").RequiredDefault<string>;
964
+ default: string | null;
965
+ required: boolean;
832
966
  disabled?: string | false | undefined;
833
- }>) => import("../../../base/lib/actions/input/builder").Value<string | null | undefined, {
967
+ }>) => import("../../../base/lib/actions/input/builder").Value<string | null, {
834
968
  storeRoot: {
835
969
  storeLeaf: "value";
836
970
  };
@@ -843,17 +977,18 @@ export declare const sdk: {
843
977
  name: string;
844
978
  description?: string | null | undefined;
845
979
  warning?: string | null | undefined;
846
- required: import("../../../base/lib/actions/input/builder/value").RequiredDefault<string>;
980
+ default: string;
981
+ required: boolean;
847
982
  inputmode?: "date" | "time" | "datetime-local" | undefined;
848
983
  min?: string | null | undefined;
849
984
  max?: string | null | undefined;
850
985
  disabled?: string | false | undefined;
851
- }>) => import("../../../base/lib/actions/input/builder").Value<string | null | undefined, {
986
+ }>) => import("../../../base/lib/actions/input/builder").Value<string | null, {
852
987
  storeRoot: {
853
988
  storeLeaf: "value";
854
989
  };
855
990
  }>;
856
- dynamicSelect: (getA: import("../../../base/lib/actions/input/builder/inputSpec").LazyBuild<{
991
+ dynamicSelect: <Variants extends Record<string, string>>(getA: import("../../../base/lib/actions/input/builder/inputSpec").LazyBuild<{
857
992
  storeRoot: {
858
993
  storeLeaf: "value";
859
994
  };
@@ -861,10 +996,11 @@ export declare const sdk: {
861
996
  name: string;
862
997
  description?: string | null | undefined;
863
998
  warning?: string | null | undefined;
864
- required: import("../../../base/lib/actions/input/builder/value").RequiredDefault<string>;
865
- values: Record<string, string>;
999
+ default: keyof Variants & string;
1000
+ required: boolean;
1001
+ values: Variants;
866
1002
  disabled?: string | false | string[] | undefined;
867
- }>) => import("../../../base/lib/actions/input/builder").Value<string | null | undefined, {
1003
+ }>) => import("../../../base/lib/actions/input/builder").Value<string, {
868
1004
  storeRoot: {
869
1005
  storeLeaf: "value";
870
1006
  };
@@ -887,7 +1023,16 @@ export declare const sdk: {
887
1023
  storeLeaf: "value";
888
1024
  };
889
1025
  }>;
890
- filteredUnion: <Required_1 extends import("../../../base/lib/actions/input/builder/value").RequiredDefault<string>, Type_2 extends Record<string, any>>(getDisabledFn: import("../../../base/lib/actions/input/builder/inputSpec").LazyBuild<{
1026
+ filteredUnion: <VariantValues extends {
1027
+ [x: string]: {
1028
+ name: string;
1029
+ spec: import("../../../base/lib/actions/input/builder").InputSpec<any, never> | import("../../../base/lib/actions/input/builder").InputSpec<any, {
1030
+ storeRoot: {
1031
+ storeLeaf: "value";
1032
+ };
1033
+ }>;
1034
+ };
1035
+ }>(getDisabledFn: import("../../../base/lib/actions/input/builder/inputSpec").LazyBuild<{
891
1036
  storeRoot: {
892
1037
  storeLeaf: "value";
893
1038
  };
@@ -895,19 +1040,30 @@ export declare const sdk: {
895
1040
  name: string;
896
1041
  description?: string | null | undefined;
897
1042
  warning?: string | null | undefined;
898
- required: Required_1;
899
- }, aVariants: import("../../../base/lib/actions/input/builder").Variants<Type_2, {
1043
+ default: keyof VariantValues & string;
1044
+ }, aVariants: import("../../../base/lib/actions/input/builder").Variants<VariantValues, {
1045
+ storeRoot: {
1046
+ storeLeaf: "value";
1047
+ };
1048
+ }> | import("../../../base/lib/actions/input/builder").Variants<VariantValues, never>) => import("../../../base/lib/actions/input/builder").Value<import("../../../base/lib/actions/input/builder/variants").UnionRes<{
900
1049
  storeRoot: {
901
1050
  storeLeaf: "value";
902
1051
  };
903
- }> | import("../../../base/lib/actions/input/builder").Variants<Type_2, never>) => import("../../../base/lib/actions/input/builder").Value<Required_1 extends {
904
- default: unknown;
905
- } ? Type_2 : Type_2 | null | undefined, {
1052
+ }, VariantValues, keyof VariantValues & string> | import("../../../base/lib/actions/input/builder/variants").UnionRes<never, VariantValues, keyof VariantValues & string>, {
906
1053
  storeRoot: {
907
1054
  storeLeaf: "value";
908
1055
  };
909
1056
  }>;
910
- dynamicUnion: <Required_2 extends import("../../../base/lib/actions/input/builder/value").RequiredDefault<string>, Type_3 extends Record<string, any>>(getA: import("../../../base/lib/actions/input/builder/inputSpec").LazyBuild<{
1057
+ dynamicUnion: <VariantValues_1 extends {
1058
+ [x: string]: {
1059
+ name: string;
1060
+ spec: import("../../../base/lib/actions/input/builder").InputSpec<any, never> | import("../../../base/lib/actions/input/builder").InputSpec<any, {
1061
+ storeRoot: {
1062
+ storeLeaf: "value";
1063
+ };
1064
+ }>;
1065
+ };
1066
+ }>(getA: import("../../../base/lib/actions/input/builder/inputSpec").LazyBuild<{
911
1067
  storeRoot: {
912
1068
  storeLeaf: "value";
913
1069
  };
@@ -915,20 +1071,25 @@ export declare const sdk: {
915
1071
  name: string;
916
1072
  description?: string | null | undefined;
917
1073
  warning?: string | null | undefined;
918
- required: Required_2;
1074
+ default: keyof VariantValues_1 & string;
1075
+ required: boolean;
919
1076
  disabled: string | false | string[];
920
- }>, aVariants: import("../../../base/lib/actions/input/builder").Variants<Type_3, {
1077
+ }>, aVariants: import("../../../base/lib/actions/input/builder").Variants<VariantValues_1, {
1078
+ storeRoot: {
1079
+ storeLeaf: "value";
1080
+ };
1081
+ }> | import("../../../base/lib/actions/input/builder").Variants<VariantValues_1, never>) => import("../../../base/lib/actions/input/builder").Value<import("../../../base/lib/actions/input/builder/variants").UnionRes<{
921
1082
  storeRoot: {
922
1083
  storeLeaf: "value";
923
1084
  };
924
- }> | import("../../../base/lib/actions/input/builder").Variants<Type_3, never>) => import("../../../base/lib/actions/input/builder").Value<Type_3 | null | undefined, {
1085
+ }, VariantValues_1, keyof VariantValues_1 & string> | import("../../../base/lib/actions/input/builder/variants").UnionRes<never, VariantValues_1, keyof VariantValues_1 & string>, {
925
1086
  storeRoot: {
926
1087
  storeLeaf: "value";
927
1088
  };
928
1089
  }>;
929
1090
  };
930
1091
  Variants: {
931
- of: <VariantValues extends {
1092
+ of: <VariantValues_2 extends {
932
1093
  [x: string]: {
933
1094
  name: string;
934
1095
  spec: import("../../../base/lib/actions/input/builder").InputSpec<any, {
@@ -937,14 +1098,7 @@ export declare const sdk: {
937
1098
  };
938
1099
  }>;
939
1100
  };
940
- }>(a: VariantValues) => import("../../../base/lib/actions/input/builder").Variants<{ [K_1 in keyof VariantValues]: {
941
- selection: K_1;
942
- value: VariantValues[K_1]["spec"] extends import("../../../base/lib/actions/input/builder").InputSpec<infer B extends Record<string, any>, never> | import("../../../base/lib/actions/input/builder").InputSpec<infer B extends Record<string, any>, {
943
- storeRoot: {
944
- storeLeaf: "value";
945
- };
946
- }> ? B : never;
947
- }; }[keyof VariantValues], {
1101
+ }>(a: VariantValues_2) => import("../../../base/lib/actions/input/builder").Variants<VariantValues_2, {
948
1102
  storeRoot: {
949
1103
  storeLeaf: "value";
950
1104
  };
@@ -952,6 +1106,10 @@ export declare const sdk: {
952
1106
  };
953
1107
  restart: (effects: import("../../../base/lib/Effects").Effects) => Promise<null>;
954
1108
  shutdown: (effects: import("../../../base/lib/Effects").Effects) => Promise<null>;
1109
+ getStatus: (effects: import("../../../base/lib/Effects").Effects, options: {
1110
+ packageId?: string | undefined;
1111
+ callback?: (() => void) | undefined;
1112
+ }) => Promise<import("../../../base/lib/osBindings").MainStatus>;
955
1113
  setDependencies: (effects: import("../../../base/lib/Effects").Effects, options: {
956
1114
  dependencies: import("../../../base/lib/types").Dependencies;
957
1115
  }) => Promise<null>;
@@ -973,7 +1131,7 @@ export declare const sdk: {
973
1131
  packageId?: string | undefined;
974
1132
  hostId: string;
975
1133
  internalPort: number;
976
- }) => Promise<import("../../../base/lib/osBindings").LanInfo>;
1134
+ }) => Promise<import("../../../base/lib/osBindings").NetInfo>;
977
1135
  clearBindings: (effects: import("../../../base/lib/Effects").Effects, options: {
978
1136
  except: {
979
1137
  id: string;
@@ -989,4 +1147,46 @@ export declare const sdk: {
989
1147
  version: string;
990
1148
  }) => Promise<null>;
991
1149
  getDataVersion: (effects: import("../../../base/lib/Effects").Effects) => Promise<string | null>;
1150
+ manifest: {
1151
+ id: "testOutput";
1152
+ title: string;
1153
+ license: string;
1154
+ replaces: never[];
1155
+ wrapperRepo: string;
1156
+ upstreamRepo: string;
1157
+ supportSite: string;
1158
+ marketingSite: string;
1159
+ donationUrl: null;
1160
+ description: {
1161
+ short: string;
1162
+ long: string;
1163
+ };
1164
+ containers: {};
1165
+ images: {
1166
+ main: {
1167
+ source: {
1168
+ dockerTag: string;
1169
+ };
1170
+ arch: ["aarch64", "x86_64"];
1171
+ emulateMissingAs: "aarch64";
1172
+ };
1173
+ };
1174
+ volumes: never[];
1175
+ assets: never[];
1176
+ alerts: {
1177
+ install: null;
1178
+ update: null;
1179
+ uninstall: null;
1180
+ restore: null;
1181
+ start: null;
1182
+ stop: null;
1183
+ };
1184
+ dependencies: {
1185
+ "remote-test": {
1186
+ description: string;
1187
+ optional: false;
1188
+ s9pk: string;
1189
+ };
1190
+ };
1191
+ };
992
1192
  };