mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-31 04:23:40 +00:00
chore: Add in some more files for the testing of the sdk and the rust interface
This commit is contained in:
3
core/startos/bindings/AddSslOptions.ts
Normal file
3
core/startos/bindings/AddSslOptions.ts
Normal file
@@ -0,0 +1,3 @@
|
||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
|
||||
export interface AddSslOptions { scheme: string | null, preferredExternalPort: number, addXForwardedHeaders: boolean | null, }
|
||||
3
core/startos/bindings/Algorithm.ts
Normal file
3
core/startos/bindings/Algorithm.ts
Normal file
@@ -0,0 +1,3 @@
|
||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
|
||||
export type Algorithm = "ecdsa" | "ed25519";
|
||||
3
core/startos/bindings/BindKind.ts
Normal file
3
core/startos/bindings/BindKind.ts
Normal file
@@ -0,0 +1,3 @@
|
||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
|
||||
export type BindKind = "static" | "single" | "multi";
|
||||
5
core/startos/bindings/BindParams.ts
Normal file
5
core/startos/bindings/BindParams.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
import type { AddSslOptions } from "./AddSslOptions";
|
||||
import type { BindKind } from "./BindKind";
|
||||
|
||||
export interface BindParams { kind: BindKind, id: string, internalPort: number, scheme: string, preferredExternalPort: number, addSsl: AddSslOptions | null, secure: boolean, ssl: boolean, }
|
||||
3
core/startos/bindings/Callback.ts
Normal file
3
core/startos/bindings/Callback.ts
Normal file
@@ -0,0 +1,3 @@
|
||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
|
||||
export type Callback = () => void;
|
||||
3
core/startos/bindings/ChrootParams.ts
Normal file
3
core/startos/bindings/ChrootParams.ts
Normal file
@@ -0,0 +1,3 @@
|
||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
|
||||
export interface ChrootParams { env: string | null, workdir: string | null, user: string | null, path: string, command: string, args: string[], }
|
||||
4
core/startos/bindings/CreateOverlayedImageParams.ts
Normal file
4
core/startos/bindings/CreateOverlayedImageParams.ts
Normal file
@@ -0,0 +1,4 @@
|
||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
import type { ImageId } from "./ImageId";
|
||||
|
||||
export interface CreateOverlayedImageParams { imageId: ImageId, }
|
||||
4
core/startos/bindings/DestroyOverlayedImageParams.ts
Normal file
4
core/startos/bindings/DestroyOverlayedImageParams.ts
Normal file
@@ -0,0 +1,4 @@
|
||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
import type { ImageId } from "./ImageId";
|
||||
|
||||
export interface DestroyOverlayedImageParams { imageId: ImageId, guid: string, }
|
||||
5
core/startos/bindings/ExecuteAction.ts
Normal file
5
core/startos/bindings/ExecuteAction.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
import type { ActionId } from "./ActionId";
|
||||
import type { PackageId } from "./PackageId";
|
||||
|
||||
export interface ExecuteAction { serviceId: PackageId | null, actionId: ActionId, input: any, }
|
||||
3
core/startos/bindings/ExposeForDependentsParams.ts
Normal file
3
core/startos/bindings/ExposeForDependentsParams.ts
Normal file
@@ -0,0 +1,3 @@
|
||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
|
||||
export interface ExposeForDependentsParams { paths: string[], }
|
||||
4
core/startos/bindings/ExposeUiParams.ts
Normal file
4
core/startos/bindings/ExposeUiParams.ts
Normal file
@@ -0,0 +1,4 @@
|
||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
import type { ExposedUI } from "./ExposedUI";
|
||||
|
||||
export interface ExposeUiParams { paths: Array<ExposedUI>, }
|
||||
5
core/startos/bindings/GetHostInfoParams.ts
Normal file
5
core/startos/bindings/GetHostInfoParams.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
import type { Callback } from "./Callback";
|
||||
import type { GetHostInfoParamsKind } from "./GetHostInfoParamsKind";
|
||||
|
||||
export interface GetHostInfoParams { kind: GetHostInfoParamsKind | null, serviceInterfaceId: string, packageId: string | null, callback: Callback, }
|
||||
3
core/startos/bindings/GetHostInfoParamsKind.ts
Normal file
3
core/startos/bindings/GetHostInfoParamsKind.ts
Normal file
@@ -0,0 +1,3 @@
|
||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
|
||||
export type GetHostInfoParamsKind = "multi";
|
||||
5
core/startos/bindings/GetServiceInterfaceParams.ts
Normal file
5
core/startos/bindings/GetServiceInterfaceParams.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
import type { Callback } from "./Callback";
|
||||
import type { PackageId } from "./PackageId";
|
||||
|
||||
export interface GetServiceInterfaceParams { packageId: PackageId | null, serviceInterfaceId: string, callback: Callback, }
|
||||
4
core/startos/bindings/GetSslCertificateParams.ts
Normal file
4
core/startos/bindings/GetSslCertificateParams.ts
Normal file
@@ -0,0 +1,4 @@
|
||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
import type { Algorithm } from "./Algorithm";
|
||||
|
||||
export interface GetSslCertificateParams { packageId: string | null, hostId: string, algorithm: Algorithm | null, }
|
||||
4
core/startos/bindings/GetSslKeyParams.ts
Normal file
4
core/startos/bindings/GetSslKeyParams.ts
Normal file
@@ -0,0 +1,4 @@
|
||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
import type { Algorithm } from "./Algorithm";
|
||||
|
||||
export interface GetSslKeyParams { packageId: string | null, hostId: string, algorithm: Algorithm | null, }
|
||||
4
core/startos/bindings/GetStoreParams.ts
Normal file
4
core/startos/bindings/GetStoreParams.ts
Normal file
@@ -0,0 +1,4 @@
|
||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
import type { PackageId } from "./PackageId";
|
||||
|
||||
export interface GetStoreParams { packageId: PackageId | null, path: string, }
|
||||
4
core/startos/bindings/ParamsMaybePackageId.ts
Normal file
4
core/startos/bindings/ParamsMaybePackageId.ts
Normal file
@@ -0,0 +1,4 @@
|
||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
import type { PackageId } from "./PackageId";
|
||||
|
||||
export interface ParamsMaybePackageId { packageId: PackageId | null, }
|
||||
4
core/startos/bindings/ParamsPackageId.ts
Normal file
4
core/startos/bindings/ParamsPackageId.ts
Normal file
@@ -0,0 +1,4 @@
|
||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
import type { PackageId } from "./PackageId";
|
||||
|
||||
export interface ParamsPackageId { packageId: PackageId, }
|
||||
3
core/startos/bindings/SetConfigured.ts
Normal file
3
core/startos/bindings/SetConfigured.ts
Normal file
@@ -0,0 +1,3 @@
|
||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
|
||||
export interface SetConfigured { configured: boolean, }
|
||||
5
core/startos/bindings/SetHealth.ts
Normal file
5
core/startos/bindings/SetHealth.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
import type { HealthCheckId } from "./HealthCheckId";
|
||||
import type { HealthCheckString } from "./HealthCheckString";
|
||||
|
||||
export interface SetHealth { name: HealthCheckId, status: HealthCheckString, message: string | null, }
|
||||
4
core/startos/bindings/SetMainStatus.ts
Normal file
4
core/startos/bindings/SetMainStatus.ts
Normal file
@@ -0,0 +1,4 @@
|
||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
import type { Status } from "./Status";
|
||||
|
||||
export interface SetMainStatus { status: Status, }
|
||||
3
core/startos/bindings/SetStoreParams.ts
Normal file
3
core/startos/bindings/SetStoreParams.ts
Normal file
@@ -0,0 +1,3 @@
|
||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
|
||||
export interface SetStoreParams { value: any, path: string, }
|
||||
3
core/startos/bindings/Status.ts
Normal file
3
core/startos/bindings/Status.ts
Normal file
@@ -0,0 +1,3 @@
|
||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
|
||||
export type Status = "running" | "stopped";
|
||||
Reference in New Issue
Block a user