@start9labs/start-sdk 0.4.0-beta.46 → 0.4.0-beta.48

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 (118) hide show
  1. package/base/lib/Effects.d.ts +6 -1
  2. package/base/lib/actions/input/inputSpecTypes.js.map +1 -1
  3. package/base/lib/osBindings/AddCategoryParams.d.ts +2 -1
  4. package/base/lib/osBindings/AddCategoryParams.js +0 -1
  5. package/base/lib/osBindings/AddCategoryParams.js.map +1 -1
  6. package/base/lib/osBindings/AddMirrorParams.d.ts +7 -0
  7. package/base/lib/osBindings/AddMirrorParams.js +3 -0
  8. package/base/lib/osBindings/AddMirrorParams.js.map +1 -0
  9. package/base/lib/osBindings/AddPackageParams.d.ts +1 -1
  10. package/base/lib/osBindings/AddPackageSignerParams.d.ts +7 -0
  11. package/base/lib/osBindings/AddPackageSignerParams.js +3 -0
  12. package/base/lib/osBindings/AddPackageSignerParams.js.map +1 -0
  13. package/base/lib/osBindings/Alerts.d.ts +6 -5
  14. package/base/lib/osBindings/Alerts.js +0 -1
  15. package/base/lib/osBindings/Alerts.js.map +1 -1
  16. package/base/lib/osBindings/AttachParams.d.ts +1 -1
  17. package/base/lib/osBindings/Category.d.ts +2 -1
  18. package/base/lib/osBindings/Category.js +0 -1
  19. package/base/lib/osBindings/Category.js.map +1 -1
  20. package/base/lib/osBindings/CurrentDependencyInfo.d.ts +2 -1
  21. package/base/lib/osBindings/DependencyMetadata.d.ts +3 -2
  22. package/base/lib/osBindings/Description.d.ts +3 -2
  23. package/base/lib/osBindings/Description.js +0 -1
  24. package/base/lib/osBindings/Description.js.map +1 -1
  25. package/base/lib/osBindings/DeviceFilter.d.ts +5 -2
  26. package/base/lib/osBindings/GetPackageParams.d.ts +1 -1
  27. package/base/lib/osBindings/GetServiceManifestParams.d.ts +6 -0
  28. package/base/lib/osBindings/GetServiceManifestParams.js +3 -0
  29. package/base/lib/osBindings/GetServiceManifestParams.js.map +1 -0
  30. package/base/lib/osBindings/ImageConfig.d.ts +1 -0
  31. package/base/lib/osBindings/KeyboardOptions.d.ts +7 -0
  32. package/base/lib/osBindings/KeyboardOptions.js +4 -0
  33. package/base/lib/osBindings/KeyboardOptions.js.map +1 -0
  34. package/base/lib/osBindings/LocaleString.d.ts +1 -0
  35. package/base/lib/osBindings/LocaleString.js +4 -0
  36. package/base/lib/osBindings/LocaleString.js.map +1 -0
  37. package/base/lib/osBindings/LshwDisplay.d.ts +4 -1
  38. package/base/lib/osBindings/LshwProcessor.d.ts +3 -1
  39. package/base/lib/osBindings/Manifest.d.ts +3 -1
  40. package/base/lib/osBindings/Metadata.d.ts +2 -1
  41. package/base/lib/osBindings/NamedHealthCheckResult.d.ts +3 -0
  42. package/base/lib/osBindings/PackageInfo.d.ts +3 -1
  43. package/base/lib/osBindings/PackageVersionInfo.d.ts +5 -4
  44. package/base/lib/osBindings/Pem.d.ts +1 -0
  45. package/base/lib/osBindings/Pem.js +4 -0
  46. package/base/lib/osBindings/Pem.js.map +1 -0
  47. package/base/lib/osBindings/RegistryAsset.d.ts +1 -1
  48. package/base/lib/osBindings/RemoveMirrorParams.d.ts +7 -0
  49. package/base/lib/osBindings/RemoveMirrorParams.js +3 -0
  50. package/base/lib/osBindings/RemoveMirrorParams.js.map +1 -0
  51. package/base/lib/osBindings/RemovePackageParams.d.ts +2 -0
  52. package/base/lib/osBindings/RemovePackageSignerParams.d.ts +6 -0
  53. package/base/lib/osBindings/RemovePackageSignerParams.js +3 -0
  54. package/base/lib/osBindings/RemovePackageSignerParams.js.map +1 -0
  55. package/base/lib/osBindings/ServerInfo.d.ts +3 -0
  56. package/base/lib/osBindings/SetHealth.d.ts +3 -0
  57. package/base/lib/osBindings/SetupExecuteParams.d.ts +2 -2
  58. package/base/lib/osBindings/SetupInfo.d.ts +4 -0
  59. package/base/lib/osBindings/SetupInfo.js +4 -0
  60. package/base/lib/osBindings/SetupInfo.js.map +1 -0
  61. package/base/lib/osBindings/SetupResult.d.ts +3 -3
  62. package/base/lib/osBindings/SetupResult.js +0 -1
  63. package/base/lib/osBindings/SetupResult.js.map +1 -1
  64. package/base/lib/osBindings/SetupStatusRes.d.ts +9 -4
  65. package/base/lib/osBindings/index.d.ts +9 -1
  66. package/base/lib/types/ManifestTypes.d.ts +33 -16
  67. package/base/lib/util/GetSystemSmtp.d.ts +1 -1
  68. package/base/lib/util/GetSystemSmtp.js +1 -0
  69. package/base/lib/util/GetSystemSmtp.js.map +1 -1
  70. package/base/lib/util/getServiceInterface.d.ts +2 -2
  71. package/base/lib/util/getServiceInterface.js +13 -5
  72. package/base/lib/util/getServiceInterface.js.map +1 -1
  73. package/base/lib/util/getServiceInterfaces.d.ts +2 -2
  74. package/base/lib/util/getServiceInterfaces.js +6 -2
  75. package/base/lib/util/getServiceInterfaces.js.map +1 -1
  76. package/base/lib/util/index.d.ts +1 -1
  77. package/base/lib/util/index.js +2 -1
  78. package/base/lib/util/index.js.map +1 -1
  79. package/package/lib/StartSdk.d.ts +8 -5
  80. package/package/lib/StartSdk.js +5 -2
  81. package/package/lib/StartSdk.js.map +1 -1
  82. package/package/lib/i18n/index.d.ts +24 -0
  83. package/package/lib/i18n/index.js +59 -0
  84. package/package/lib/i18n/index.js.map +1 -0
  85. package/package/lib/index.d.ts +1 -0
  86. package/package/lib/index.js +3 -1
  87. package/package/lib/index.js.map +1 -1
  88. package/package/lib/mainFn/Daemons.js +1 -1
  89. package/package/lib/mainFn/Daemons.js.map +1 -1
  90. package/package/lib/mainFn/HealthDaemon.d.ts +0 -1
  91. package/package/lib/mainFn/HealthDaemon.js +21 -22
  92. package/package/lib/mainFn/HealthDaemon.js.map +1 -1
  93. package/package/lib/manifest/setupManifest.js +2 -0
  94. package/package/lib/manifest/setupManifest.js.map +1 -1
  95. package/package/lib/test/output.js +390 -301
  96. package/package/lib/test/output.js.map +1 -1
  97. package/package/lib/test/output.sdk.d.ts +42 -1
  98. package/package/lib/util/GetServiceManifest.d.ts +36 -0
  99. package/package/lib/util/GetServiceManifest.js +116 -0
  100. package/package/lib/util/GetServiceManifest.js.map +1 -0
  101. package/package/lib/util/GetSslCertificate.d.ts +1 -1
  102. package/package/lib/util/GetSslCertificate.js +1 -0
  103. package/package/lib/util/GetSslCertificate.js.map +1 -1
  104. package/package/lib/util/SubContainer.d.ts +31 -1
  105. package/package/lib/util/SubContainer.js +29 -0
  106. package/package/lib/util/SubContainer.js.map +1 -1
  107. package/package/lib/util/Volume.d.ts +48 -0
  108. package/package/lib/util/Volume.js +91 -0
  109. package/package/lib/util/Volume.js.map +1 -0
  110. package/package/lib/util/fileHelper.d.ts +3 -2
  111. package/package/lib/util/fileHelper.js +15 -7
  112. package/package/lib/util/fileHelper.js.map +1 -1
  113. package/package/lib/util/index.d.ts +2 -0
  114. package/package/lib/util/index.js +6 -1
  115. package/package/lib/util/index.js.map +1 -1
  116. package/package/lib/version/VersionInfo.d.ts +1 -1
  117. package/package/package.json +1 -1
  118. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import { ActionId, ActionInput, ActionMetadata, SetMainStatus, DependencyRequirement, CheckDependenciesResult, SetHealth, BindParams, HostId, NetInfo, Host, ExportServiceInterfaceParams, ServiceInterface, CreateTaskParams, MountParams, StatusInfo } from "./osBindings";
