@start9labs/start-sdk 1.0.0 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +42 -0
- package/base/lib/actions/input/builder/inputSpec.d.ts +1 -1
- package/base/lib/actions/input/builder/inputSpecTools.d.ts +17 -0
- package/base/lib/actions/input/builder/inputSpecTools.js.map +1 -1
- package/base/lib/actions/input/builder/value.d.ts +73 -1
- package/base/lib/actions/input/builder/value.js +67 -1
- package/base/lib/actions/input/builder/value.js.map +1 -1
- package/base/lib/actions/input/inputSpecConstants.js +1 -1
- package/base/lib/actions/input/inputSpecConstants.js.map +1 -1
- package/base/lib/actions/input/inputSpecTypes.d.ts +35 -2
- package/base/lib/actions/input/inputSpecTypes.js.map +1 -1
- package/base/lib/actions/setupActions.d.ts +14 -20
- package/base/lib/actions/setupActions.js +16 -14
- package/base/lib/actions/setupActions.js.map +1 -1
- package/base/lib/coverage/lcov-report/block-navigation.js +1 -1
- package/base/lib/coverage/lcov-report/sorter.js +21 -7
- package/base/lib/osBindings/CountEntry.d.ts +4 -0
- package/base/lib/osBindings/CountEntry.js +4 -0
- package/base/lib/osBindings/CountEntry.js.map +1 -0
- package/base/lib/osBindings/DownloadsResponse.d.ts +7 -0
- package/base/lib/osBindings/DownloadsResponse.js +3 -0
- package/base/lib/osBindings/DownloadsResponse.js.map +1 -0
- package/base/lib/osBindings/GetDownloadsParams.d.ts +18 -0
- package/base/lib/osBindings/GetDownloadsParams.js +4 -0
- package/base/lib/osBindings/GetDownloadsParams.js.map +1 -0
- package/base/lib/osBindings/GetUsersParams.d.ts +10 -0
- package/base/lib/osBindings/GetUsersParams.js +4 -0
- package/base/lib/osBindings/GetUsersParams.js.map +1 -0
- package/base/lib/osBindings/Hostname.d.ts +1 -0
- package/base/lib/osBindings/Hostname.js +4 -0
- package/base/lib/osBindings/Hostname.js.map +1 -0
- package/base/lib/osBindings/MetricsSummary.d.ts +8 -0
- package/base/lib/osBindings/MetricsSummary.js +3 -0
- package/base/lib/osBindings/MetricsSummary.js.map +1 -0
- package/base/lib/osBindings/PackageVersionCount.d.ts +5 -0
- package/base/lib/osBindings/PackageVersionCount.js +4 -0
- package/base/lib/osBindings/PackageVersionCount.js.map +1 -0
- package/base/lib/osBindings/ServerInfo.d.ts +0 -2
- package/base/lib/osBindings/UsersResponse.d.ts +4 -0
- package/base/lib/osBindings/UsersResponse.js +4 -0
- package/base/lib/osBindings/UsersResponse.js.map +1 -0
- package/base/lib/osBindings/index.d.ts +7 -0
- package/base/lib/osBindings/index.js.map +1 -1
- package/base/lib/util/Drop.d.ts +1 -0
- package/base/lib/util/Drop.js +3 -1
- package/base/lib/util/Drop.js.map +1 -1
- package/package/lib/StartSdk.d.ts +35 -15
- package/package/lib/StartSdk.js +30 -10
- package/package/lib/StartSdk.js.map +1 -1
- package/package/lib/health/checkFns/HealthCheckResult.d.ts +11 -3
- package/package/lib/health/checkFns/checkPortListening.d.ts +12 -2
- package/package/lib/health/checkFns/checkPortListening.js +12 -2
- package/package/lib/health/checkFns/checkPortListening.js.map +1 -1
- package/package/lib/health/checkFns/checkWebUrl.d.ts +10 -4
- package/package/lib/health/checkFns/checkWebUrl.js +10 -4
- package/package/lib/health/checkFns/checkWebUrl.js.map +1 -1
- package/package/lib/health/checkFns/runHealthScript.d.ts +11 -5
- package/package/lib/health/checkFns/runHealthScript.js +11 -5
- package/package/lib/health/checkFns/runHealthScript.js.map +1 -1
- package/package/lib/mainFn/Daemons.d.ts +114 -34
- package/package/lib/mainFn/Daemons.js +9 -4
- package/package/lib/mainFn/Daemons.js.map +1 -1
- package/package/lib/test/output.d.ts +158 -0
- package/package/lib/test/output.js +446 -0
- package/package/lib/test/output.js.map +1 -0
- package/package/lib/test/output.sdk.d.ts +78 -698
- package/package/lib/trigger/TriggerInput.d.ts +7 -0
- package/package/lib/trigger/cooldownTrigger.d.ts +15 -0
- package/package/lib/trigger/cooldownTrigger.js +15 -0
- package/package/lib/trigger/cooldownTrigger.js.map +1 -1
- package/package/lib/trigger/defaultTrigger.d.ts +6 -0
- package/package/lib/trigger/defaultTrigger.js +11 -5
- package/package/lib/trigger/defaultTrigger.js.map +1 -1
- package/package/lib/trigger/index.d.ts +12 -1
- package/package/lib/trigger/index.js +3 -3
- package/package/lib/trigger/index.js.map +1 -1
- package/package/lib/trigger/statusTrigger.d.ts +24 -0
- package/package/lib/trigger/statusTrigger.js +33 -0
- package/package/lib/trigger/statusTrigger.js.map +1 -0
- package/package/lib/util/SubContainer.js +1 -1
- package/package/lib/util/SubContainer.js.map +1 -1
- package/package/lib/util/fileHelper.d.ts +28 -87
- package/package/lib/util/fileHelper.js +43 -87
- package/package/lib/util/fileHelper.js.map +1 -1
- package/package/lib/version/VersionInfo.d.ts +13 -11
- package/package/lib/version/VersionInfo.js +17 -25
- package/package/lib/version/VersionInfo.js.map +1 -1
- package/package/package.json +14 -14
- package/package.json +14 -14
|
@@ -12,7 +12,7 @@ export declare const sdk: {
|
|
|
12
12
|
createOwnTask: <T extends import("../../../base/lib/actions/setupActions").ActionInfo<import("../types").ActionId, any>>(effects: import("../types").Effects, action: T, severity: import("../types").TaskSeverity, options?: import("../../../base/lib/actions").TaskOptions<T> | undefined) => Promise<null>;
|
|
13
13
|
clearTask: (effects: import("../types").Effects, ...replayIds: string[]) => Promise<null>;
|
|
14
14
|
};
|
|
15
|
-
checkDependencies: <DependencyId extends
|
|
15
|
+
checkDependencies: <DependencyId extends string = string>(effects: import("../types").Effects, packageIds?: DependencyId[] | undefined) => Promise<import("../../../base/lib/dependencies/dependencies").CheckDependencies<DependencyId>>;
|
|
16
16
|
serviceInterface: {
|
|
17
17
|
getOwn: typeof import("../../../base/lib/util/getServiceInterface").getOwnServiceInterface;
|
|
18
18
|
get: typeof import("../util").getServiceInterface;
|
|
@@ -27,7 +27,10 @@ export declare const sdk: {
|
|
|
27
27
|
nullIfEmpty: typeof import("../util").nullIfEmpty;
|
|
28
28
|
useEntrypoint: (overrideCmd?: string[]) => import("../types").UseEntrypoint;
|
|
29
29
|
Action: {
|
|
30
|
-
withInput:
|
|
30
|
+
withInput: <Id extends import("../types").ActionId, InputSpecType extends import("../../../base/lib/actions/input/builder").InputSpec<Record<string, any>>>(id: Id, metadata: import("../../../base/lib/actions/setupActions").MaybeFn<Omit<import("../types").ActionMetadata, "hasInput">>, inputSpec: import("../../../base/lib/actions/setupActions").MaybeFn<InputSpecType, {
|
|
31
|
+
effects: import("../types").Effects;
|
|
32
|
+
prefill: unknown | null;
|
|
33
|
+
}>, getInput: import("../../../base/lib/actions/setupActions").GetInput<import("../../../base/lib/actions/input/builder/inputSpec").ExtractInputSpecType<InputSpecType>>, run: import("../../../base/lib/actions/setupActions").Run<import("../../../base/lib/actions/input/builder/inputSpec").ExtractInputSpecType<InputSpecType>>) => import("../../../base/lib/actions/setupActions").Action<Id, import("../../../base/lib/actions/input/builder/inputSpec").ExtractInputSpecType<InputSpecType>>;
|
|
31
34
|
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, {}>;
|
|
32
35
|
};
|
|
33
36
|
inputSpecConstants: {
|
|
@@ -2268,92 +2271,21 @@ export declare const sdk: {
|
|
|
2268
2271
|
};
|
|
2269
2272
|
patterns: typeof import("../../../base/lib/util/patterns");
|
|
2270
2273
|
Actions: {
|
|
2271
|
-
new (actions: {}): import("../../../base/lib/actions/setupActions").Actions<{}>;
|
|
2272
2274
|
of(): import("../../../base/lib/actions/setupActions").Actions<{}>;
|
|
2273
2275
|
};
|
|
2274
2276
|
setupBackups: (options: import("../backup/setupBackups").SetupBackupsParams<{
|
|
2275
|
-
id:
|
|
2276
|
-
|
|
2277
|
-
|
|
2278
|
-
packageRepo: string;
|
|
2279
|
-
upstreamRepo: string;
|
|
2280
|
-
marketingUrl: string;
|
|
2281
|
-
donationUrl: null;
|
|
2282
|
-
docsUrls: never[];
|
|
2283
|
-
description: {
|
|
2284
|
-
short: string;
|
|
2285
|
-
long: string;
|
|
2286
|
-
};
|
|
2287
|
-
images: {
|
|
2288
|
-
main: {
|
|
2289
|
-
source: {
|
|
2290
|
-
dockerTag: string;
|
|
2291
|
-
};
|
|
2292
|
-
arch: ["aarch64", "x86_64"];
|
|
2293
|
-
emulateMissingAs: "aarch64";
|
|
2294
|
-
};
|
|
2295
|
-
};
|
|
2296
|
-
volumes: never[];
|
|
2297
|
-
alerts: {
|
|
2298
|
-
install: null;
|
|
2299
|
-
update: null;
|
|
2300
|
-
uninstall: null;
|
|
2301
|
-
restore: null;
|
|
2302
|
-
start: null;
|
|
2303
|
-
stop: null;
|
|
2304
|
-
};
|
|
2305
|
-
dependencies: {
|
|
2306
|
-
'remote-test': {
|
|
2307
|
-
description: string;
|
|
2308
|
-
optional: false;
|
|
2309
|
-
s9pk: string;
|
|
2310
|
-
};
|
|
2311
|
-
};
|
|
2312
|
-
}>) => {
|
|
2277
|
+
id: string;
|
|
2278
|
+
volumes: string[];
|
|
2279
|
+
} & import("../types").SDKManifest>) => {
|
|
2313
2280
|
createBackup: import("../types").ExpectedExports.createBackup;
|
|
2314
2281
|
restoreInit: import("../../../base/lib/inits").InitScript;
|
|
2315
2282
|
};
|
|
2316
2283
|
setupDependencies: (fn: (options: {
|
|
2317
2284
|
effects: import("../types").Effects;
|
|
2318
2285
|
}) => Promise<import("../types").CurrentDependenciesResult<{
|
|
2319
|
-
id:
|
|
2320
|
-
|
|
2321
|
-
|
|
2322
|
-
packageRepo: string;
|
|
2323
|
-
upstreamRepo: string;
|
|
2324
|
-
marketingUrl: string;
|
|
2325
|
-
donationUrl: null;
|
|
2326
|
-
docsUrls: never[];
|
|
2327
|
-
description: {
|
|
2328
|
-
short: string;
|
|
2329
|
-
long: string;
|
|
2330
|
-
};
|
|
2331
|
-
images: {
|
|
2332
|
-
main: {
|
|
2333
|
-
source: {
|
|
2334
|
-
dockerTag: string;
|
|
2335
|
-
};
|
|
2336
|
-
arch: ["aarch64", "x86_64"];
|
|
2337
|
-
emulateMissingAs: "aarch64";
|
|
2338
|
-
};
|
|
2339
|
-
};
|
|
2340
|
-
volumes: never[];
|
|
2341
|
-
alerts: {
|
|
2342
|
-
install: null;
|
|
2343
|
-
update: null;
|
|
2344
|
-
uninstall: null;
|
|
2345
|
-
restore: null;
|
|
2346
|
-
start: null;
|
|
2347
|
-
stop: null;
|
|
2348
|
-
};
|
|
2349
|
-
dependencies: {
|
|
2350
|
-
'remote-test': {
|
|
2351
|
-
description: string;
|
|
2352
|
-
optional: false;
|
|
2353
|
-
s9pk: string;
|
|
2354
|
-
};
|
|
2355
|
-
};
|
|
2356
|
-
}>>) => (effects: import("../types").Effects) => Promise<null>;
|
|
2286
|
+
id: string;
|
|
2287
|
+
volumes: string[];
|
|
2288
|
+
} & import("../types").SDKManifest>>) => (effects: import("../types").Effects) => Promise<null>;
|
|
2357
2289
|
setupOnInit: typeof import("../../../base/lib/inits").setupOnInit;
|
|
2358
2290
|
setupOnUninit: typeof import("../../../base/lib/inits").setupOnUninit;
|
|
2359
2291
|
setupInit: typeof import("../../../base/lib/inits").setupInit;
|
|
@@ -2362,575 +2294,93 @@ export declare const sdk: {
|
|
|
2362
2294
|
setupMain: (fn: (o: {
|
|
2363
2295
|
effects: import("../types").Effects;
|
|
2364
2296
|
}) => Promise<import("..").Daemons<{
|
|
2365
|
-
id:
|
|
2366
|
-
|
|
2367
|
-
|
|
2368
|
-
packageRepo: string;
|
|
2369
|
-
upstreamRepo: string;
|
|
2370
|
-
marketingUrl: string;
|
|
2371
|
-
donationUrl: null;
|
|
2372
|
-
docsUrls: never[];
|
|
2373
|
-
description: {
|
|
2374
|
-
short: string;
|
|
2375
|
-
long: string;
|
|
2376
|
-
};
|
|
2377
|
-
images: {
|
|
2378
|
-
main: {
|
|
2379
|
-
source: {
|
|
2380
|
-
dockerTag: string;
|
|
2381
|
-
};
|
|
2382
|
-
arch: ["aarch64", "x86_64"];
|
|
2383
|
-
emulateMissingAs: "aarch64";
|
|
2384
|
-
};
|
|
2385
|
-
};
|
|
2386
|
-
volumes: never[];
|
|
2387
|
-
alerts: {
|
|
2388
|
-
install: null;
|
|
2389
|
-
update: null;
|
|
2390
|
-
uninstall: null;
|
|
2391
|
-
restore: null;
|
|
2392
|
-
start: null;
|
|
2393
|
-
stop: null;
|
|
2394
|
-
};
|
|
2395
|
-
dependencies: {
|
|
2396
|
-
'remote-test': {
|
|
2397
|
-
description: string;
|
|
2398
|
-
optional: false;
|
|
2399
|
-
s9pk: string;
|
|
2400
|
-
};
|
|
2401
|
-
};
|
|
2402
|
-
}, any>>) => import("../types").ExpectedExports.main;
|
|
2297
|
+
id: string;
|
|
2298
|
+
volumes: string[];
|
|
2299
|
+
} & import("../types").SDKManifest, any>>) => import("../types").ExpectedExports.main;
|
|
2403
2300
|
trigger: {
|
|
2404
2301
|
defaultTrigger: import("../trigger").Trigger;
|
|
2405
2302
|
cooldownTrigger: typeof import("../trigger").cooldownTrigger;
|
|
2406
|
-
|
|
2407
|
-
successFailure: (o: {
|
|
2408
|
-
duringSuccess: import("../trigger").Trigger;
|
|
2409
|
-
duringError: import("../trigger").Trigger;
|
|
2410
|
-
}) => import("../trigger").Trigger;
|
|
2303
|
+
statusTrigger: typeof import("../trigger").statusTrigger;
|
|
2411
2304
|
};
|
|
2412
2305
|
Mounts: {
|
|
2413
2306
|
of: () => import("../mainFn/Mounts").Mounts<{
|
|
2414
|
-
id:
|
|
2415
|
-
|
|
2416
|
-
|
|
2417
|
-
packageRepo: string;
|
|
2418
|
-
upstreamRepo: string;
|
|
2419
|
-
marketingUrl: string;
|
|
2420
|
-
donationUrl: null;
|
|
2421
|
-
docsUrls: never[];
|
|
2422
|
-
description: {
|
|
2423
|
-
short: string;
|
|
2424
|
-
long: string;
|
|
2425
|
-
};
|
|
2426
|
-
images: {
|
|
2427
|
-
main: {
|
|
2428
|
-
source: {
|
|
2429
|
-
dockerTag: string;
|
|
2430
|
-
};
|
|
2431
|
-
arch: ["aarch64", "x86_64"];
|
|
2432
|
-
emulateMissingAs: "aarch64";
|
|
2433
|
-
};
|
|
2434
|
-
};
|
|
2435
|
-
volumes: never[];
|
|
2436
|
-
alerts: {
|
|
2437
|
-
install: null;
|
|
2438
|
-
update: null;
|
|
2439
|
-
uninstall: null;
|
|
2440
|
-
restore: null;
|
|
2441
|
-
start: null;
|
|
2442
|
-
stop: null;
|
|
2443
|
-
};
|
|
2444
|
-
dependencies: {
|
|
2445
|
-
'remote-test': {
|
|
2446
|
-
description: string;
|
|
2447
|
-
optional: false;
|
|
2448
|
-
s9pk: string;
|
|
2449
|
-
};
|
|
2450
|
-
};
|
|
2451
|
-
}, never>;
|
|
2307
|
+
id: string;
|
|
2308
|
+
volumes: string[];
|
|
2309
|
+
} & import("../types").SDKManifest, never>;
|
|
2452
2310
|
};
|
|
2453
2311
|
Backups: {
|
|
2454
|
-
ofVolumes: (...volumeNames:
|
|
2455
|
-
id:
|
|
2456
|
-
|
|
2457
|
-
|
|
2458
|
-
|
|
2459
|
-
|
|
2460
|
-
|
|
2461
|
-
|
|
2462
|
-
docsUrls: never[];
|
|
2463
|
-
description: {
|
|
2464
|
-
short: string;
|
|
2465
|
-
long: string;
|
|
2466
|
-
};
|
|
2467
|
-
images: {
|
|
2468
|
-
main: {
|
|
2469
|
-
source: {
|
|
2470
|
-
dockerTag: string;
|
|
2471
|
-
};
|
|
2472
|
-
arch: ["aarch64", "x86_64"];
|
|
2473
|
-
emulateMissingAs: "aarch64";
|
|
2474
|
-
};
|
|
2475
|
-
};
|
|
2476
|
-
volumes: never[];
|
|
2477
|
-
alerts: {
|
|
2478
|
-
install: null;
|
|
2479
|
-
update: null;
|
|
2480
|
-
uninstall: null;
|
|
2481
|
-
restore: null;
|
|
2482
|
-
start: null;
|
|
2483
|
-
stop: null;
|
|
2484
|
-
};
|
|
2485
|
-
dependencies: {
|
|
2486
|
-
'remote-test': {
|
|
2487
|
-
description: string;
|
|
2488
|
-
optional: false;
|
|
2489
|
-
s9pk: string;
|
|
2490
|
-
};
|
|
2491
|
-
};
|
|
2492
|
-
}>;
|
|
2493
|
-
ofSyncs: (...syncs: import("../backup/Backups").BackupSync<never>[]) => import("../backup/Backups").Backups<{
|
|
2494
|
-
id: "testOutput";
|
|
2495
|
-
title: string;
|
|
2496
|
-
license: string;
|
|
2497
|
-
packageRepo: string;
|
|
2498
|
-
upstreamRepo: string;
|
|
2499
|
-
marketingUrl: string;
|
|
2500
|
-
donationUrl: null;
|
|
2501
|
-
docsUrls: never[];
|
|
2502
|
-
description: {
|
|
2503
|
-
short: string;
|
|
2504
|
-
long: string;
|
|
2505
|
-
};
|
|
2506
|
-
images: {
|
|
2507
|
-
main: {
|
|
2508
|
-
source: {
|
|
2509
|
-
dockerTag: string;
|
|
2510
|
-
};
|
|
2511
|
-
arch: ["aarch64", "x86_64"];
|
|
2512
|
-
emulateMissingAs: "aarch64";
|
|
2513
|
-
};
|
|
2514
|
-
};
|
|
2515
|
-
volumes: never[];
|
|
2516
|
-
alerts: {
|
|
2517
|
-
install: null;
|
|
2518
|
-
update: null;
|
|
2519
|
-
uninstall: null;
|
|
2520
|
-
restore: null;
|
|
2521
|
-
start: null;
|
|
2522
|
-
stop: null;
|
|
2523
|
-
};
|
|
2524
|
-
dependencies: {
|
|
2525
|
-
'remote-test': {
|
|
2526
|
-
description: string;
|
|
2527
|
-
optional: false;
|
|
2528
|
-
s9pk: string;
|
|
2529
|
-
};
|
|
2530
|
-
};
|
|
2531
|
-
}>;
|
|
2312
|
+
ofVolumes: (...volumeNames: string[]) => import("../backup/Backups").Backups<{
|
|
2313
|
+
id: string;
|
|
2314
|
+
volumes: string[];
|
|
2315
|
+
} & import("../types").SDKManifest>;
|
|
2316
|
+
ofSyncs: (...syncs: import("../backup/Backups").BackupSync<string>[]) => import("../backup/Backups").Backups<{
|
|
2317
|
+
id: string;
|
|
2318
|
+
volumes: string[];
|
|
2319
|
+
} & import("../types").SDKManifest>;
|
|
2532
2320
|
withOptions: (options?: Partial<import("../types").SyncOptions>) => import("../backup/Backups").Backups<{
|
|
2533
|
-
id:
|
|
2534
|
-
|
|
2535
|
-
|
|
2536
|
-
packageRepo: string;
|
|
2537
|
-
upstreamRepo: string;
|
|
2538
|
-
marketingUrl: string;
|
|
2539
|
-
donationUrl: null;
|
|
2540
|
-
docsUrls: never[];
|
|
2541
|
-
description: {
|
|
2542
|
-
short: string;
|
|
2543
|
-
long: string;
|
|
2544
|
-
};
|
|
2545
|
-
images: {
|
|
2546
|
-
main: {
|
|
2547
|
-
source: {
|
|
2548
|
-
dockerTag: string;
|
|
2549
|
-
};
|
|
2550
|
-
arch: ["aarch64", "x86_64"];
|
|
2551
|
-
emulateMissingAs: "aarch64";
|
|
2552
|
-
};
|
|
2553
|
-
};
|
|
2554
|
-
volumes: never[];
|
|
2555
|
-
alerts: {
|
|
2556
|
-
install: null;
|
|
2557
|
-
update: null;
|
|
2558
|
-
uninstall: null;
|
|
2559
|
-
restore: null;
|
|
2560
|
-
start: null;
|
|
2561
|
-
stop: null;
|
|
2562
|
-
};
|
|
2563
|
-
dependencies: {
|
|
2564
|
-
'remote-test': {
|
|
2565
|
-
description: string;
|
|
2566
|
-
optional: false;
|
|
2567
|
-
s9pk: string;
|
|
2568
|
-
};
|
|
2569
|
-
};
|
|
2570
|
-
}>;
|
|
2321
|
+
id: string;
|
|
2322
|
+
volumes: string[];
|
|
2323
|
+
} & import("../types").SDKManifest>;
|
|
2571
2324
|
withPgDump: (config: import("../backup/Backups").PgDumpConfig<{
|
|
2572
|
-
id:
|
|
2573
|
-
|
|
2574
|
-
|
|
2575
|
-
|
|
2576
|
-
|
|
2577
|
-
|
|
2578
|
-
donationUrl: null;
|
|
2579
|
-
docsUrls: never[];
|
|
2580
|
-
description: {
|
|
2581
|
-
short: string;
|
|
2582
|
-
long: string;
|
|
2583
|
-
};
|
|
2584
|
-
images: {
|
|
2585
|
-
main: {
|
|
2586
|
-
source: {
|
|
2587
|
-
dockerTag: string;
|
|
2588
|
-
};
|
|
2589
|
-
arch: ["aarch64", "x86_64"];
|
|
2590
|
-
emulateMissingAs: "aarch64";
|
|
2591
|
-
};
|
|
2592
|
-
};
|
|
2593
|
-
volumes: never[];
|
|
2594
|
-
alerts: {
|
|
2595
|
-
install: null;
|
|
2596
|
-
update: null;
|
|
2597
|
-
uninstall: null;
|
|
2598
|
-
restore: null;
|
|
2599
|
-
start: null;
|
|
2600
|
-
stop: null;
|
|
2601
|
-
};
|
|
2602
|
-
dependencies: {
|
|
2603
|
-
'remote-test': {
|
|
2604
|
-
description: string;
|
|
2605
|
-
optional: false;
|
|
2606
|
-
s9pk: string;
|
|
2607
|
-
};
|
|
2608
|
-
};
|
|
2609
|
-
}>) => import("../backup/Backups").Backups<{
|
|
2610
|
-
id: "testOutput";
|
|
2611
|
-
title: string;
|
|
2612
|
-
license: string;
|
|
2613
|
-
packageRepo: string;
|
|
2614
|
-
upstreamRepo: string;
|
|
2615
|
-
marketingUrl: string;
|
|
2616
|
-
donationUrl: null;
|
|
2617
|
-
docsUrls: never[];
|
|
2618
|
-
description: {
|
|
2619
|
-
short: string;
|
|
2620
|
-
long: string;
|
|
2621
|
-
};
|
|
2622
|
-
images: {
|
|
2623
|
-
main: {
|
|
2624
|
-
source: {
|
|
2625
|
-
dockerTag: string;
|
|
2626
|
-
};
|
|
2627
|
-
arch: ["aarch64", "x86_64"];
|
|
2628
|
-
emulateMissingAs: "aarch64";
|
|
2629
|
-
};
|
|
2630
|
-
};
|
|
2631
|
-
volumes: never[];
|
|
2632
|
-
alerts: {
|
|
2633
|
-
install: null;
|
|
2634
|
-
update: null;
|
|
2635
|
-
uninstall: null;
|
|
2636
|
-
restore: null;
|
|
2637
|
-
start: null;
|
|
2638
|
-
stop: null;
|
|
2639
|
-
};
|
|
2640
|
-
dependencies: {
|
|
2641
|
-
'remote-test': {
|
|
2642
|
-
description: string;
|
|
2643
|
-
optional: false;
|
|
2644
|
-
s9pk: string;
|
|
2645
|
-
};
|
|
2646
|
-
};
|
|
2647
|
-
}>;
|
|
2325
|
+
id: string;
|
|
2326
|
+
volumes: string[];
|
|
2327
|
+
} & import("../types").SDKManifest>) => import("../backup/Backups").Backups<{
|
|
2328
|
+
id: string;
|
|
2329
|
+
volumes: string[];
|
|
2330
|
+
} & import("../types").SDKManifest>;
|
|
2648
2331
|
withMysqlDump: (config: import("../backup/Backups").MysqlDumpConfig<{
|
|
2649
|
-
id:
|
|
2650
|
-
|
|
2651
|
-
|
|
2652
|
-
|
|
2653
|
-
|
|
2654
|
-
|
|
2655
|
-
donationUrl: null;
|
|
2656
|
-
docsUrls: never[];
|
|
2657
|
-
description: {
|
|
2658
|
-
short: string;
|
|
2659
|
-
long: string;
|
|
2660
|
-
};
|
|
2661
|
-
images: {
|
|
2662
|
-
main: {
|
|
2663
|
-
source: {
|
|
2664
|
-
dockerTag: string;
|
|
2665
|
-
};
|
|
2666
|
-
arch: ["aarch64", "x86_64"];
|
|
2667
|
-
emulateMissingAs: "aarch64";
|
|
2668
|
-
};
|
|
2669
|
-
};
|
|
2670
|
-
volumes: never[];
|
|
2671
|
-
alerts: {
|
|
2672
|
-
install: null;
|
|
2673
|
-
update: null;
|
|
2674
|
-
uninstall: null;
|
|
2675
|
-
restore: null;
|
|
2676
|
-
start: null;
|
|
2677
|
-
stop: null;
|
|
2678
|
-
};
|
|
2679
|
-
dependencies: {
|
|
2680
|
-
'remote-test': {
|
|
2681
|
-
description: string;
|
|
2682
|
-
optional: false;
|
|
2683
|
-
s9pk: string;
|
|
2684
|
-
};
|
|
2685
|
-
};
|
|
2686
|
-
}>) => import("../backup/Backups").Backups<{
|
|
2687
|
-
id: "testOutput";
|
|
2688
|
-
title: string;
|
|
2689
|
-
license: string;
|
|
2690
|
-
packageRepo: string;
|
|
2691
|
-
upstreamRepo: string;
|
|
2692
|
-
marketingUrl: string;
|
|
2693
|
-
donationUrl: null;
|
|
2694
|
-
docsUrls: never[];
|
|
2695
|
-
description: {
|
|
2696
|
-
short: string;
|
|
2697
|
-
long: string;
|
|
2698
|
-
};
|
|
2699
|
-
images: {
|
|
2700
|
-
main: {
|
|
2701
|
-
source: {
|
|
2702
|
-
dockerTag: string;
|
|
2703
|
-
};
|
|
2704
|
-
arch: ["aarch64", "x86_64"];
|
|
2705
|
-
emulateMissingAs: "aarch64";
|
|
2706
|
-
};
|
|
2707
|
-
};
|
|
2708
|
-
volumes: never[];
|
|
2709
|
-
alerts: {
|
|
2710
|
-
install: null;
|
|
2711
|
-
update: null;
|
|
2712
|
-
uninstall: null;
|
|
2713
|
-
restore: null;
|
|
2714
|
-
start: null;
|
|
2715
|
-
stop: null;
|
|
2716
|
-
};
|
|
2717
|
-
dependencies: {
|
|
2718
|
-
'remote-test': {
|
|
2719
|
-
description: string;
|
|
2720
|
-
optional: false;
|
|
2721
|
-
s9pk: string;
|
|
2722
|
-
};
|
|
2723
|
-
};
|
|
2724
|
-
}>;
|
|
2332
|
+
id: string;
|
|
2333
|
+
volumes: string[];
|
|
2334
|
+
} & import("../types").SDKManifest>) => import("../backup/Backups").Backups<{
|
|
2335
|
+
id: string;
|
|
2336
|
+
volumes: string[];
|
|
2337
|
+
} & import("../types").SDKManifest>;
|
|
2725
2338
|
};
|
|
2726
2339
|
InputSpec: {
|
|
2727
|
-
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 extends any, any, unknown> ? T : never; }, { [K_1 in keyof Spec]: Spec[K_1] extends import("../../../base/lib/actions/input/builder").Value<any, infer
|
|
2340
|
+
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 extends any, any, unknown> ? T : never; }, { [K_1 in keyof Spec]: Spec[K_1] extends import("../../../base/lib/actions/input/builder").Value<any, infer T, unknown> ? T : never; }>;
|
|
2728
2341
|
};
|
|
2729
2342
|
Daemon: {
|
|
2730
|
-
readonly of: <C extends import("..").SubContainer<
|
|
2343
|
+
readonly of: <C extends import("..").SubContainer<{
|
|
2344
|
+
id: string;
|
|
2345
|
+
volumes: string[];
|
|
2346
|
+
} & import("../types").SDKManifest, import("../types").Effects> | null>(effects: import("../types").Effects, subcontainer: C, exec: import("../mainFn/Daemons").DaemonCommandType<{
|
|
2347
|
+
id: string;
|
|
2348
|
+
volumes: string[];
|
|
2349
|
+
} & import("../types").SDKManifest, C>) => import("../mainFn/Daemon").Daemon<{
|
|
2350
|
+
id: string;
|
|
2351
|
+
volumes: string[];
|
|
2352
|
+
} & import("../types").SDKManifest, import("..").SubContainer<{
|
|
2353
|
+
id: string;
|
|
2354
|
+
volumes: string[];
|
|
2355
|
+
} & import("../types").SDKManifest, import("../types").Effects> | null>;
|
|
2731
2356
|
};
|
|
2732
2357
|
Daemons: {
|
|
2733
2358
|
of(effects: import("../types").Effects): import("..").Daemons<{
|
|
2734
|
-
id:
|
|
2735
|
-
|
|
2736
|
-
|
|
2737
|
-
packageRepo: string;
|
|
2738
|
-
upstreamRepo: string;
|
|
2739
|
-
marketingUrl: string;
|
|
2740
|
-
donationUrl: null;
|
|
2741
|
-
docsUrls: never[];
|
|
2742
|
-
description: {
|
|
2743
|
-
short: string;
|
|
2744
|
-
long: string;
|
|
2745
|
-
};
|
|
2746
|
-
images: {
|
|
2747
|
-
main: {
|
|
2748
|
-
source: {
|
|
2749
|
-
dockerTag: string;
|
|
2750
|
-
};
|
|
2751
|
-
arch: ["aarch64", "x86_64"];
|
|
2752
|
-
emulateMissingAs: "aarch64";
|
|
2753
|
-
};
|
|
2754
|
-
};
|
|
2755
|
-
volumes: never[];
|
|
2756
|
-
alerts: {
|
|
2757
|
-
install: null;
|
|
2758
|
-
update: null;
|
|
2759
|
-
uninstall: null;
|
|
2760
|
-
restore: null;
|
|
2761
|
-
start: null;
|
|
2762
|
-
stop: null;
|
|
2763
|
-
};
|
|
2764
|
-
dependencies: {
|
|
2765
|
-
'remote-test': {
|
|
2766
|
-
description: string;
|
|
2767
|
-
optional: false;
|
|
2768
|
-
s9pk: string;
|
|
2769
|
-
};
|
|
2770
|
-
};
|
|
2771
|
-
}, never>;
|
|
2359
|
+
id: string;
|
|
2360
|
+
volumes: string[];
|
|
2361
|
+
} & import("../types").SDKManifest, never>;
|
|
2772
2362
|
};
|
|
2773
2363
|
SubContainer: {
|
|
2774
2364
|
of(effects: import("../types").Effects, image: {
|
|
2775
|
-
imageId:
|
|
2365
|
+
imageId: string;
|
|
2776
2366
|
sharedRun?: boolean;
|
|
2777
2367
|
}, mounts: import("../mainFn/Mounts").Mounts<{
|
|
2778
|
-
id:
|
|
2779
|
-
|
|
2780
|
-
|
|
2781
|
-
|
|
2782
|
-
|
|
2783
|
-
|
|
2784
|
-
donationUrl: null;
|
|
2785
|
-
docsUrls: never[];
|
|
2786
|
-
description: {
|
|
2787
|
-
short: string;
|
|
2788
|
-
long: string;
|
|
2789
|
-
};
|
|
2790
|
-
images: {
|
|
2791
|
-
main: {
|
|
2792
|
-
source: {
|
|
2793
|
-
dockerTag: string;
|
|
2794
|
-
};
|
|
2795
|
-
arch: ["aarch64", "x86_64"];
|
|
2796
|
-
emulateMissingAs: "aarch64";
|
|
2797
|
-
};
|
|
2798
|
-
};
|
|
2799
|
-
volumes: never[];
|
|
2800
|
-
alerts: {
|
|
2801
|
-
install: null;
|
|
2802
|
-
update: null;
|
|
2803
|
-
uninstall: null;
|
|
2804
|
-
restore: null;
|
|
2805
|
-
start: null;
|
|
2806
|
-
stop: null;
|
|
2807
|
-
};
|
|
2808
|
-
dependencies: {
|
|
2809
|
-
'remote-test': {
|
|
2810
|
-
description: string;
|
|
2811
|
-
optional: false;
|
|
2812
|
-
s9pk: string;
|
|
2813
|
-
};
|
|
2814
|
-
};
|
|
2815
|
-
}, never> | null, name: string): Promise<import("../util/SubContainer").SubContainerRc<{
|
|
2816
|
-
id: "testOutput";
|
|
2817
|
-
title: string;
|
|
2818
|
-
license: string;
|
|
2819
|
-
packageRepo: string;
|
|
2820
|
-
upstreamRepo: string;
|
|
2821
|
-
marketingUrl: string;
|
|
2822
|
-
donationUrl: null;
|
|
2823
|
-
docsUrls: never[];
|
|
2824
|
-
description: {
|
|
2825
|
-
short: string;
|
|
2826
|
-
long: string;
|
|
2827
|
-
};
|
|
2828
|
-
images: {
|
|
2829
|
-
main: {
|
|
2830
|
-
source: {
|
|
2831
|
-
dockerTag: string;
|
|
2832
|
-
};
|
|
2833
|
-
arch: ["aarch64", "x86_64"];
|
|
2834
|
-
emulateMissingAs: "aarch64";
|
|
2835
|
-
};
|
|
2836
|
-
};
|
|
2837
|
-
volumes: never[];
|
|
2838
|
-
alerts: {
|
|
2839
|
-
install: null;
|
|
2840
|
-
update: null;
|
|
2841
|
-
uninstall: null;
|
|
2842
|
-
restore: null;
|
|
2843
|
-
start: null;
|
|
2844
|
-
stop: null;
|
|
2845
|
-
};
|
|
2846
|
-
dependencies: {
|
|
2847
|
-
'remote-test': {
|
|
2848
|
-
description: string;
|
|
2849
|
-
optional: false;
|
|
2850
|
-
s9pk: string;
|
|
2851
|
-
};
|
|
2852
|
-
};
|
|
2853
|
-
}, import("../types").Effects>>;
|
|
2368
|
+
id: string;
|
|
2369
|
+
volumes: string[];
|
|
2370
|
+
} & import("../types").SDKManifest, never> | null, name: string): Promise<import("../util/SubContainer").SubContainerRc<{
|
|
2371
|
+
id: string;
|
|
2372
|
+
volumes: string[];
|
|
2373
|
+
} & import("../types").SDKManifest, import("../types").Effects>>;
|
|
2854
2374
|
withTemp<T>(effects: import("../types").Effects, image: {
|
|
2855
|
-
imageId:
|
|
2375
|
+
imageId: string;
|
|
2856
2376
|
sharedRun?: boolean;
|
|
2857
2377
|
}, mounts: import("../mainFn/Mounts").Mounts<{
|
|
2858
|
-
id:
|
|
2859
|
-
|
|
2860
|
-
|
|
2861
|
-
|
|
2862
|
-
|
|
2863
|
-
|
|
2864
|
-
donationUrl: null;
|
|
2865
|
-
docsUrls: never[];
|
|
2866
|
-
description: {
|
|
2867
|
-
short: string;
|
|
2868
|
-
long: string;
|
|
2869
|
-
};
|
|
2870
|
-
images: {
|
|
2871
|
-
main: {
|
|
2872
|
-
source: {
|
|
2873
|
-
dockerTag: string;
|
|
2874
|
-
};
|
|
2875
|
-
arch: ["aarch64", "x86_64"];
|
|
2876
|
-
emulateMissingAs: "aarch64";
|
|
2877
|
-
};
|
|
2878
|
-
};
|
|
2879
|
-
volumes: never[];
|
|
2880
|
-
alerts: {
|
|
2881
|
-
install: null;
|
|
2882
|
-
update: null;
|
|
2883
|
-
uninstall: null;
|
|
2884
|
-
restore: null;
|
|
2885
|
-
start: null;
|
|
2886
|
-
stop: null;
|
|
2887
|
-
};
|
|
2888
|
-
dependencies: {
|
|
2889
|
-
'remote-test': {
|
|
2890
|
-
description: string;
|
|
2891
|
-
optional: false;
|
|
2892
|
-
s9pk: string;
|
|
2893
|
-
};
|
|
2894
|
-
};
|
|
2895
|
-
}, never> | null, name: string, fn: (subContainer: import("..").SubContainer<{
|
|
2896
|
-
id: "testOutput";
|
|
2897
|
-
title: string;
|
|
2898
|
-
license: string;
|
|
2899
|
-
packageRepo: string;
|
|
2900
|
-
upstreamRepo: string;
|
|
2901
|
-
marketingUrl: string;
|
|
2902
|
-
donationUrl: null;
|
|
2903
|
-
docsUrls: never[];
|
|
2904
|
-
description: {
|
|
2905
|
-
short: string;
|
|
2906
|
-
long: string;
|
|
2907
|
-
};
|
|
2908
|
-
images: {
|
|
2909
|
-
main: {
|
|
2910
|
-
source: {
|
|
2911
|
-
dockerTag: string;
|
|
2912
|
-
};
|
|
2913
|
-
arch: ["aarch64", "x86_64"];
|
|
2914
|
-
emulateMissingAs: "aarch64";
|
|
2915
|
-
};
|
|
2916
|
-
};
|
|
2917
|
-
volumes: never[];
|
|
2918
|
-
alerts: {
|
|
2919
|
-
install: null;
|
|
2920
|
-
update: null;
|
|
2921
|
-
uninstall: null;
|
|
2922
|
-
restore: null;
|
|
2923
|
-
start: null;
|
|
2924
|
-
stop: null;
|
|
2925
|
-
};
|
|
2926
|
-
dependencies: {
|
|
2927
|
-
'remote-test': {
|
|
2928
|
-
description: string;
|
|
2929
|
-
optional: false;
|
|
2930
|
-
s9pk: string;
|
|
2931
|
-
};
|
|
2932
|
-
};
|
|
2933
|
-
}, import("../types").Effects>) => Promise<T>): Promise<T>;
|
|
2378
|
+
id: string;
|
|
2379
|
+
volumes: string[];
|
|
2380
|
+
} & import("../types").SDKManifest, never> | null, name: string, fn: (subContainer: import("..").SubContainer<{
|
|
2381
|
+
id: string;
|
|
2382
|
+
volumes: string[];
|
|
2383
|
+
} & import("../types").SDKManifest, import("../types").Effects>) => Promise<T>): Promise<T>;
|
|
2934
2384
|
};
|
|
2935
2385
|
List: typeof import("../../../base/lib/actions/input/builder").List;
|
|
2936
2386
|
Value: typeof import("../../../base/lib/actions/input/builder").Value;
|
|
@@ -2964,81 +2414,11 @@ export declare const sdk: {
|
|
|
2964
2414
|
algorithm?: "ecdsa" | "ed25519";
|
|
2965
2415
|
}) => Promise<string>;
|
|
2966
2416
|
manifest: {
|
|
2967
|
-
id:
|
|
2968
|
-
|
|
2969
|
-
|
|
2970
|
-
packageRepo: string;
|
|
2971
|
-
upstreamRepo: string;
|
|
2972
|
-
marketingUrl: string;
|
|
2973
|
-
donationUrl: null;
|
|
2974
|
-
docsUrls: never[];
|
|
2975
|
-
description: {
|
|
2976
|
-
short: string;
|
|
2977
|
-
long: string;
|
|
2978
|
-
};
|
|
2979
|
-
images: {
|
|
2980
|
-
main: {
|
|
2981
|
-
source: {
|
|
2982
|
-
dockerTag: string;
|
|
2983
|
-
};
|
|
2984
|
-
arch: ["aarch64", "x86_64"];
|
|
2985
|
-
emulateMissingAs: "aarch64";
|
|
2986
|
-
};
|
|
2987
|
-
};
|
|
2988
|
-
volumes: never[];
|
|
2989
|
-
alerts: {
|
|
2990
|
-
install: null;
|
|
2991
|
-
update: null;
|
|
2992
|
-
uninstall: null;
|
|
2993
|
-
restore: null;
|
|
2994
|
-
start: null;
|
|
2995
|
-
stop: null;
|
|
2996
|
-
};
|
|
2997
|
-
dependencies: {
|
|
2998
|
-
'remote-test': {
|
|
2999
|
-
description: string;
|
|
3000
|
-
optional: false;
|
|
3001
|
-
s9pk: string;
|
|
3002
|
-
};
|
|
3003
|
-
};
|
|
3004
|
-
};
|
|
2417
|
+
id: string;
|
|
2418
|
+
volumes: string[];
|
|
2419
|
+
} & import("../types").SDKManifest;
|
|
3005
2420
|
volumes: import("../util").Volumes<{
|
|
3006
|
-
id:
|
|
3007
|
-
|
|
3008
|
-
|
|
3009
|
-
packageRepo: string;
|
|
3010
|
-
upstreamRepo: string;
|
|
3011
|
-
marketingUrl: string;
|
|
3012
|
-
donationUrl: null;
|
|
3013
|
-
docsUrls: never[];
|
|
3014
|
-
description: {
|
|
3015
|
-
short: string;
|
|
3016
|
-
long: string;
|
|
3017
|
-
};
|
|
3018
|
-
images: {
|
|
3019
|
-
main: {
|
|
3020
|
-
source: {
|
|
3021
|
-
dockerTag: string;
|
|
3022
|
-
};
|
|
3023
|
-
arch: ["aarch64", "x86_64"];
|
|
3024
|
-
emulateMissingAs: "aarch64";
|
|
3025
|
-
};
|
|
3026
|
-
};
|
|
3027
|
-
volumes: never[];
|
|
3028
|
-
alerts: {
|
|
3029
|
-
install: null;
|
|
3030
|
-
update: null;
|
|
3031
|
-
uninstall: null;
|
|
3032
|
-
restore: null;
|
|
3033
|
-
start: null;
|
|
3034
|
-
stop: null;
|
|
3035
|
-
};
|
|
3036
|
-
dependencies: {
|
|
3037
|
-
'remote-test': {
|
|
3038
|
-
description: string;
|
|
3039
|
-
optional: false;
|
|
3040
|
-
s9pk: string;
|
|
3041
|
-
};
|
|
3042
|
-
};
|
|
3043
|
-
}>;
|
|
2421
|
+
id: string;
|
|
2422
|
+
volumes: string[];
|
|
2423
|
+
} & import("../types").SDKManifest>;
|
|
3044
2424
|
};
|