@start9labs/start-sdk 0.4.0-beta.2 → 0.4.0-beta.21

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 (155) hide show
  1. package/base/lib/Effects.d.ts +4 -22
  2. package/base/lib/actions/index.d.ts +5 -5
  3. package/base/lib/actions/index.js.map +1 -1
  4. package/base/lib/actions/input/builder/inputSpec.d.ts +10 -25
  5. package/base/lib/actions/input/builder/inputSpec.js +0 -17
  6. package/base/lib/actions/input/builder/inputSpec.js.map +1 -1
  7. package/base/lib/actions/input/builder/list.d.ts +8 -23
  8. package/base/lib/actions/input/builder/list.js +0 -17
  9. package/base/lib/actions/input/builder/list.js.map +1 -1
  10. package/base/lib/actions/input/builder/value.d.ts +318 -53
  11. package/base/lib/actions/input/builder/value.js +280 -17
  12. package/base/lib/actions/input/builder/value.js.map +1 -1
  13. package/base/lib/actions/input/builder/variants.d.ts +8 -23
  14. package/base/lib/actions/input/builder/variants.js +0 -17
  15. package/base/lib/actions/input/builder/variants.js.map +1 -1
  16. package/base/lib/actions/input/inputSpecConstants.d.ts +6 -6
  17. package/base/lib/actions/input/inputSpecConstants.js.map +1 -1
  18. package/base/lib/actions/setupActions.d.ts +10 -11
  19. package/base/lib/actions/setupActions.js +24 -11
  20. package/base/lib/actions/setupActions.js.map +1 -1
  21. package/base/lib/dependencies/setupDependencies.d.ts +1 -3
  22. package/base/lib/dependencies/setupDependencies.js +3 -12
  23. package/base/lib/dependencies/setupDependencies.js.map +1 -1
  24. package/base/lib/index.d.ts +1 -0
  25. package/base/lib/index.js +2 -1
  26. package/base/lib/index.js.map +1 -1
  27. package/base/lib/inits/index.d.ts +2 -0
  28. package/base/lib/inits/index.js +19 -0
  29. package/base/lib/inits/index.js.map +1 -0
  30. package/base/lib/inits/setupInit.d.ts +11 -0
  31. package/base/lib/inits/setupInit.js +69 -0
  32. package/base/lib/inits/setupInit.js.map +1 -0
  33. package/base/lib/inits/setupUninit.d.ts +7 -0
  34. package/base/lib/inits/setupUninit.js +14 -0
  35. package/base/lib/inits/setupUninit.js.map +1 -0
  36. package/base/lib/interfaces/setupInterfaces.d.ts +2 -4
  37. package/base/lib/interfaces/setupInterfaces.js +8 -19
  38. package/base/lib/interfaces/setupInterfaces.js.map +1 -1
  39. package/base/lib/osBindings/AddCategoryParams.d.ts +0 -2
  40. package/base/lib/osBindings/AddPackageToCategoryParams.d.ts +5 -0
  41. package/base/lib/osBindings/AddPackageToCategoryParams.js +3 -0
  42. package/base/lib/osBindings/AddPackageToCategoryParams.js.map +1 -0
  43. package/base/lib/osBindings/Category.d.ts +0 -2
  44. package/base/lib/osBindings/Category.js +1 -0
  45. package/base/lib/osBindings/Category.js.map +1 -1
  46. package/base/lib/osBindings/FileType.d.ts +1 -0
  47. package/base/lib/osBindings/{UnsetPublicParams.js → FileType.js} +1 -1
  48. package/base/lib/osBindings/FileType.js.map +1 -0
  49. package/base/lib/osBindings/GetOsVersionParams.d.ts +4 -3
  50. package/base/lib/osBindings/GetPackageParams.d.ts +1 -1
  51. package/base/lib/osBindings/MainStatus.d.ts +0 -2
  52. package/base/lib/osBindings/MountTarget.d.ts +2 -0
  53. package/base/lib/osBindings/PackageDataEntry.d.ts +1 -2
  54. package/base/lib/osBindings/RemoveAdminParams.d.ts +4 -0
  55. package/base/lib/osBindings/RemoveAdminParams.js +3 -0
  56. package/base/lib/osBindings/RemoveAdminParams.js.map +1 -0
  57. package/base/lib/osBindings/RemoveAssetParams.d.ts +4 -0
  58. package/base/lib/osBindings/{NetworkInterfaceSetPublicParams.js → RemoveAssetParams.js} +1 -1
  59. package/base/lib/osBindings/RemoveAssetParams.js.map +1 -0
  60. package/base/lib/osBindings/RemovePackageFromCategoryParams.d.ts +5 -0
  61. package/base/lib/osBindings/RemovePackageFromCategoryParams.js +3 -0
  62. package/base/lib/osBindings/RemovePackageFromCategoryParams.js.map +1 -0
  63. package/base/lib/osBindings/RemovePackageParams.d.ts +6 -0
  64. package/base/lib/osBindings/RemovePackageParams.js +3 -0
  65. package/base/lib/osBindings/RemovePackageParams.js.map +1 -0
  66. package/base/lib/osBindings/index.d.ts +6 -3
  67. package/base/lib/types.d.ts +20 -33
  68. package/base/lib/types.js +8 -0
  69. package/base/lib/types.js.map +1 -1
  70. package/base/lib/util/GetSystemSmtp.js +7 -2
  71. package/base/lib/util/GetSystemSmtp.js.map +1 -1
  72. package/base/lib/util/getServiceInterface.d.ts +10 -0
  73. package/base/lib/util/getServiceInterface.js +41 -1
  74. package/base/lib/util/getServiceInterface.js.map +1 -1
  75. package/base/lib/util/getServiceInterfaces.js +6 -1
  76. package/base/lib/util/getServiceInterfaces.js.map +1 -1
  77. package/base/lib/util/index.d.ts +0 -1
  78. package/base/lib/util/index.js +1 -3
  79. package/base/lib/util/index.js.map +1 -1
  80. package/package/lib/StartSdk.d.ts +106 -546
  81. package/package/lib/StartSdk.js +81 -410
  82. package/package/lib/StartSdk.js.map +1 -1
  83. package/package/lib/backup/Backups.d.ts +15 -3
  84. package/package/lib/backup/Backups.js +47 -5
  85. package/package/lib/backup/Backups.js.map +1 -1
  86. package/package/lib/backup/setupBackups.d.ts +5 -2
  87. package/package/lib/backup/setupBackups.js +7 -5
  88. package/package/lib/backup/setupBackups.js.map +1 -1
  89. package/package/lib/health/HealthCheck.js +1 -1
  90. package/package/lib/health/HealthCheck.js.map +1 -1
  91. package/package/lib/health/checkFns/runHealthScript.d.ts +2 -1
  92. package/package/lib/health/checkFns/runHealthScript.js +1 -1
  93. package/package/lib/health/checkFns/runHealthScript.js.map +1 -1
  94. package/package/lib/index.d.ts +0 -3
  95. package/package/lib/index.js +1 -8
  96. package/package/lib/index.js.map +1 -1
  97. package/package/lib/inits/index.d.ts +2 -3
  98. package/package/lib/inits/index.js +16 -3
  99. package/package/lib/inits/index.js.map +1 -1
  100. package/package/lib/inits/setupInit.d.ts +7 -13
  101. package/package/lib/inits/setupInit.js +22 -48
  102. package/package/lib/inits/setupInit.js.map +1 -1
  103. package/package/lib/inits/setupInstall.d.ts +10 -10
  104. package/package/lib/inits/setupInstall.js.map +1 -1
  105. package/package/lib/inits/setupUninit.d.ts +7 -0
  106. package/package/lib/inits/setupUninit.js +14 -0
  107. package/package/lib/inits/setupUninit.js.map +1 -0
  108. package/package/lib/inits/setupUninstall.d.ts +5 -5
  109. package/package/lib/inits/setupUninstall.js.map +1 -1
  110. package/package/lib/mainFn/CommandController.d.ts +4 -13
  111. package/package/lib/mainFn/CommandController.js +28 -49
  112. package/package/lib/mainFn/CommandController.js.map +1 -1
  113. package/package/lib/mainFn/Daemon.d.ts +13 -14
  114. package/package/lib/mainFn/Daemon.js +44 -12
  115. package/package/lib/mainFn/Daemon.js.map +1 -1
  116. package/package/lib/mainFn/Daemons.d.ts +34 -33
  117. package/package/lib/mainFn/Daemons.js +30 -10
  118. package/package/lib/mainFn/Daemons.js.map +1 -1
  119. package/package/lib/mainFn/HealthDaemon.d.ts +6 -6
  120. package/package/lib/mainFn/HealthDaemon.js +30 -14
  121. package/package/lib/mainFn/HealthDaemon.js.map +1 -1
  122. package/package/lib/mainFn/Mounts.d.ts +38 -43
  123. package/package/lib/mainFn/Mounts.js +19 -48
  124. package/package/lib/mainFn/Mounts.js.map +1 -1
  125. package/package/lib/mainFn/Oneshot.d.ts +21 -0
  126. package/package/lib/mainFn/Oneshot.js +31 -0
  127. package/package/lib/mainFn/Oneshot.js.map +1 -0
  128. package/package/lib/mainFn/index.d.ts +1 -1
  129. package/package/lib/store/getStore.js +7 -2
  130. package/package/lib/store/getStore.js.map +1 -1
  131. package/package/lib/test/inputSpecBuilder.test.js +0 -8
  132. package/package/lib/test/inputSpecBuilder.test.js.map +1 -1
  133. package/package/lib/test/output.d.ts +2 -38
  134. package/package/lib/test/output.sdk.d.ts +239 -887
  135. package/package/lib/test/output.sdk.js +0 -1
  136. package/package/lib/test/output.sdk.js.map +1 -1
  137. package/package/lib/util/Drop.d.ts +1 -0
  138. package/package/lib/util/Drop.js +17 -4
  139. package/package/lib/util/Drop.js.map +1 -1
  140. package/package/lib/util/GetSslCertificate.js +7 -2
  141. package/package/lib/util/GetSslCertificate.js.map +1 -1
  142. package/package/lib/util/SubContainer.d.ts +160 -44
  143. package/package/lib/util/SubContainer.js +215 -99
  144. package/package/lib/util/SubContainer.js.map +1 -1
  145. package/package/lib/util/fileHelper.d.ts +41 -15
  146. package/package/lib/util/fileHelper.js +72 -27
  147. package/package/lib/util/fileHelper.js.map +1 -1
  148. package/package/lib/version/VersionGraph.d.ts +20 -5
  149. package/package/lib/version/VersionGraph.js +85 -18
  150. package/package/lib/version/VersionGraph.js.map +1 -1
  151. package/package.json +10 -11
  152. package/base/lib/osBindings/NetworkInterfaceSetPublicParams.d.ts +0 -4
  153. package/base/lib/osBindings/NetworkInterfaceSetPublicParams.js.map +0 -1
  154. package/base/lib/osBindings/UnsetPublicParams.d.ts +0 -3
  155. package/base/lib/osBindings/UnsetPublicParams.js.map +0 -1