1
+ import { ActionId, ActionInput, ActionMetadata, SetMainStatus, DependencyRequirement, CheckDependenciesResult, SetHealth, BindParams, HostId, NetInfo, Host, ExportServiceInterfaceParams, ServiceInterface, CreateTaskParams, MountParams, StatusInfo, Manifest } from "./osBindings";
2
2
  import { PackageId, Dependencies, ServiceInterfaceId, SmtpValue, ActionResult } from "./types";
3
3
  /** Used to reach out from the pure js runtime */
4
4
  export type Effects = {
@@ -63,6 +63,11 @@ export type Effects = {
63
63
  mount(options: MountParams): Promise<string>;
64
64
  /** Returns a list of the ids of all installed packages */
65
65
  getInstalledPackages(): Promise<string[]>;
66
+ /** Returns the manifest of a service */
67
+ getServiceManifest(options: {
68
+ packageId: PackageId;
69
+ callback?: () => void;
70
+ }): Promise<Manifest>;
66
71
  /** sets the result of a health check */
67
72
  setHealth(o: SetHealth): Promise<null>;
68
73
  subcontainer: {
@@ -1 +1 @@
1
- {"version":3,"file":"inputSpecTypes.js","sourceRoot":"","sources":["../../../../../base/lib/actions/input/inputSpecTypes.ts"],"names":[],"mappings":";;AAoPA,8CAKC;AAND,6DAA6D;AAC7D,SAAgB,iBAAiB,CAC/B,CAAY,EACZ,CAAI;IAEJ,OAAO,MAAM,IAAI,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,IAAI,KAAK,CAAC,CAAA;AACzC,CAAC"}
1
+ {"version":3,"file":"inputSpecTypes.js","sourceRoot":"","sources":["../../../../../base/lib/actions/input/inputSpecTypes.ts"],"names":[],"mappings":";;AAkPA,8CAKC;AAND,6DAA6D;AAC7D,SAAgB,iBAAiB,CAC/B,CAAY,EACZ,CAAI;IAEJ,OAAO,MAAM,IAAI,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,IAAI,KAAK,CAAC,CAAA;AACzC,CAAC"}
@@ -1,4 +1,5 @@
1
+ import type { LocaleString } from "./LocaleString";
1
2
  export type AddCategoryParams = {
2
3
  id: string;
3
- name: string;
4
+ name: LocaleString;
4
5
  };
@@ -1,4 +1,3 @@
1
1
  "use strict";
2
- // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
3
2
  Object.defineProperty(exports, "__esModule", { value: true });
4
3
  //# sourceMappingURL=AddCategoryParams.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"AddCategoryParams.js","sourceRoot":"","sources":["../../../../base/lib/osBindings/AddCategoryParams.ts"],"names":[],"mappings":";AAAA,4GAA4G"}
1
+ {"version":3,"file":"AddCategoryParams.js","sourceRoot":"","sources":["../../../../base/lib/osBindings/AddCategoryParams.ts"],"names":[],"mappings":""}
@@ -0,0 +1,7 @@
1
+ import type { AnySignature } from "./AnySignature";
2
+ import type { MerkleArchiveCommitment } from "./MerkleArchiveCommitment";
3
+ export type AddMirrorParams = {
4
+ url: string;
5
+ commitment: MerkleArchiveCommitment;
6
+ signature: AnySignature;
7
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=AddMirrorParams.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AddMirrorParams.js","sourceRoot":"","sources":["../../../../base/lib/osBindings/AddMirrorParams.ts"],"names":[],"mappings":""}
@@ -1,7 +1,7 @@
1
1
  import type { AnySignature } from "./AnySignature";
2
2
  import type { MerkleArchiveCommitment } from "./MerkleArchiveCommitment";
3
3
  export type AddPackageParams = {
4
- url: string;
4
+ urls: string[];
5
5
  commitment: MerkleArchiveCommitment;
6
6
  signature: AnySignature;
7
7
  };
@@ -0,0 +1,7 @@
1
+ import type { Guid } from "./Guid";
2
+ import type { PackageId } from "./PackageId";
3
+ export type AddPackageSignerParams = {
4
+ id: PackageId;
5
+ signer: Guid;
6
+ versions: string | null;
7
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=AddPackageSignerParams.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AddPackageSignerParams.js","sourceRoot":"","sources":["../../../../base/lib/osBindings/AddPackageSignerParams.ts"],"names":[],"mappings":""}
@@ -1,7 +1,8 @@
1
+ import type { LocaleString } from "./LocaleString";
1
2
  export type Alerts = {
2
- install: string | null;
3
- uninstall: string | null;
4
- restore: string | null;
5
- start: string | null;
6
- stop: string | null;
3
+ install: LocaleString | null;
4
+ uninstall: LocaleString | null;
5
+ restore: LocaleString | null;
6
+ start: LocaleString | null;
7
+ stop: LocaleString | null;
7
8
  };
@@ -1,4 +1,3 @@
1
1
  "use strict";
2
- // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
3
2
  Object.defineProperty(exports, "__esModule", { value: true });
4
3
  //# sourceMappingURL=Alerts.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Alerts.js","sourceRoot":"","sources":["../../../../base/lib/osBindings/Alerts.ts"],"names":[],"mappings":";AAAA,4GAA4G"}
1
+ {"version":3,"file":"Alerts.js","sourceRoot":"","sources":["../../../../base/lib/osBindings/Alerts.ts"],"names":[],"mappings":""}
@@ -1,6 +1,6 @@
1
1
  import type { EncryptedWire } from "./EncryptedWire";
2
2
  export type AttachParams = {
3
- startOsPassword: EncryptedWire | null;
3
+ password: EncryptedWire | null;
4
4
  guid: string;
5
5
  kiosk?: boolean;
6
6
  };
@@ -1,3 +1,4 @@
1
+ import type { LocaleString } from "./LocaleString";
1
2
  export type Category = {
2
- name: string;
3
+ name: LocaleString;
3
4
  };
@@ -1,4 +1,3 @@
1
1
  "use strict";
2
- // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
3
2
  Object.defineProperty(exports, "__esModule", { value: true });
4
3
  //# sourceMappingURL=Category.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Category.js","sourceRoot":"","sources":["../../../../base/lib/osBindings/Category.ts"],"names":[],"mappings":";AAAA,4GAA4G"}
1
+ {"version":3,"file":"Category.js","sourceRoot":"","sources":["../../../../base/lib/osBindings/Category.ts"],"names":[],"mappings":""}
@@ -1,6 +1,7 @@
1
1
  import type { DataUrl } from "./DataUrl";
2
+ import type { LocaleString } from "./LocaleString";
2
3
  export type CurrentDependencyInfo = {
3
- title: string | null;
4
+ title: LocaleString | null;
4
5
  icon: DataUrl | null;
5
6
  versionRange: string;
6
7
  } & ({
@@ -1,7 +1,8 @@
1
1
  import type { DataUrl } from "./DataUrl";
2
+ import type { LocaleString } from "./LocaleString";
2
3
  export type DependencyMetadata = {
3
- title: string | null;
4
+ title: LocaleString | null;
4
5
  icon: DataUrl | null;
5
- description: string | null;
6
+ description: LocaleString | null;
6
7
  optional: boolean;
7
8
  };
@@ -1,4 +1,5 @@
1
+ import type { LocaleString } from "./LocaleString";
1
2
  export type Description = {
2
- short: string;
3
- long: string;
3
+ short: LocaleString;
4
+ long: LocaleString;
4
5
  };
@@ -1,4 +1,3 @@
1
1
  "use strict";
2
- // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
3
2
  Object.defineProperty(exports, "__esModule", { value: true });
4
3
  //# sourceMappingURL=Description.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Description.js","sourceRoot":"","sources":["../../../../base/lib/osBindings/Description.ts"],"names":[],"mappings":";AAAA,4GAA4G"}
1
+ {"version":3,"file":"Description.js","sourceRoot":"","sources":["../../../../base/lib/osBindings/Description.ts"],"names":[],"mappings":""}
@@ -1,5 +1,8 @@
1
1
  export type DeviceFilter = {
2
+ description: string;
2
3
  class: "processor" | "display";
3
- pattern: string;
4
- patternDescription: string;
4
+ product: string | null;
5
+ vendor: string | null;
6
+ capabilities?: Array<string>;
7
+ driver?: string;
5
8
  };
@@ -5,5 +5,5 @@ export type GetPackageParams = {
5
5
  id: PackageId | null;
6
6
  targetVersion: string | null;
7
7
  sourceVersion: Version | null;
8
- otherVersions: PackageDetailLevel;
8
+ otherVersions: PackageDetailLevel | null;
9
9
  };
@@ -0,0 +1,6 @@
1
+ import type { CallbackId } from "./CallbackId";
2
+ import type { PackageId } from "./PackageId";
3
+ export type GetServiceManifestParams = {
4
+ packageId: PackageId;
5
+ callback?: CallbackId;
6
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=GetServiceManifestParams.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GetServiceManifestParams.js","sourceRoot":"","sources":["../../../../base/lib/osBindings/GetServiceManifestParams.ts"],"names":[],"mappings":""}
@@ -3,4 +3,5 @@ export type ImageConfig = {
3
3
  source: ImageSource;
4
4
  arch: string[];
5
5
  emulateMissingAs: string | null;
6
+ nvidiaContainer: boolean;
6
7
  };
@@ -0,0 +1,7 @@
1
+ export type KeyboardOptions = {
2
+ layout: string;
3
+ keymap: string | null;
4
+ model: string | null;
5
+ variant: string | null;
6
+ options: Array<string>;
7
+ };
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ //# sourceMappingURL=KeyboardOptions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"KeyboardOptions.js","sourceRoot":"","sources":["../../../../base/lib/osBindings/KeyboardOptions.ts"],"names":[],"mappings":";AAAA,4GAA4G"}
@@ -0,0 +1 @@
1
+ export type LocaleString = string | Record<string, string>;
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ //# sourceMappingURL=LocaleString.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LocaleString.js","sourceRoot":"","sources":["../../../../base/lib/osBindings/LocaleString.ts"],"names":[],"mappings":";AAAA,4GAA4G"}
@@ -1,3 +1,6 @@
1
1
  export type LshwDisplay = {
2
- product: string;
2
+ product: string | null;
3
+ vendor: string | null;
4
+ capabilities: Array<string>;
5
+ driver: string | null;
3
6
  };
@@ -1,3 +1,5 @@
1
1
  export type LshwProcessor = {
2
- product: string;
2
+ product: string | null;
3
+ vendor: string | null;
4
+ capabilities: Array<string>;
3
5
  };
@@ -5,6 +5,7 @@ import type { GitHash } from "./GitHash";
5
5
  import type { HardwareRequirements } from "./HardwareRequirements";
6
6
  import type { ImageConfig } from "./ImageConfig";
7
7
  import type { ImageId } from "./ImageId";
8
+ import type { LocaleString } from "./LocaleString";
8
9
  import type { PackageId } from "./PackageId";
9
10
  import type { Version } from "./Version";
10
11
  import type { VolumeId } from "./VolumeId";
@@ -13,7 +14,7 @@ export type Manifest = {
13
14
  title: string;
14
15
  version: Version;
15
16
  satisfies: Array<Version>;
16
- releaseNotes: string;
17
+ releaseNotes: LocaleString;
17
18
  canMigrateTo: string;
18
19
  canMigrateFrom: string;
19
20
  license: string;
@@ -31,6 +32,7 @@ export type Manifest = {
31
32
  alerts: Alerts;
32
33
  dependencies: Dependencies;
33
34
  hardwareRequirements: HardwareRequirements;
35
+ hardwareAcceleration: boolean;
34
36
  gitHash: GitHash | null;
35
37
  osVersion: string;
36
38
  sdkVersion: string | null;
@@ -1,5 +1,6 @@
1
+ import type { LocaleString } from "./LocaleString";
1
2
  import type { PathOrUrl } from "./PathOrUrl";
2
3
  export type Metadata = {
3
- title: string;
4
+ title: LocaleString;
4
5
  icon: PathOrUrl;
5
6
  };
@@ -9,6 +9,9 @@ export type NamedHealthCheckResult = {
9
9
  } | {
10
10
  result: "starting";
11
11
  message: string | null;
12
+ } | {
13
+ result: "waiting";
14
+ message: string | null;
12
15
  } | {
13
16
  result: "loading";
14
17
  message: string;
@@ -2,7 +2,9 @@ import type { Guid } from "./Guid";
2
2
  import type { PackageVersionInfo } from "./PackageVersionInfo";
3
3
  import type { Version } from "./Version";
4
4
  export type PackageInfo = {
5
- authorized: Array<Guid>;
5
+ authorized: {
6
+ [key: Guid]: string;
7
+ };
6
8
  versions: {
7
9
  [key: Version]: PackageVersionInfo;
8
10
  };
@@ -4,14 +4,17 @@ import type { DependencyMetadata } from "./DependencyMetadata";
4
4
  import type { Description } from "./Description";
5
5
  import type { GitHash } from "./GitHash";
6
6
  import type { HardwareRequirements } from "./HardwareRequirements";
7
+ import type { LocaleString } from "./LocaleString";
7
8
  import type { MerkleArchiveCommitment } from "./MerkleArchiveCommitment";
8
9
  import type { PackageId } from "./PackageId";
9
10
  import type { RegistryAsset } from "./RegistryAsset";
10
11
  export type PackageVersionInfo = {
12
+ sourceVersion: string | null;
13
+ s9pks: Array<[HardwareRequirements, RegistryAsset<MerkleArchiveCommitment>]>;
11
14
  title: string;
12
15
  icon: DataUrl;
13
16
  description: Description;
14
- releaseNotes: string;
17
+ releaseNotes: LocaleString;
15
18
  gitHash: GitHash | null;
16
19
  license: string;
17
20
  wrapperRepo: string;
@@ -26,7 +29,5 @@ export type PackageVersionInfo = {
26
29
  };
27
30
  osVersion: string;
28
31
  sdkVersion: string | null;
29
- hardwareRequirements: HardwareRequirements;
30
- sourceVersion: string | null;
31
- s9pk: RegistryAsset<MerkleArchiveCommitment>;
32
+ hardwareAcceleration: boolean;
32
33
  };
@@ -0,0 +1 @@
1
+ export type Pem = string;
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ //# sourceMappingURL=Pem.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Pem.js","sourceRoot":"","sources":["../../../../base/lib/osBindings/Pem.ts"],"names":[],"mappings":";AAAA,4GAA4G"}
@@ -2,7 +2,7 @@ import type { AnySignature } from "./AnySignature";
2
2
  import type { AnyVerifyingKey } from "./AnyVerifyingKey";
3
3
  export type RegistryAsset<Commitment> = {
4
4
  publishedAt: string;
5
- url: string;
5
+ urls: string[];
6
6
  commitment: Commitment;
7
7
  signatures: {
8
8
  [key: AnyVerifyingKey]: AnySignature;
@@ -0,0 +1,7 @@
1
+ import type { PackageId } from "./PackageId";
2
+ import type { Version } from "./Version";
3
+ export type RemoveMirrorParams = {
4
+ id: PackageId;
5
+ version: Version;
6
+ url: string;
7
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=RemoveMirrorParams.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RemoveMirrorParams.js","sourceRoot":"","sources":["../../../../base/lib/osBindings/RemoveMirrorParams.ts"],"names":[],"mappings":""}
@@ -1,6 +1,8 @@
1
+ import type { Base64 } from "./Base64";
1
2
  import type { PackageId } from "./PackageId";
2
3
  import type { Version } from "./Version";
3
4
  export type RemovePackageParams = {
4
5
  id: PackageId;
5
6
  version: Version;
7
+ sighash: Base64 | null;
6
8
  };
@@ -0,0 +1,6 @@
1
+ import type { Guid } from "./Guid";
2
+ import type { PackageId } from "./PackageId";
3
+ export type RemovePackageSignerParams = {
4
+ id: PackageId;
5
+ signer: Guid;
6
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=RemovePackageSignerParams.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RemovePackageSignerParams.js","sourceRoot":"","sources":["../../../../base/lib/osBindings/RemovePackageSignerParams.ts"],"names":[],"mappings":""}
@@ -1,4 +1,5 @@
1
1
  import type { Governor } from "./Governor";
2
+ import type { KeyboardOptions } from "./KeyboardOptions";
2
3
  import type { LshwDevice } from "./LshwDevice";
3
4
  import type { NetworkInfo } from "./NetworkInfo";
4
5
  import type { ServerStatus } from "./ServerStatus";
@@ -25,4 +26,6 @@ export type ServerInfo = {
25
26
  ram: number;
26
27
  devices: Array<LshwDevice>;
27
28
  kiosk: boolean | null;
29
+ language: string | null;
30
+ keyboard: KeyboardOptions | null;
28
31
  };
@@ -11,6 +11,9 @@ export type SetHealth = {
11
11
  } | {
12
12
  result: "starting";
13
13
  message: string | null;
14
+ } | {
15
+ result: "waiting";
16
+ message: string | null;
14
17
  } | {
15
18
  result: "loading";
16
19
  message: string;
@@ -1,8 +1,8 @@
1
1
  import type { EncryptedWire } from "./EncryptedWire";
2
2
  import type { RecoverySource } from "./RecoverySource";
3
3
  export type SetupExecuteParams = {
4
- startOsLogicalname: string;
5
- startOsPassword: EncryptedWire;
4
+ guid: string;
5
+ password: EncryptedWire;
6
6
  recoverySource: RecoverySource<EncryptedWire> | null;
7
7
  kiosk?: boolean;
8
8
  };
@@ -0,0 +1,4 @@
1
+ export type SetupInfo = {
2
+ guid: string | null;
3
+ attach: boolean;
4
+ };
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ //# sourceMappingURL=SetupInfo.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SetupInfo.js","sourceRoot":"","sources":["../../../../base/lib/osBindings/SetupInfo.ts"],"names":[],"mappings":";AAAA,4GAA4G"}
@@ -1,6 +1,6 @@
1
+ import type { Pem } from "./Pem";
1
2
  export type SetupResult = {
2
- torAddresses: Array<string>;
3
3
  hostname: string;
4
- lanAddress: string;
5
- rootCa: string;
4
+ rootCa: Pem;
5
+ needsRestart: boolean;
6
6
  };
@@ -1,4 +1,3 @@
1
1
  "use strict";
2
- // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
3
2
  Object.defineProperty(exports, "__esModule", { value: true });
4
3
  //# sourceMappingURL=SetupResult.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"SetupResult.js","sourceRoot":"","sources":["../../../../base/lib/osBindings/SetupResult.ts"],"names":[],"mappings":";AAAA,4GAA4G"}
1
+ {"version":3,"file":"SetupResult.js","sourceRoot":"","sources":["../../../../base/lib/osBindings/SetupResult.ts"],"names":[],"mappings":""}
@@ -1,7 +1,12 @@
1
+ import type { SetupInfo } from "./SetupInfo";
1
2
  import type { SetupProgress } from "./SetupProgress";
2
3
  import type { SetupResult } from "./SetupResult";
3
- export type SetupStatusRes = ({
4
- status: "complete";
5
- } & SetupResult) | ({
4
+ export type SetupStatusRes = {
5
+ status: "needs-install";
6
+ } | ({
7
+ status: "incomplete";
8
+ } & SetupInfo) | ({
6
9
  status: "running";
7
- } & SetupProgress);
10
+ } & SetupProgress) | ({
11
+ status: "complete";
12
+ } & SetupResult);
@@ -13,7 +13,9 @@ export { ActionVisibility } from "./ActionVisibility";
13
13
  export { AddAdminParams } from "./AddAdminParams";
14
14
  export { AddAssetParams } from "./AddAssetParams";
15
15
  export { AddCategoryParams } from "./AddCategoryParams";
16
+ export { AddMirrorParams } from "./AddMirrorParams";
16
17
  export { AddPackageParams } from "./AddPackageParams";
18
+ export { AddPackageSignerParams } from "./AddPackageSignerParams";
17
19
  export { AddPackageToCategoryParams } from "./AddPackageToCategoryParams";
18
20
  export { AddressInfo } from "./AddressInfo";
19
21
  export { AddSslOptions } from "./AddSslOptions";
@@ -90,6 +92,7 @@ export { GetPackageParams } from "./GetPackageParams";
90
92
  export { GetPackageResponseFull } from "./GetPackageResponseFull";
91
93
  export { GetPackageResponse } from "./GetPackageResponse";
92
94
  export { GetServiceInterfaceParams } from "./GetServiceInterfaceParams";
95
+ export { GetServiceManifestParams } from "./GetServiceManifestParams";
93
96
  export { GetServicePortForwardParams } from "./GetServicePortForwardParams";
94
97
  export { GetSslCertificateParams } from "./GetSslCertificateParams";
95
98
  export { GetSslKeyParams } from "./GetSslKeyParams";
@@ -118,9 +121,11 @@ export { InstallingState } from "./InstallingState";
118
121
  export { InstallParams } from "./InstallParams";
119
122
  export { IpHostname } from "./IpHostname";
120
123
  export { IpInfo } from "./IpInfo";
124
+ export { KeyboardOptions } from "./KeyboardOptions";
121
125
  export { ListPackageSignersParams } from "./ListPackageSignersParams";
122
126
  export { ListServiceInterfacesParams } from "./ListServiceInterfacesParams";
123
127
  export { ListVersionSignersParams } from "./ListVersionSignersParams";
128
+ export { LocaleString } from "./LocaleString";
124
129
  export { LoginParams } from "./LoginParams";
125
130
  export { LshwDevice } from "./LshwDevice";
126
131
  export { LshwDisplay } from "./LshwDisplay";
@@ -154,11 +159,11 @@ export { PackageId } from "./PackageId";
154
159
  export { PackageIndex } from "./PackageIndex";
155
160
  export { PackageInfoShort } from "./PackageInfoShort";
156
161
  export { PackageInfo } from "./PackageInfo";
157
- export { PackageSignerParams } from "./PackageSignerParams";
158
162
  export { PackageState } from "./PackageState";
159
163
  export { PackageVersionInfo } from "./PackageVersionInfo";
160
164
  export { PasswordType } from "./PasswordType";
161
165
  export { PathOrUrl } from "./PathOrUrl";
166
+ export { Pem } from "./Pem";
162
167
  export { Percentage } from "./Percentage";
163
168
  export { Progress } from "./Progress";
164
169
  export { ProgressUnits } from "./ProgressUnits";
@@ -170,8 +175,10 @@ export { RegistryInfo } from "./RegistryInfo";
170
175
  export { RemoveAdminParams } from "./RemoveAdminParams";
171
176
  export { RemoveAssetParams } from "./RemoveAssetParams";
172
177
  export { RemoveCategoryParams } from "./RemoveCategoryParams";
178
+ export { RemoveMirrorParams } from "./RemoveMirrorParams";
173
179
  export { RemovePackageFromCategoryParams } from "./RemovePackageFromCategoryParams";
174
180
  export { RemovePackageParams } from "./RemovePackageParams";
181
+ export { RemovePackageSignerParams } from "./RemovePackageSignerParams";
175
182
  export { RemoveTunnelParams } from "./RemoveTunnelParams";
176
183
  export { RemoveVersionParams } from "./RemoveVersionParams";
177
184
  export { ReplayId } from "./ReplayId";
@@ -195,6 +202,7 @@ export { SetMainStatusStatus } from "./SetMainStatusStatus";
195
202
  export { SetMainStatus } from "./SetMainStatus";
196
203
  export { SetNameParams } from "./SetNameParams";
197
204
  export { SetupExecuteParams } from "./SetupExecuteParams";
205
+ export { SetupInfo } from "./SetupInfo";
198
206
  export { SetupProgress } from "./SetupProgress";
199
207
  export { SetupResult } from "./SetupResult";
200
208
  export { SetupStatusRes } from "./SetupStatusRes";