Fix StartOS 0.4 TypeScript packaging to match SDK API

This commit is contained in:
MacPro
2026-04-09 15:10:44 -05:00
parent 68ec875ee7
commit 8298c083c7
3436 changed files with 867051 additions and 92 deletions
@@ -0,0 +1,8 @@
import type { AnyVerifyingKey } from './AnyVerifyingKey';
export type AcceptSigners = {
signer: AnyVerifyingKey;
} | {
any: Array<AcceptSigners>;
} | {
all: Array<AcceptSigners>;
};
@@ -0,0 +1,3 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=AcceptSigners.js.map
@@ -0,0 +1 @@
{"version":3,"file":"AcceptSigners.js","sourceRoot":"","sources":["../../../../base/lib/osBindings/AcceptSigners.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
export type AcmeProvider = string;
@@ -0,0 +1,4 @@
"use strict";
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=AcmeProvider.js.map
@@ -0,0 +1 @@
{"version":3,"file":"AcmeProvider.js","sourceRoot":"","sources":["../../../../base/lib/osBindings/AcmeProvider.ts"],"names":[],"mappings":";AAAA,4GAA4G"}
@@ -0,0 +1,3 @@
export type AcmeSettings = {
contact: Array<string>;
};
@@ -0,0 +1,4 @@
"use strict";
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=AcmeSettings.js.map
@@ -0,0 +1 @@
{"version":3,"file":"AcmeSettings.js","sourceRoot":"","sources":["../../../../base/lib/osBindings/AcmeSettings.ts"],"names":[],"mappings":";AAAA,4GAA4G"}
+1
View File
@@ -0,0 +1 @@
export type ActionId = string;
+4
View File
@@ -0,0 +1,4 @@
"use strict";
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=ActionId.js.map
@@ -0,0 +1 @@
{"version":3,"file":"ActionId.js","sourceRoot":"","sources":["../../../../base/lib/osBindings/ActionId.ts"],"names":[],"mappings":";AAAA,4GAA4G"}
@@ -0,0 +1,6 @@
import type { Guid } from './Guid';
export type ActionInput = {
eventId: Guid;
spec: Record<string, unknown>;
value: Record<string, unknown> | null;
};
@@ -0,0 +1,3 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=ActionInput.js.map
@@ -0,0 +1 @@
{"version":3,"file":"ActionInput.js","sourceRoot":"","sources":["../../../../base/lib/osBindings/ActionInput.ts"],"names":[],"mappings":""}
@@ -0,0 +1,35 @@
import type { ActionVisibility } from './ActionVisibility';
import type { AllowedStatuses } from './AllowedStatuses';
export type ActionMetadata = {
/**
* A human-readable name
*/
name: string;
/**
* A detailed description of what the action will do
*/
description: string;
/**
* Presents as an alert prior to executing the action. Should be used sparingly but important if the action could have harmful, unintended consequences
*/
warning: string | null;
/**
* One of: "enabled", "hidden", or { disabled: "" }
* - "enabled" - the action is available be run
* - "hidden" - the action cannot be seen or run
* - { disabled: "example explanation" } means the action is visible but cannot be run. Replace "example explanation" with a reason why the action is disable to prevent user confusion.
*/
visibility: ActionVisibility;
/**
* One of: "only-stopped", "only-running", "all"
* - "only-stopped" - the action can only be run when the service is stopped
* - "only-running" - the action can only be run when the service is running
* - "any" - the action can only be run regardless of the service's status
*/
allowedStatuses: AllowedStatuses;
hasInput: boolean;
/**
* If provided, this action will be nested under a header of this value, along with other actions of the same group
*/
group: string | null;
};
@@ -0,0 +1,3 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=ActionMetadata.js.map
@@ -0,0 +1 @@
{"version":3,"file":"ActionMetadata.js","sourceRoot":"","sources":["../../../../base/lib/osBindings/ActionMetadata.ts"],"names":[],"mappings":""}
@@ -0,0 +1,7 @@
import type { ActionResultV0 } from './ActionResultV0';
import type { ActionResultV1 } from './ActionResultV1';
export type ActionResult = ({
version: '0';
} & ActionResultV0) | ({
version: '1';
} & ActionResultV1);
@@ -0,0 +1,3 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=ActionResult.js.map
@@ -0,0 +1 @@
{"version":3,"file":"ActionResult.js","sourceRoot":"","sources":["../../../../base/lib/osBindings/ActionResult.ts"],"names":[],"mappings":""}
@@ -0,0 +1,34 @@
export type ActionResultMember = {
/**
* A human-readable name or title of the value, such as "Last Active" or "Login Password"
*/
name: string;
/**
* (optional) A description of the value, such as an explaining why it exists or how to use it
*/
description: string | null;
} & ({
type: 'single';
/**
* The actual string value to display
*/
value: string;
/**
* Whether or not to include a copy to clipboard icon to copy the value
*/
copyable: boolean;
/**
* Whether or not to also display the value as a QR code
*/
qr: boolean;
/**
* Whether or not to mask the value using ●●●●●●●, which is useful for password or other sensitive information
*/
masked: boolean;
} | {
type: 'group';
/**
* An new group of nested values, experienced by the user as an accordion dropdown
*/
value: Array<ActionResultMember>;
});
@@ -0,0 +1,4 @@
"use strict";
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=ActionResultMember.js.map
@@ -0,0 +1 @@
{"version":3,"file":"ActionResultMember.js","sourceRoot":"","sources":["../../../../base/lib/osBindings/ActionResultMember.ts"],"names":[],"mappings":";AAAA,4GAA4G"}
@@ -0,0 +1,6 @@
export type ActionResultV0 = {
message: string;
value: string | null;
copyable: boolean;
qr: boolean;
};
@@ -0,0 +1,4 @@
"use strict";
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=ActionResultV0.js.map
@@ -0,0 +1 @@
{"version":3,"file":"ActionResultV0.js","sourceRoot":"","sources":["../../../../base/lib/osBindings/ActionResultV0.ts"],"names":[],"mappings":";AAAA,4GAA4G"}
@@ -0,0 +1,15 @@
import type { ActionResultValue } from './ActionResultValue';
export type ActionResultV1 = {
/**
* Primary text to display as the header of the response modal. e.g. "Success!", "Name Updated", or "Service Information", whatever makes sense
*/
title: string;
/**
* (optional) A general message for the user, just under the title
*/
message: string | null;
/**
* (optional) Structured data to present inside the modal
*/
result: ActionResultValue | null;
};
@@ -0,0 +1,3 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=ActionResultV1.js.map
@@ -0,0 +1 @@
{"version":3,"file":"ActionResultV1.js","sourceRoot":"","sources":["../../../../base/lib/osBindings/ActionResultV1.ts"],"names":[],"mappings":""}
@@ -0,0 +1,26 @@
import type { ActionResultMember } from './ActionResultMember';
export type ActionResultValue = {
type: 'single';
/**
* The actual string value to display
*/
value: string;
/**
* Whether or not to include a copy to clipboard icon to copy the value
*/
copyable: boolean;
/**
* Whether or not to also display the value as a QR code
*/
qr: boolean;
/**
* Whether or not to mask the value using ●●●●●●●, which is useful for password or other sensitive information
*/
masked: boolean;
} | {
type: 'group';
/**
* An new group of nested values, experienced by the user as an accordion dropdown
*/
value: Array<ActionResultMember>;
};
@@ -0,0 +1,3 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=ActionResultValue.js.map
@@ -0,0 +1 @@
{"version":3,"file":"ActionResultValue.js","sourceRoot":"","sources":["../../../../base/lib/osBindings/ActionResultValue.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
export type ActionVisibility = 'hidden' | {
disabled: string;
} | 'enabled';
@@ -0,0 +1,4 @@
"use strict";
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=ActionVisibility.js.map
@@ -0,0 +1 @@
{"version":3,"file":"ActionVisibility.js","sourceRoot":"","sources":["../../../../base/lib/osBindings/ActionVisibility.ts"],"names":[],"mappings":";AAAA,4GAA4G"}
@@ -0,0 +1,4 @@
import type { Guid } from './Guid';
export type AddAdminParams = {
signer: Guid;
};
@@ -0,0 +1,3 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=AddAdminParams.js.map
@@ -0,0 +1 @@
{"version":3,"file":"AddAdminParams.js","sourceRoot":"","sources":["../../../../base/lib/osBindings/AddAdminParams.ts"],"names":[],"mappings":""}
@@ -0,0 +1,9 @@
import type { AnySignature } from './AnySignature';
import type { Blake3Commitment } from './Blake3Commitment';
export type AddAssetParams = {
version: string;
platform: string;
url: string;
signature: AnySignature;
commitment: Blake3Commitment;
};
@@ -0,0 +1,3 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=AddAssetParams.js.map
@@ -0,0 +1 @@
{"version":3,"file":"AddAssetParams.js","sourceRoot":"","sources":["../../../../base/lib/osBindings/AddAssetParams.ts"],"names":[],"mappings":""}
@@ -0,0 +1,5 @@
import type { LocaleString } from './LocaleString';
export type AddCategoryParams = {
id: string;
name: LocaleString;
};
@@ -0,0 +1,3 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=AddCategoryParams.js.map
@@ -0,0 +1 @@
{"version":3,"file":"AddCategoryParams.js","sourceRoot":"","sources":["../../../../base/lib/osBindings/AddCategoryParams.ts"],"names":[],"mappings":""}
@@ -0,0 +1,7 @@
import type { AnySignature } from './AnySignature';
import type { MerkleArchiveCommitment } from './MerkleArchiveCommitment';
export type AddMirrorParams = {
url: string;
commitment: MerkleArchiveCommitment;
signature: AnySignature;
};
@@ -0,0 +1,3 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=AddMirrorParams.js.map
@@ -0,0 +1 @@
{"version":3,"file":"AddMirrorParams.js","sourceRoot":"","sources":["../../../../base/lib/osBindings/AddMirrorParams.ts"],"names":[],"mappings":""}
@@ -0,0 +1,7 @@
import type { AnySignature } from './AnySignature';
import type { MerkleArchiveCommitment } from './MerkleArchiveCommitment';
export type AddPackageParams = {
urls: string[];
commitment: MerkleArchiveCommitment;
signature: AnySignature;
};
@@ -0,0 +1,3 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=AddPackageParams.js.map
@@ -0,0 +1 @@
{"version":3,"file":"AddPackageParams.js","sourceRoot":"","sources":["../../../../base/lib/osBindings/AddPackageParams.ts"],"names":[],"mappings":""}
@@ -0,0 +1,8 @@
import type { Guid } from './Guid';
import type { PackageId } from './PackageId';
export type AddPackageSignerParams = {
id: PackageId;
signer: Guid;
versions: string | null;
merge: boolean;
};
@@ -0,0 +1,3 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=AddPackageSignerParams.js.map
@@ -0,0 +1 @@
{"version":3,"file":"AddPackageSignerParams.js","sourceRoot":"","sources":["../../../../base/lib/osBindings/AddPackageSignerParams.ts"],"names":[],"mappings":""}
@@ -0,0 +1,5 @@
import type { PackageId } from './PackageId';
export type AddPackageToCategoryParams = {
id: string;
package: PackageId;
};
@@ -0,0 +1,3 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=AddPackageToCategoryParams.js.map
@@ -0,0 +1 @@
{"version":3,"file":"AddPackageToCategoryParams.js","sourceRoot":"","sources":["../../../../base/lib/osBindings/AddPackageToCategoryParams.ts"],"names":[],"mappings":""}
@@ -0,0 +1,5 @@
import type { GatewayId } from './GatewayId';
export type AddPrivateDomainParams = {
fqdn: string;
gateway: GatewayId;
};
@@ -0,0 +1,3 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=AddPrivateDomainParams.js.map
@@ -0,0 +1 @@
{"version":3,"file":"AddPrivateDomainParams.js","sourceRoot":"","sources":["../../../../base/lib/osBindings/AddPrivateDomainParams.ts"],"names":[],"mappings":""}
@@ -0,0 +1,8 @@
import type { AcmeProvider } from './AcmeProvider';
import type { GatewayId } from './GatewayId';
export type AddPublicDomainParams = {
fqdn: string;
acme: AcmeProvider | null;
gateway: GatewayId;
internalPort: number;
};
@@ -0,0 +1,3 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=AddPublicDomainParams.js.map
@@ -0,0 +1 @@
{"version":3,"file":"AddPublicDomainParams.js","sourceRoot":"","sources":["../../../../base/lib/osBindings/AddPublicDomainParams.ts"],"names":[],"mappings":""}
@@ -0,0 +1,5 @@
import type { CheckPortRes } from './CheckPortRes';
export type AddPublicDomainRes = {
dns: string | null;
port: CheckPortRes;
};
@@ -0,0 +1,3 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=AddPublicDomainRes.js.map
@@ -0,0 +1 @@
{"version":3,"file":"AddPublicDomainRes.js","sourceRoot":"","sources":["../../../../base/lib/osBindings/AddPublicDomainRes.ts"],"names":[],"mappings":""}
@@ -0,0 +1,6 @@
import type { AlpnInfo } from './AlpnInfo';
export type AddSslOptions = {
preferredExternalPort: number;
addXForwardedHeaders: boolean;
alpn: AlpnInfo | null;
};
@@ -0,0 +1,3 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=AddSslOptions.js.map
@@ -0,0 +1 @@
{"version":3,"file":"AddSslOptions.js","sourceRoot":"","sources":["../../../../base/lib/osBindings/AddSslOptions.ts"],"names":[],"mappings":""}
@@ -0,0 +1,7 @@
import type { GatewayType } from './GatewayType';
export type AddTunnelParams = {
name: string;
config: string;
type: GatewayType | null;
setAsDefaultOutbound: boolean;
};
@@ -0,0 +1,3 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=AddTunnelParams.js.map
@@ -0,0 +1 @@
{"version":3,"file":"AddTunnelParams.js","sourceRoot":"","sources":["../../../../base/lib/osBindings/AddTunnelParams.ts"],"names":[],"mappings":""}
@@ -0,0 +1,6 @@
export type AddVersionParams = {
version: string;
headline: string;
releaseNotes: string;
sourceVersion: string;
};
@@ -0,0 +1,4 @@
"use strict";
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=AddVersionParams.js.map
@@ -0,0 +1 @@
{"version":3,"file":"AddVersionParams.js","sourceRoot":"","sources":["../../../../base/lib/osBindings/AddVersionParams.ts"],"names":[],"mappings":";AAAA,4GAA4G"}
@@ -0,0 +1,9 @@
import type { HostId } from './HostId';
export type AddressInfo = {
username: string | null;
hostId: HostId;
internalPort: number;
scheme: string | null;
sslScheme: string | null;
suffix: string;
};
@@ -0,0 +1,3 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=AddressInfo.js.map
@@ -0,0 +1 @@
{"version":3,"file":"AddressInfo.js","sourceRoot":"","sources":["../../../../base/lib/osBindings/AddressInfo.ts"],"names":[],"mappings":""}
+8
View File
@@ -0,0 +1,8 @@
import type { LocaleString } from './LocaleString';
export type Alerts = {
install: LocaleString | null;
uninstall: LocaleString | null;
restore: LocaleString | null;
start: LocaleString | null;
stop: LocaleString | null;
};
+3
View File
@@ -0,0 +1,3 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=Alerts.js.map
+1
View File
@@ -0,0 +1 @@
{"version":3,"file":"Alerts.js","sourceRoot":"","sources":["../../../../base/lib/osBindings/Alerts.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
export type Algorithm = 'ecdsa' | 'ed25519';
+4
View File
@@ -0,0 +1,4 @@
"use strict";
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=Algorithm.js.map
@@ -0,0 +1 @@
{"version":3,"file":"Algorithm.js","sourceRoot":"","sources":["../../../../base/lib/osBindings/Algorithm.ts"],"names":[],"mappings":";AAAA,4GAA4G"}
@@ -0,0 +1,5 @@
import type { PackageDataEntry } from './PackageDataEntry';
import type { PackageId } from './PackageId';
export type AllPackageData = {
[key: PackageId]: PackageDataEntry;
};
@@ -0,0 +1,3 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=AllPackageData.js.map
@@ -0,0 +1 @@
{"version":3,"file":"AllPackageData.js","sourceRoot":"","sources":["../../../../base/lib/osBindings/AllPackageData.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
export type AllowedStatuses = 'only-running' | 'only-stopped' | 'any';
@@ -0,0 +1,4 @@
"use strict";
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=AllowedStatuses.js.map
@@ -0,0 +1 @@
{"version":3,"file":"AllowedStatuses.js","sourceRoot":"","sources":["../../../../base/lib/osBindings/AllowedStatuses.ts"],"names":[],"mappings":";AAAA,4GAA4G"}
+4
View File
@@ -0,0 +1,4 @@
import type { MaybeUtf8String } from './MaybeUtf8String';
export type AlpnInfo = 'reflect' | {
specified: Array<MaybeUtf8String>;
};
+3
View File
@@ -0,0 +1,3 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=AlpnInfo.js.map
@@ -0,0 +1 @@
{"version":3,"file":"AlpnInfo.js","sourceRoot":"","sources":["../../../../base/lib/osBindings/AlpnInfo.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
export type AnySignature = string;
@@ -0,0 +1,4 @@
"use strict";
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=AnySignature.js.map
@@ -0,0 +1 @@
{"version":3,"file":"AnySignature.js","sourceRoot":"","sources":["../../../../base/lib/osBindings/AnySignature.ts"],"names":[],"mappings":";AAAA,4GAA4G"}
@@ -0,0 +1 @@
export type AnySigningKey = string;
@@ -0,0 +1,4 @@
"use strict";
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=AnySigningKey.js.map
@@ -0,0 +1 @@
{"version":3,"file":"AnySigningKey.js","sourceRoot":"","sources":["../../../../base/lib/osBindings/AnySigningKey.ts"],"names":[],"mappings":";AAAA,4GAA4G"}
@@ -0,0 +1 @@
export type AnyVerifyingKey = string;

Some files were not shown because too many files have changed in this diff Show More