@@ -1,19 +1,15 @@
1
- import { CurrentDependenciesResult } from "../../../base/lib/dependencies/setupDependencies";
2
- import { VersionGraph } from "../version/VersionGraph";
3
1
  export type Manifest = any;
4
2
  export declare const sdk: {
3
+ setDataVersion: typeof import("../version/VersionGraph").setDataVersion;
4
+ getDataVersion: typeof import("../version/VersionGraph").getDataVersion;
5
5
  action: {
6
6
  run: <Input extends Record<string, unknown>>(options: {
7
7
  effects: import("../types").Effects;
8
8
  actionId: import("../types").ActionId;
9
9
  input?: import("../../../base/lib/actions").RunActionInput<Input>;
10
10
  }) => Promise<import("../types").ActionResult | null>;
11
- request: <T extends import("../../../base/lib/actions/setupActions").Action<import("../types").ActionId, any, any>>(effects: import("../types").Effects, packageId: import("../types").PackageId, action: T, severity: import("../types").ActionSeverity, options?: import("../../../base/lib/actions").ActionRequestOptions<T> | undefined) => Promise<null>;
12
- requestOwn: <T extends import("../../../base/lib/actions/setupActions").Action<string, {
13
- storeRoot: {
14
- storeLeaf: "value";
15
- };
16
- }, any>>(effects: import("../types").Effects, action: T, severity: import("../types").ActionSeverity, options?: import("../../../base/lib/actions").ActionRequestOptions<T> | undefined) => Promise<null>;
11
+ request: <T extends import("../../../base/lib/actions/setupActions").Action<import("../types").ActionId, any>>(effects: import("../types").Effects, packageId: import("../types").PackageId, action: T, severity: import("../types").ActionSeverity, options?: import("../../../base/lib/actions").ActionRequestOptions<T> | undefined) => Promise<null>;
12
+ requestOwn: <T extends import("../../../base/lib/actions/setupActions").Action<import("../types").ActionId, any>>(effects: import("../types").Effects, action: T, severity: import("../types").ActionSeverity, options?: import("../../../base/lib/actions").ActionRequestOptions<T> | undefined) => Promise<null>;
17
13
  clearRequest: (effects: import("../types").Effects, ...replayIds: string[]) => Promise<null>;
18
14
  };
19
15
  checkDependencies: <DependencyId extends "remote-test" = "remote-test">(effects: import("../types").Effects, packageIds?: DependencyId[] | undefined) => Promise<import("../../../base/lib/dependencies/dependencies").CheckDependencies<DependencyId>>;
@@ -34,585 +30,75 @@ export declare const sdk: {
34
30
  watch: () => AsyncGenerator<string, void, unknown>;
35
31
  onChange: (callback: (value: string | null, error?: Error) => void | Promise<void>) => void;
36
32
  };
37
- store: {
38
- get: <E extends import("../types").Effects, StoreValue = unknown>(effects: E, packageId: string, path: import("../util").PathBuilder<{
39
- storeRoot: {
40
- storeLeaf: "value";
41
- };
42
- }, StoreValue>) => import("../store/getStore").GetStore<{
43
- storeRoot: {
44
- storeLeaf: "value";
45
- };
46
- }, StoreValue>;
47
- getOwn: <E extends import("../types").Effects, StoreValue = unknown>(effects: E, path: import("../util").PathBuilder<{
48
- storeRoot: {
49
- storeLeaf: "value";
50
- };
51
- }, StoreValue>) => import("../store/getStore").GetStore<{
52
- storeRoot: {
53
- storeLeaf: "value";
54
- };
55
- }, StoreValue>;
56
- setOwn: <E extends import("../types").Effects, Path extends import("../../../base/lib/util/PathBuilder").PathBuilderStored<{
57
- storeRoot: {
58
- storeLeaf: "value";
59
- };
60
- }, unknown>>(effects: E, path: Path, value: Path extends import("../util").PathBuilder<{
61
- storeRoot: {
62
- storeLeaf: "value";
63
- };
64
- }, infer Value> ? Value : never) => Promise<null>;
65
- };
66
33
  MultiHost: {
67
34
  of: (effects: import("../types").Effects, id: string) => import("../../../base/lib/interfaces/Host").MultiHost;
68
35
  };
69
36
  nullIfEmpty: typeof import("../util").nullIfEmpty;
70
37
  useEntrypoint: (overrideCmd?: string[]) => import("../types").UseEntrypoint;
71
- runCommand: <A extends string>(effects: import("../types").Effects, image: {
72
- imageId: "main";
73
- sharedRun?: boolean;
74
- }, command: import("../types").CommandType, options: import("../util/SubContainer").CommandOptions & {
75
- mounts: import("../mainFn/Mounts").Mounts<{
76
- id: "testOutput";
77
- title: string;
78
- license: string;
79
- replaces: never[];
80
- wrapperRepo: string;
81
- upstreamRepo: string;
82
- supportSite: string;
83
- marketingSite: string;
84
- donationUrl: null;
85
- description: {
86
- short: string;
87
- long: string;
88
- };
89
- containers: {};
90
- images: {
91
- main: {
92
- source: {
93
- dockerTag: string;
94
- };
95
- arch: ["aarch64", "x86_64"];
96
- emulateMissingAs: "aarch64";
97
- };
98
- };
99
- volumes: never[];
100
- assets: never[];
101
- alerts: {
102
- install: null;
103
- update: null;
104
- uninstall: null;
105
- restore: null;
106
- start: null;
107
- stop: null;
108
- };
109
- dependencies: {
110
- "remote-test": {
111
- description: string;
112
- optional: false;
113
- s9pk: string;
114
- };
115
- };
116
- }>;
117
- }, name?: string) => Promise<{
118
- stdout: string | Buffer;
119
- stderr: string | Buffer;
120
- }>;
121
38
  Action: {
122
- withInput: <Id extends import("../types").ActionId, InputSpecType extends Record<string, any> | import("../../../base/lib/actions/input/builder").InputSpec<any, any> | import("../../../base/lib/actions/input/builder").InputSpec<any, never>>(id: Id, metadata: import("../../../base/lib/actions/setupActions").MaybeFn<Omit<import("../types").ActionMetadata, "hasInput">>, inputSpec: InputSpecType, getInput: import("../../../base/lib/actions/setupActions").GetInput<InputSpecType>, run: import("../../../base/lib/actions/setupActions").Run<InputSpecType>) => import("../../../base/lib/actions/setupActions").Action<Id, unknown, InputSpecType>;
123
- withoutInput: <Id extends import("../types").ActionId>(id: Id, metadata: import("../../../base/lib/actions/setupActions").MaybeFn<Omit<import("../types").ActionMetadata, "hasInput">>, run: import("../../../base/lib/actions/setupActions").Run<{}>) => import("../../../base/lib/actions/setupActions").Action<Id, unknown, {}>;
39
+ withInput: <Id extends import("../types").ActionId, InputSpecType extends Record<string, any> | import("../../../base/lib/actions/input/builder").InputSpec<any>>(id: Id, metadata: import("../../../base/lib/actions/setupActions").MaybeFn<Omit<import("../types").ActionMetadata, "hasInput">>, inputSpec: InputSpecType, getInput: import("../../../base/lib/actions/setupActions").GetInput<InputSpecType>, run: import("../../../base/lib/actions/setupActions").Run<InputSpecType>) => import("../../../base/lib/actions/setupActions").Action<Id, InputSpecType>;
40
+ withoutInput: <Id extends import("../types").ActionId>(id: Id, metadata: import("../../../base/lib/actions/setupActions").MaybeFn<Omit<import("../types").ActionMetadata, "hasInput">>, run: import("../../../base/lib/actions/setupActions").Run<{}>) => import("../../../base/lib/actions/setupActions").Action<Id, {}>;
124
41
  };
125
42
  inputSpecConstants: {
126
- smtpInputSpec: import("../../../base/lib/actions/input/builder").Value<import("../../../base/lib/actions/input/builder/variants").UnionRes<never, {
43
+ smtpInputSpec: import("../../../base/lib/actions/input/builder").Value<import("../../../base/lib/actions/input/builder/variants").UnionRes<{
127
44
  disabled: {
128
45
  name: string;
129
- spec: import("../../../base/lib/actions/input/builder").InputSpec<{}, Store>;
46
+ spec: import("../../../base/lib/actions/input/builder").InputSpec<{}>;
130
47
  };
131
48
  system: {
132
49
  name: string;
133
50
  spec: import("../../../base/lib/actions/input/builder").InputSpec<{
134
51
  customFrom: string | null;
135
- }, Store>;
52
+ }>;
136
53
  };
137
54
  custom: {
138
55
  name: string;
139
56
  spec: import("../../../base/lib/actions/input/builder").InputSpec<{
140
57
  server: string;
141
58
  port: number;
142
- from: string;
143
- login: string;
144
- password: string | null | undefined;
145
- }, never>;
146
- };
147
- }, "disabled" | "system" | "custom">, never>;
148
- };
149
- createInterface: (effects: import("../types").Effects, options: {
150
- name: string;
151
- id: string;
152
- description: string;
153
- type: import("../types").ServiceInterfaceType;
154
- username: null | string;
155
- path: string;
156
- search: Record<string, string>;
157
- schemeOverride: {
158
- ssl: import("../../../base/lib/interfaces/Host").Scheme;
159
- noSsl: import("../../../base/lib/interfaces/Host").Scheme;
160
- } | null;
161
- masked: boolean;
162
- }) => import("../../../base/lib/interfaces/ServiceInterfaceBuilder").ServiceInterfaceBuilder;
163
- getSystemSmtp: <E extends import("../types").Effects>(effects: E) => import("../util").GetSystemSmtp;
164
- getSslCerificate: <E extends import("../types").Effects>(effects: E, hostnames: string[], algorithm?: import("../types").Algorithm) => import("../util").GetSslCertificate;
165
- HealthCheck: typeof import("../health").HealthCheck;
166
- healthCheck: {
167
- checkPortListening: typeof import("../health/checkFns").checkPortListening;
168
- checkWebUrl: (effects: import("../types").Effects, url: string, { timeout, successMessage, errorMessage, }?: {
169
- timeout?: number | undefined;
170
- successMessage?: string | undefined;
171
- errorMessage?: string | undefined;
172
- }) => Promise<import("../health/checkFns").HealthCheckResult>;
173
- runHealthScript: (runCommand: string[], subcontainer: import("..").SubContainer, { timeout, errorMessage, message, }?: {
174
- timeout?: number | undefined;
175
- errorMessage?: string | undefined;
176
- message?: ((res: string) => string) | undefined;
177
- }) => Promise<import("../health/checkFns").HealthCheckResult>;
178
- };
179
- patterns: typeof import("../../../base/lib/util/patterns");
180
- Actions: {
181
- new (actions: {}): import("../../../base/lib/actions/setupActions").Actions<{
182
- storeRoot: {
183
- storeLeaf: "value";
184
- };
185
- }, {}>;
186
- of<Store_1>(): import("../../../base/lib/actions/setupActions").Actions<Store_1, {}>;
187
- };
188
- setupBackups: (options: import("../backup/setupBackups").SetupBackupsParams<{
189
- id: "testOutput";
190
- title: string;
191
- license: string;
192
- replaces: never[];
193
- wrapperRepo: string;
194
- upstreamRepo: string;
195
- supportSite: string;
196
- marketingSite: string;
197
- donationUrl: null;
198
- description: {
199
- short: string;
200
- long: string;
201
- };
202
- containers: {};
203
- images: {
204
- main: {
205
- source: {
206
- dockerTag: string;
207
- };
208
- arch: ["aarch64", "x86_64"];
209
- emulateMissingAs: "aarch64";
210
- };
211
- };
212
- volumes: never[];
213
- assets: never[];
214
- alerts: {
215
- install: null;
216
- update: null;
217
- uninstall: null;
218
- restore: null;
219
- start: null;
220
- stop: null;
221
- };
222
- dependencies: {
223
- "remote-test": {
224
- description: string;
225
- optional: false;
226
- s9pk: string;
227
- };
228
- };
229
- }>) => {
230
- createBackup: import("../types").ExpectedExports.createBackup;
231
- restoreBackup: import("../types").ExpectedExports.restoreBackup;
232
- };
233
- setupDependencies: (fn: (options: {
234
- effects: import("../types").Effects;
235
- }) => Promise<CurrentDependenciesResult<{
236
- id: "testOutput";
237
- title: string;
238
- license: string;
239
- replaces: never[];
240
- wrapperRepo: string;
241
- upstreamRepo: string;
242
- supportSite: string;
243
- marketingSite: string;
244
- donationUrl: null;
245
- description: {
246
- short: string;
247
- long: string;
248
- };
249
- containers: {};
250
- images: {
251
- main: {
252
- source: {
253
- dockerTag: string;
254
- };
255
- arch: ["aarch64", "x86_64"];
256
- emulateMissingAs: "aarch64";
257
- };
258
- };
259
- volumes: never[];
260
- assets: never[];
261
- alerts: {
262
- install: null;
263
- update: null;
264
- uninstall: null;
265
- restore: null;
266
- start: null;
267
- stop: null;
268
- };
269
- dependencies: {
270
- "remote-test": {
271
- description: string;
272
- optional: false;
273
- s9pk: string;
274
- };
275
- };
276
- }>>) => (options: {
277
- effects: import("../types").Effects;
278
- }) => Promise<null>;
279
- setupInit: (versions: VersionGraph<string>, preInstall: import("../inits/setupInstall").PreInstall<{
280
- id: "testOutput";
281
- title: string;
282
- license: string;
283
- replaces: never[];
284
- wrapperRepo: string;
285
- upstreamRepo: string;
286
- supportSite: string;
287
- marketingSite: string;
288
- donationUrl: null;
289
- description: {
290
- short: string;
291
- long: string;
292
- };
293
- containers: {};
294
- images: {
295
- main: {
296
- source: {
297
- dockerTag: string;
298
- };
299
- arch: ["aarch64", "x86_64"];
300
- emulateMissingAs: "aarch64";
301
- };
302
- };
303
- volumes: never[];
304
- assets: never[];
305
- alerts: {
306
- install: null;
307
- update: null;
308
- uninstall: null;
309
- restore: null;
310
- start: null;
311
- stop: null;
312
- };
313
- dependencies: {
314
- "remote-test": {
315
- description: string;
316
- optional: false;
317
- s9pk: string;
318
- };
319
- };
320
- }, {
321
- storeRoot: {
322
- storeLeaf: "value";
323
- };
324
- }>, postInstall: import("../inits/setupInstall").PostInstall<{
325
- id: "testOutput";
326
- title: string;
327
- license: string;
328
- replaces: never[];
329
- wrapperRepo: string;
330
- upstreamRepo: string;
331
- supportSite: string;
332
- marketingSite: string;
333
- donationUrl: null;
334
- description: {
335
- short: string;
336
- long: string;
337
- };
338
- containers: {};
339
- images: {
340
- main: {
341
- source: {
342
- dockerTag: string;
343
- };
344
- arch: ["aarch64", "x86_64"];
345
- emulateMissingAs: "aarch64";
346
- };
347
- };
348
- volumes: never[];
349
- assets: never[];
350
- alerts: {
351
- install: null;
352
- update: null;
353
- uninstall: null;
354
- restore: null;
355
- start: null;
356
- stop: null;
357
- };
358
- dependencies: {
359
- "remote-test": {
360
- description: string;
361
- optional: false;
362
- s9pk: string;
363
- };
364
- };
365
- }, {
366
- storeRoot: {
367
- storeLeaf: "value";
368
- };
369
- }>, uninstall: import("../inits/setupUninstall").Uninstall<{
370
- id: "testOutput";
371
- title: string;
372
- license: string;
373
- replaces: never[];
374
- wrapperRepo: string;
375
- upstreamRepo: string;
376
- supportSite: string;
377
- marketingSite: string;
378
- donationUrl: null;
379
- description: {
380
- short: string;
381
- long: string;
382
- };
383
- containers: {};
384
- images: {
385
- main: {
386
- source: {
387
- dockerTag: string;
388
- };
389
- arch: ["aarch64", "x86_64"];
390
- emulateMissingAs: "aarch64";
391
- };
392
- };
393
- volumes: never[];
394
- assets: never[];
395
- alerts: {
396
- install: null;
397
- update: null;
398
- uninstall: null;
399
- restore: null;
400
- start: null;
401
- stop: null;
402
- };
403
- dependencies: {
404
- "remote-test": {
405
- description: string;
406
- optional: false;
407
- s9pk: string;
408
- };
409
- };
410
- }, {
411
- storeRoot: {
412
- storeLeaf: "value";
413
- };
414
- }>, setServiceInterfaces: import("../../../base/lib/interfaces/setupInterfaces").UpdateServiceInterfaces<any>, setDependencies: (options: {
415
- effects: import("../types").Effects;
416
- }) => Promise<null | void | undefined>, actions: import("../../../base/lib/actions/setupActions").Actions<{
417
- storeRoot: {
418
- storeLeaf: "value";
419
- };
420
- }, any>, initStore: {
421
- storeRoot: {
422
- storeLeaf: "value";
423
- };
424
- }, exposedStore: import("../types").ExposedStorePaths) => {
425
- packageInit: import("../types").ExpectedExports.packageInit;
426
- packageUninit: import("../types").ExpectedExports.packageUninit;
427
- containerInit: import("../types").ExpectedExports.containerInit;
428
- };
429
- setupPreInstall: (fn: import("../inits/setupInstall").InstallFn<{
430
- id: "testOutput";
431
- title: string;
432
- license: string;
433
- replaces: never[];
434
- wrapperRepo: string;
435
- upstreamRepo: string;
436
- supportSite: string;
437
- marketingSite: string;
438
- donationUrl: null;
439
- description: {
440
- short: string;
441
- long: string;
442
- };
443
- containers: {};
444
- images: {
445
- main: {
446
- source: {
447
- dockerTag: string;
448
- };
449
- arch: ["aarch64", "x86_64"];
450
- emulateMissingAs: "aarch64";
451
- };
452
- };
453
- volumes: never[];
454
- assets: never[];
455
- alerts: {
456
- install: null;
457
- update: null;
458
- uninstall: null;
459
- restore: null;
460
- start: null;
461
- stop: null;
462
- };
463
- dependencies: {
464
- "remote-test": {
465
- description: string;
466
- optional: false;
467
- s9pk: string;
468
- };
469
- };
470
- }, {
471
- storeRoot: {
472
- storeLeaf: "value";
473
- };
474
- }>) => import("../inits/setupInstall").PreInstall<{
475
- id: "testOutput";
476
- title: string;
477
- license: string;
478
- replaces: never[];
479
- wrapperRepo: string;
480
- upstreamRepo: string;
481
- supportSite: string;
482
- marketingSite: string;
483
- donationUrl: null;
484
- description: {
485
- short: string;
486
- long: string;
487
- };
488
- containers: {};
489
- images: {
490
- main: {
491
- source: {
492
- dockerTag: string;
493
- };
494
- arch: ["aarch64", "x86_64"];
495
- emulateMissingAs: "aarch64";
496
- };
497
- };
498
- volumes: never[];
499
- assets: never[];
500
- alerts: {
501
- install: null;
502
- update: null;
503
- uninstall: null;
504
- restore: null;
505
- start: null;
506
- stop: null;
507
- };
508
- dependencies: {
509
- "remote-test": {
510
- description: string;
511
- optional: false;
512
- s9pk: string;
513
- };
514
- };
515
- }, {
516
- storeRoot: {
517
- storeLeaf: "value";
518
- };
519
- }>;
520
- setupPostInstall: (fn: import("../inits/setupInstall").InstallFn<{
521
- id: "testOutput";
522
- title: string;
523
- license: string;
524
- replaces: never[];
525
- wrapperRepo: string;
526
- upstreamRepo: string;
527
- supportSite: string;
528
- marketingSite: string;
529
- donationUrl: null;
530
- description: {
531
- short: string;
532
- long: string;
533
- };
534
- containers: {};
535
- images: {
536
- main: {
537
- source: {
538
- dockerTag: string;
539
- };
540
- arch: ["aarch64", "x86_64"];
541
- emulateMissingAs: "aarch64";
542
- };
543
- };
544
- volumes: never[];
545
- assets: never[];
546
- alerts: {
547
- install: null;
548
- update: null;
549
- uninstall: null;
550
- restore: null;
551
- start: null;
552
- stop: null;
553
- };
554
- dependencies: {
555
- "remote-test": {
556
- description: string;
557
- optional: false;
558
- s9pk: string;
559
- };
560
- };
561
- }, {
562
- storeRoot: {
563
- storeLeaf: "value";
564
- };
565
- }>) => import("../inits/setupInstall").PostInstall<{
566
- id: "testOutput";
567
- title: string;
568
- license: string;
569
- replaces: never[];
570
- wrapperRepo: string;
571
- upstreamRepo: string;
572
- supportSite: string;
573
- marketingSite: string;
574
- donationUrl: null;
575
- description: {
576
- short: string;
577
- long: string;
578
- };
579
- containers: {};
580
- images: {
581
- main: {
582
- source: {
583
- dockerTag: string;
584
- };
585
- arch: ["aarch64", "x86_64"];
586
- emulateMissingAs: "aarch64";
587
- };
588
- };
589
- volumes: never[];
590
- assets: never[];
591
- alerts: {
592
- install: null;
593
- update: null;
594
- uninstall: null;
595
- restore: null;
596
- start: null;
597
- stop: null;
598
- };
599
- dependencies: {
600
- "remote-test": {
601
- description: string;
602
- optional: false;
603
- s9pk: string;
59
+ from: string;
60
+ login: string;
61
+ password: string | null | undefined;
62
+ }>;
604
63
  };
605
- };
606
- }, {
607
- storeRoot: {
608
- storeLeaf: "value";
609
- };
610
- }>;
611
- setupInterfaces: import("../../../base/lib/interfaces/setupInterfaces").SetupServiceInterfaces;
612
- setupMain: (fn: (o: {
613
- effects: import("../types").Effects;
614
- started(onTerm: () => PromiseLike<void>): PromiseLike<null>;
615
- }) => Promise<import("..").Daemons<{
64
+ }, "disabled" | "system" | "custom">>;
65
+ };
66
+ createInterface: (effects: import("../types").Effects, options: {
67
+ name: string;
68
+ id: string;
69
+ description: string;
70
+ type: import("../types").ServiceInterfaceType;
71
+ username: null | string;
72
+ path: string;
73
+ search: Record<string, string>;
74
+ schemeOverride: {
75
+ ssl: import("../../../base/lib/interfaces/Host").Scheme;
76
+ noSsl: import("../../../base/lib/interfaces/Host").Scheme;
77
+ } | null;
78
+ masked: boolean;
79
+ }) => import("../../../base/lib/interfaces/ServiceInterfaceBuilder").ServiceInterfaceBuilder;
80
+ getSystemSmtp: <E extends import("../types").Effects>(effects: E) => import("../util").GetSystemSmtp;
81
+ getSslCerificate: <E extends import("../types").Effects>(effects: E, hostnames: string[], algorithm?: import("../types").Algorithm) => import("../util").GetSslCertificate;
82
+ HealthCheck: typeof import("../health").HealthCheck;
83
+ healthCheck: {
84
+ checkPortListening: typeof import("../health/checkFns").checkPortListening;
85
+ checkWebUrl: (effects: import("../types").Effects, url: string, { timeout, successMessage, errorMessage, }?: {
86
+ timeout?: number | undefined;
87
+ successMessage?: string | undefined;
88
+ errorMessage?: string | undefined;
89
+ }) => Promise<import("../health/checkFns").HealthCheckResult>;
90
+ runHealthScript: <Manifest extends import("../types").SDKManifest>(runCommand: string[], subcontainer: import("..").SubContainer<Manifest>, { timeout, errorMessage, message, }?: {
91
+ timeout?: number | undefined;
92
+ errorMessage?: string | undefined;
93
+ message?: ((res: string) => string) | undefined;
94
+ }) => Promise<import("../health/checkFns").HealthCheckResult>;
95
+ };
96
+ patterns: typeof import("../../../base/lib/util/patterns");
97
+ Actions: {
98
+ new (actions: {}): import("../../../base/lib/actions/setupActions").Actions<{}>;
99
+ of(): import("../../../base/lib/actions/setupActions").Actions<{}>;
100
+ };
101
+ setupBackups: (options: import("../backup/setupBackups").SetupBackupsParams<{
616
102
  id: "testOutput";
617
103
  title: string;
618
104
  license: string;
@@ -653,8 +139,13 @@ export declare const sdk: {
653
139
  s9pk: string;
654
140
  };
655
141
  };
656
- }, any>>) => import("../types").ExpectedExports.main;
657
- setupUninstall: (fn: import("../inits/setupUninstall").UninstallFn<{
142
+ }>) => {
143
+ createBackup: import("../types").ExpectedExports.createBackup;
144
+ restoreInit: import("../../../base/lib/inits").InitScript;
145
+ };
146
+ setupDependencies: (fn: (options: {
147
+ effects: import("../types").Effects;
148
+ }) => Promise<import("../types").CurrentDependenciesResult<{
658
149
  id: "testOutput";
659
150
  title: string;
660
151
  license: string;
@@ -695,11 +186,17 @@ export declare const sdk: {
695
186
  s9pk: string;
696
187
  };
697
188
  };
698
- }, {
699
- storeRoot: {
700
- storeLeaf: "value";
701
- };
702
- }>) => import("../inits/setupUninstall").Uninstall<{
189
+ }>>) => (effects: import("../types").Effects) => Promise<null>;
190
+ setupPostInstall: typeof import("../../../base/lib/inits").setupPostInstall;
191
+ setupPostUpdate: typeof import("../../../base/lib/inits").setupPostUpdate;
192
+ setupPostInstallOrUpdate: typeof import("../../../base/lib/inits").setupPostInstallOrUpdate;
193
+ setupInit: typeof import("../../../base/lib/inits").setupInit;
194
+ setupUninit: typeof import("../../../base/lib/inits").setupUninit;
195
+ setupInterfaces: import("../../../base/lib/interfaces/setupInterfaces").SetupServiceInterfaces;
196
+ setupMain: (fn: (o: {
197
+ effects: import("../types").Effects;
198
+ started(onTerm: () => PromiseLike<void>): PromiseLike<null>;
199
+ }) => Promise<import("..").Daemons<{
703
200
  id: "testOutput";
704
201
  title: string;
705
202
  license: string;
@@ -740,11 +237,7 @@ export declare const sdk: {
740
237
  s9pk: string;
741
238
  };
742
239
  };
743
- }, {
744
- storeRoot: {
745
- storeLeaf: "value";
746
- };
747
- }>;
240
+ }, any>>) => import("../types").ExpectedExports.main;
748
241
  trigger: {
749
242
  defaultTrigger: import("../trigger").Trigger;
750
243
  cooldownTrigger: typeof import("../trigger").cooldownTrigger;
@@ -796,7 +289,7 @@ export declare const sdk: {
796
289
  s9pk: string;
797
290
  };
798
291
  };
799
- }>;
292
+ }, never>;
800
293
  };
801
294
  Backups: {
802
295
  volumes: (...volumeNames: never[]) => import("../backup/Backups").Backups<{
@@ -927,19 +420,20 @@ export declare const sdk: {
927
420
  }>;
928
421
  };
929
422
  InputSpec: {
930
- of: <Spec extends Record<string, import("../../../base/lib/actions/input/builder").Value<any, never> | import("../../../base/lib/actions/input/builder").Value<any, {
931
- storeRoot: {
932
- storeLeaf: "value";
933
- };
934
- }>>>(spec: Spec) => import("../../../base/lib/actions/input/builder").InputSpec<{ [K in keyof Spec]: Spec[K] extends import("../../../base/lib/actions/input/builder").Value<infer T, never> | import("../../../base/lib/actions/input/builder").Value<infer T, {
935
- storeRoot: {
936
- storeLeaf: "value";
937
- };
938
- }> ? T : never; }, {
939
- storeRoot: {
940
- storeLeaf: "value";
941
- };
942
- }>;
423
+ of: <Spec extends Record<string, import("../../../base/lib/actions/input/builder").Value<any>>>(spec: Spec) => import("../../../base/lib/actions/input/builder").InputSpec<{ [K in keyof Spec]: Spec[K] extends import("../../../base/lib/actions/input/builder").Value<infer T> ? T : never; }>;
424
+ };
425
+ Daemon: {
426
+ readonly of: (effects: import("../types").Effects, subcontainer: import("..").SubContainer<Manifest, import("../types").Effects>, command: import("../types").CommandType, options: {
427
+ runAsInit?: boolean;
428
+ env?: {
429
+ [variable: string]: string;
430
+ } | undefined;
431
+ cwd?: string | undefined;
432
+ user?: string | undefined;
433
+ onStdout?: ((chunk: Buffer | string | any) => void) | undefined;
434
+ onStderr?: ((chunk: Buffer | string | any) => void) | undefined;
435
+ sigtermTimeout?: number;
436
+ }) => Promise<import("../mainFn/Daemon").Daemon<Manifest>>;
943
437
  };
944
438
  Daemons: {
945
439
  of(effects: import("../types").Effects, started: (onTerm: () => PromiseLike<void>) => PromiseLike<null>, healthChecks: import("../health").HealthCheck[]): import("..").Daemons<{
@@ -989,314 +483,179 @@ export declare const sdk: {
989
483
  of(effects: import("../types").Effects, image: {
990
484
  imageId: "main";
991
485
  sharedRun?: boolean;
992
- }, name: string): Promise<import("..").SubContainer>;
993
- with<T>(effects: import("../types").Effects, image: {
994
- imageId: "main";
995
- sharedRun?: boolean;
996
- }, mounts: {
997
- options: import("../util/SubContainer").MountOptions;
998
- mountpoint: string;
999
- }[], name: string, fn: (subContainer: import("..").SubContainer) => Promise<T>): Promise<T>;
1000
- };
1001
- List: {
1002
- text: typeof import("../../../base/lib/actions/input/builder").List.text;
1003
- obj: <Type extends Record<string, any>>(a: {
1004
- name: string;
1005
- description?: string | null;
1006
- warning?: string | null;
1007
- default?: [];
1008
- minLength?: number | null;
1009
- maxLength?: number | null;
1010
- }, aSpec: {
1011
- spec: import("../../../base/lib/actions/input/builder").InputSpec<Type, {
1012
- storeRoot: {
1013
- storeLeaf: "value";
1014
- };
1015
- }>;
1016
- displayAs?: null | string;
1017
- uniqueBy?: null | import("../../../base/lib/actions/input/inputSpecTypes").UniqueBy;
1018
- }) => import("../../../base/lib/actions/input/builder").List<Type[], {
1019
- storeRoot: {
1020
- storeLeaf: "value";
1021
- };
1022
- }>;
1023
- dynamicText: (getA: import("../../../base/lib/actions/input/builder/inputSpec").LazyBuild<{
1024
- storeRoot: {
1025
- storeLeaf: "value";
1026
- };
1027
- }, {
1028
- name: string;
1029
- description?: string | null;
1030
- warning?: string | null;
1031
- default?: string[];
1032
- minLength?: number | null;
1033
- maxLength?: number | null;
1034
- disabled?: false | string;
1035
- generate?: null | import("../../../base/lib/actions/input/inputSpecTypes").RandomString;
1036
- spec: {
1037
- masked?: boolean;
1038
- placeholder?: string | null;
1039
- minLength?: number | null;
1040
- maxLength?: number | null;
1041
- patterns?: import("../../../base/lib/actions/input/inputSpecTypes").Pattern[];
1042
- inputmode?: import("../../../base/lib/actions/input/inputSpecTypes").ListValueSpecText["inputmode"];
1043
- };
1044
- }>) => import("../../../base/lib/actions/input/builder").List<string[], {
1045
- storeRoot: {
1046
- storeLeaf: "value";
1047
- };
1048
- }>;
1049
- };
1050
- StorePath: import("../util").PathBuilder<{
1051
- storeRoot: {
1052
- storeLeaf: "value";
1053
- };
1054
- }, {
1055
- storeRoot: {
1056
- storeLeaf: "value";
1057
- };
1058
- }>;
1059
- Value: {
1060
- toggle: typeof import("../../../base/lib/actions/input/builder").Value.toggle;
1061
- text: typeof import("../../../base/lib/actions/input/builder").Value.text;
1062
- textarea: typeof import("../../../base/lib/actions/input/builder").Value.textarea;
1063
- number: typeof import("../../../base/lib/actions/input/builder").Value.number;
1064
- color: typeof import("../../../base/lib/actions/input/builder").Value.color;
1065
- datetime: typeof import("../../../base/lib/actions/input/builder").Value.datetime;
1066
- select: typeof import("../../../base/lib/actions/input/builder").Value.select;
1067
- multiselect: typeof import("../../../base/lib/actions/input/builder").Value.multiselect;
1068
- object: typeof import("../../../base/lib/actions/input/builder").Value.object;
1069
- union: typeof import("../../../base/lib/actions/input/builder").Value.union;
1070
- list: typeof import("../../../base/lib/actions/input/builder").Value.list;
1071
- hidden: typeof import("../../../base/lib/actions/input/builder").Value.hidden;
1072
- dynamicToggle: (a: import("../../../base/lib/actions/input/builder/inputSpec").LazyBuild<{
1073
- storeRoot: {
1074
- storeLeaf: "value";
1075
- };
1076
- }, {
1077
- name: string;
1078
- description?: string | null;
1079
- warning?: string | null;
1080
- default: boolean;
1081
- disabled?: false | string;
1082
- }>) => import("../../../base/lib/actions/input/builder").Value<boolean, {
1083
- storeRoot: {
1084
- storeLeaf: "value";
1085
- };
1086
- }>;
1087
- dynamicText: (getA: import("../../../base/lib/actions/input/builder/inputSpec").LazyBuild<{
1088
- storeRoot: {
1089
- storeLeaf: "value";
1090
- };
1091
- }, {
1092
- name: string;
1093
- description?: string | null;
1094
- warning?: string | null;
1095
- default: import("../../../base/lib/actions/input/inputSpecTypes").DefaultString | null;
1096
- required: boolean;
1097
- masked?: boolean;
1098
- placeholder?: string | null;
1099
- minLength?: number | null;
1100
- maxLength?: number | null;
1101
- patterns?: import("../../../base/lib/actions/input/inputSpecTypes").Pattern[];
1102
- inputmode?: import("../../../base/lib/actions/input/inputSpecTypes").ValueSpecText["inputmode"];
1103
- disabled?: string | false;
1104
- generate?: null | import("../../../base/lib/actions/input/inputSpecTypes").RandomString;
1105
- }>) => import("../../../base/lib/actions/input/builder").Value<string | null, {
1106
- storeRoot: {
1107
- storeLeaf: "value";
1108
- };
1109
- }>;
1110
- dynamicTextarea: (getA: import("../../../base/lib/actions/input/builder/inputSpec").LazyBuild<{
1111
- storeRoot: {
1112
- storeLeaf: "value";
1113
- };
1114
- }, {
1115
- name: string;
1116
- description?: string | null;
1117
- warning?: string | null;
1118
- default: string | null;
1119
- required: boolean;
1120
- minLength?: number | null;
1121
- maxLength?: number | null;
1122
- placeholder?: string | null;
1123
- disabled?: false | string;
1124
- }>) => import("../../../base/lib/actions/input/builder").Value<string | null, {
1125
- storeRoot: {
1126
- storeLeaf: "value";
1127
- };
1128
- }>;
1129
- dynamicNumber: (getA: import("../../../base/lib/actions/input/builder/inputSpec").LazyBuild<{
1130
- storeRoot: {
1131
- storeLeaf: "value";
1132
- };
1133
- }, {
1134
- name: string;
1135
- description?: string | null;
1136
- warning?: string | null;
1137
- default: number | null;
1138
- required: boolean;
1139
- min?: number | null;
1140
- max?: number | null;
1141
- step?: number | null;
1142
- integer: boolean;
1143
- units?: string | null;
1144
- placeholder?: string | null;
1145
- disabled?: false | string;
1146
- }>) => import("../../../base/lib/actions/input/builder").Value<number | null, {
1147
- storeRoot: {
1148
- storeLeaf: "value";
1149
- };
1150
- }>;
1151
- dynamicColor: (getA: import("../../../base/lib/actions/input/builder/inputSpec").LazyBuild<{
1152
- storeRoot: {
1153
- storeLeaf: "value";
1154
- };
1155
- }, {
1156
- name: string;
1157
- description?: string | null;
1158
- warning?: string | null;
1159
- default: string | null;
1160
- required: boolean;
1161
- disabled?: false | string;
1162
- }>) => import("../../../base/lib/actions/input/builder").Value<string | null, {
1163
- storeRoot: {
1164
- storeLeaf: "value";
1165
- };
1166
- }>;
1167
- dynamicDatetime: (getA: import("../../../base/lib/actions/input/builder/inputSpec").LazyBuild<{
1168
- storeRoot: {
1169
- storeLeaf: "value";
1170
- };
1171
- }, {
1172
- name: string;
1173
- description?: string | null;
1174
- warning?: string | null;
1175
- default: string | null;
1176
- required: boolean;
1177
- inputmode?: import("../../../base/lib/actions/input/inputSpecTypes").ValueSpecDatetime["inputmode"];
1178
- min?: string | null;
1179
- max?: string | null;
1180
- disabled?: false | string;
1181
- }>) => import("../../../base/lib/actions/input/builder").Value<string | null, {
1182
- storeRoot: {
1183
- storeLeaf: "value";
486
+ }, mounts: import("../mainFn/Mounts").Mounts<{
487
+ id: "testOutput";
488
+ title: string;
489
+ license: string;
490
+ replaces: never[];
491
+ wrapperRepo: string;
492
+ upstreamRepo: string;
493
+ supportSite: string;
494
+ marketingSite: string;
495
+ donationUrl: null;
496
+ description: {
497
+ short: string;
498
+ long: string;
1184
499
  };
1185
- }>;
1186
- dynamicSelect: (getA: import("../../../base/lib/actions/input/builder/inputSpec").LazyBuild<{
1187
- storeRoot: {
1188
- storeLeaf: "value";
500
+ containers: {};
501
+ images: {
502
+ main: {
503
+ source: {
504
+ dockerTag: string;
505
+ };
506
+ arch: ["aarch64", "x86_64"];
507
+ emulateMissingAs: "aarch64";
508
+ };
1189
509
  };
1190
- }, {
1191
- name: string;
1192
- description?: string | null;
1193
- warning?: string | null;
1194
- default: string;
1195
- values: Record<string, string>;
1196
- disabled?: false | string | string[];
1197
- }>) => import("../../../base/lib/actions/input/builder").Value<string, {
1198
- storeRoot: {
1199
- storeLeaf: "value";
510
+ volumes: never[];
511
+ assets: never[];
512
+ alerts: {
513
+ install: null;
514
+ update: null;
515
+ uninstall: null;
516
+ restore: null;
517
+ start: null;
518
+ stop: null;
1200
519
  };
1201
- }>;
1202
- dynamicMultiselect: (getA: import("../../../base/lib/actions/input/builder/inputSpec").LazyBuild<{
1203
- storeRoot: {
1204
- storeLeaf: "value";
520
+ dependencies: {
521
+ "remote-test": {
522
+ description: string;
523
+ optional: false;
524
+ s9pk: string;
525
+ };
1205
526
  };
1206
- }, {
1207
- name: string;
1208
- description?: string | null;
1209
- warning?: string | null;
1210
- default: string[];
1211
- values: Record<string, string>;
1212
- minLength?: number | null;
1213
- maxLength?: number | null;
1214
- disabled?: false | string | string[];
1215
- }>) => import("../../../base/lib/actions/input/builder").Value<string[], {
1216
- storeRoot: {
1217
- storeLeaf: "value";
527
+ }, never> | null, name: string): Promise<import("../util/SubContainer").SubContainerOwned<{
528
+ id: "testOutput";
529
+ title: string;
530
+ license: string;
531
+ replaces: never[];
532
+ wrapperRepo: string;
533
+ upstreamRepo: string;
534
+ supportSite: string;
535
+ marketingSite: string;
536
+ donationUrl: null;
537
+ description: {
538
+ short: string;
539
+ long: string;
1218
540
  };
1219
- }>;
1220
- filteredUnion: <VariantValues extends {
1221
- [x: string]: {
1222
- name: string;
1223
- spec: import("../../../base/lib/actions/input/builder").InputSpec<any, never> | import("../../../base/lib/actions/input/builder").InputSpec<any, {
1224
- storeRoot: {
1225
- storeLeaf: "value";
541
+ containers: {};
542
+ images: {
543
+ main: {
544
+ source: {
545
+ dockerTag: string;
1226
546
  };
1227
- }>;
1228
- };
1229
- }>(getDisabledFn: import("../../../base/lib/actions/input/builder/inputSpec").LazyBuild<{
1230
- storeRoot: {
1231
- storeLeaf: "value";
547
+ arch: ["aarch64", "x86_64"];
548
+ emulateMissingAs: "aarch64";
549
+ };
1232
550
  };
1233
- }, string | false | string[]>, a: {
1234
- name: string;
1235
- description?: string | null;
1236
- warning?: string | null;
1237
- default: keyof VariantValues & string;
1238
- }, aVariants: import("../../../base/lib/actions/input/builder").Variants<VariantValues, {
1239
- storeRoot: {
1240
- storeLeaf: "value";
551
+ volumes: never[];
552
+ assets: never[];
553
+ alerts: {
554
+ install: null;
555
+ update: null;
556
+ uninstall: null;
557
+ restore: null;
558
+ start: null;
559
+ stop: null;
1241
560
  };
1242
- }> | import("../../../base/lib/actions/input/builder").Variants<VariantValues, never>) => import("../../../base/lib/actions/input/builder").Value<import("../../../base/lib/actions/input/builder/variants").UnionRes<{
1243
- storeRoot: {
1244
- storeLeaf: "value";
561
+ dependencies: {
562
+ "remote-test": {
563
+ description: string;
564
+ optional: false;
565
+ s9pk: string;
566
+ };
1245
567
  };
1246
- }, VariantValues, keyof VariantValues & string> | import("../../../base/lib/actions/input/builder/variants").UnionRes<never, VariantValues, keyof VariantValues & string>, {
1247
- storeRoot: {
1248
- storeLeaf: "value";
568
+ }, import("../types").Effects>>;
569
+ withTemp<T>(effects: import("../types").Effects, image: {
570
+ imageId: "main";
571
+ sharedRun?: boolean;
572
+ }, mounts: import("../mainFn/Mounts").Mounts<{
573
+ id: "testOutput";
574
+ title: string;
575
+ license: string;
576
+ replaces: never[];
577
+ wrapperRepo: string;
578
+ upstreamRepo: string;
579
+ supportSite: string;
580
+ marketingSite: string;
581
+ donationUrl: null;
582
+ description: {
583
+ short: string;
584
+ long: string;
1249
585
  };
1250
- }>;
1251
- dynamicUnion: <VariantValues extends {
1252
- [x: string]: {
1253
- name: string;
1254
- spec: import("../../../base/lib/actions/input/builder").InputSpec<any, never> | import("../../../base/lib/actions/input/builder").InputSpec<any, {
1255
- storeRoot: {
1256
- storeLeaf: "value";
586
+ containers: {};
587
+ images: {
588
+ main: {
589
+ source: {
590
+ dockerTag: string;
1257
591
  };
1258
- }>;
1259
- };
1260
- }>(getA: import("../../../base/lib/actions/input/builder/inputSpec").LazyBuild<{
1261
- storeRoot: {
1262
- storeLeaf: "value";
592
+ arch: ["aarch64", "x86_64"];
593
+ emulateMissingAs: "aarch64";
594
+ };
1263
595
  };
1264
- }, {
1265
- name: string;
1266
- description?: string | null;
1267
- warning?: string | null;
1268
- default: keyof VariantValues & string;
1269
- disabled: string[] | false | string;
1270
- }>, aVariants: import("../../../base/lib/actions/input/builder").Variants<VariantValues, {
1271
- storeRoot: {
1272
- storeLeaf: "value";
596
+ volumes: never[];
597
+ assets: never[];
598
+ alerts: {
599
+ install: null;
600
+ update: null;
601
+ uninstall: null;
602
+ restore: null;
603
+ start: null;
604
+ stop: null;
1273
605
  };
1274
- }> | import("../../../base/lib/actions/input/builder").Variants<VariantValues, never>) => import("../../../base/lib/actions/input/builder").Value<import("../../../base/lib/actions/input/builder/variants").UnionRes<{
1275
- storeRoot: {
1276
- storeLeaf: "value";
606
+ dependencies: {
607
+ "remote-test": {
608
+ description: string;
609
+ optional: false;
610
+ s9pk: string;
611
+ };
1277
612
  };
1278
- }, VariantValues, keyof VariantValues & string> | import("../../../base/lib/actions/input/builder/variants").UnionRes<never, VariantValues, keyof VariantValues & string>, {
1279
- storeRoot: {
1280
- storeLeaf: "value";
613
+ }, never> | null, name: string, fn: (subContainer: import("..").SubContainer<{
614
+ id: "testOutput";
615
+ title: string;
616
+ license: string;
617
+ replaces: never[];
618
+ wrapperRepo: string;
619
+ upstreamRepo: string;
620
+ supportSite: string;
621
+ marketingSite: string;
622
+ donationUrl: null;
623
+ description: {
624
+ short: string;
625
+ long: string;
1281
626
  };
1282
- }>;
1283
- };
1284
- Variants: {
1285
- of: <VariantValues extends {
1286
- [x: string]: {
1287
- name: string;
1288
- spec: import("../../../base/lib/actions/input/builder").InputSpec<any, {
1289
- storeRoot: {
1290
- storeLeaf: "value";
627
+ containers: {};
628
+ images: {
629
+ main: {
630
+ source: {
631
+ dockerTag: string;
1291
632
  };
1292
- }>;
633
+ arch: ["aarch64", "x86_64"];
634
+ emulateMissingAs: "aarch64";
635
+ };
636
+ };
637
+ volumes: never[];
638
+ assets: never[];
639
+ alerts: {
640
+ install: null;
641
+ update: null;
642
+ uninstall: null;
643
+ restore: null;
644
+ start: null;
645
+ stop: null;
1293
646
  };
1294
- }>(a: VariantValues) => import("../../../base/lib/actions/input/builder").Variants<VariantValues, {
1295
- storeRoot: {
1296
- storeLeaf: "value";
647
+ dependencies: {
648
+ "remote-test": {
649
+ description: string;
650
+ optional: false;
651
+ s9pk: string;
652
+ };
1297
653
  };
1298
- }>;
654
+ }, import("../types").Effects>) => Promise<T>): Promise<T>;
1299
655
  };
656
+ List: typeof import("../../../base/lib/actions/input/builder").List;
657
+ Value: typeof import("../../../base/lib/actions/input/builder").Value;
658
+ Variants: typeof import("../../../base/lib/actions/input/builder").Variants;
1300
659
  restart: (effects: import("../types").Effects) => Promise<null>;
1301
660
  shutdown: (effects: import("../types").Effects) => Promise<null>;
1302
661
  getStatus: (effects: import("../types").Effects, options: {
@@ -1317,9 +676,6 @@ export declare const sdk: {
1317
676
  };
1318
677
  }) => Promise<string>;
1319
678
  getInstalledPackages: (effects: import("../types").Effects) => Promise<string[]>;
1320
- exposeForDependents: (effects: import("../types").Effects, options: {
1321
- paths: string[];
1322
- }) => Promise<null>;
1323
679
  getServicePortForward: (effects: import("../types").Effects, options: {
1324
680
  packageId?: import("../types").PackageId;
1325
681
  hostId: import("../types").HostId;
@@ -1336,10 +692,6 @@ export declare const sdk: {
1336
692
  hostnames: string[];
1337
693
  algorithm?: "ecdsa" | "ed25519";
1338
694
  }) => Promise<string>;
1339
- setDataVersion: (effects: import("../types").Effects, options: {
1340
- version: string;
1341
- }) => Promise<null>;
1342
- getDataVersion: (effects: import("../types").Effects) => Promise<string | null>;
1343
695
  manifest: {
1344
696
  id: "testOutput";
1345
697
  title: string;