diff --git a/bindings/GameType.ts b/bindings/GameType.ts index 0b68e1324..57830e39a 100644 --- a/bindings/GameType.ts +++ b/bindings/GameType.ts @@ -1,3 +1,3 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type GameType = "MinecraftJava" | "Generic"; \ No newline at end of file +export type GameType = "MinecraftJava" | "MinecraftBedrock" | "Generic"; \ No newline at end of file diff --git a/bindings/GenericSetupConfig.ts b/bindings/GenericSetupConfig.ts deleted file mode 100644 index 4e8d37ebe..000000000 --- a/bindings/GenericSetupConfig.ts +++ /dev/null @@ -1,4 +0,0 @@ -// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -import type { InstanceUuid } from "./InstanceUuid"; - -export interface GenericSetupConfig { game_type: string, uuid: InstanceUuid, name: string, description: string, port: number, auto_start: boolean, restart_on_crash: boolean, started_count: number, } \ No newline at end of file diff --git a/bindings/GenericSetupConfigPrimitive.ts b/bindings/GenericSetupConfigPrimitive.ts deleted file mode 100644 index 06b9a5f21..000000000 --- a/bindings/GenericSetupConfigPrimitive.ts +++ /dev/null @@ -1,3 +0,0 @@ -// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. - -export interface GenericSetupConfigPrimitive { name: string, description: string | null, port: number, auto_start: boolean | null, restart_on_crash: boolean | null, timeout_last_left: number | null, timeout_no_activity: number | null, start_on_connection: boolean | null, } \ No newline at end of file diff --git a/bindings/InstanceManifest.ts b/bindings/InstanceManifest.ts deleted file mode 100644 index 93e279e16..000000000 --- a/bindings/InstanceManifest.ts +++ /dev/null @@ -1,4 +0,0 @@ -// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -import type { InstanceOperation } from "./InstanceOperation"; - -export interface InstanceManifest { supported_operations: Array, settings: Array, } \ No newline at end of file diff --git a/bindings/InstanceOperation.ts b/bindings/InstanceOperation.ts deleted file mode 100644 index da298ced2..000000000 --- a/bindings/InstanceOperation.ts +++ /dev/null @@ -1,3 +0,0 @@ -// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. - -export type InstanceOperation = "GetMinRam" | "GetMaxRam" | "GetRestartOnCrash" | "GetTimeoutLastLeft" | "GetTimeoutNoActivity" | "GetStartOnConnection" | "GetBackupPeriod" | "SetMinRam" | "SetMaxRam" | "SetPort" | "SetRestartOnCrash" | "SetTimeoutLastLeft" | "SetTimeoutNoActivity" | "SetStartOnConnection" | "SetBackupPeriod" | "RunMacro" | "GetPlayerCount" | "GetMaxPlayerCount" | "GetPlayerList" | "LoadResource" | "UnloadResource" | "DeleteResource"; \ No newline at end of file diff --git a/bindings/MacroEventInner.ts b/bindings/MacroEventInner.ts index 2b0507f14..8878bbab2 100644 --- a/bindings/MacroEventInner.ts +++ b/bindings/MacroEventInner.ts @@ -1,4 +1,4 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { ExitStatus } from "./ExitStatus"; -export type MacroEventInner = { type: "Started" } | { type: "MainModuleExecuted" } | { type: "Detach" } | { type: "Stopped", exit_status: ExitStatus, }; \ No newline at end of file +export type MacroEventInner = { type: "Started" } | { type: "Detach" } | { type: "Stopped", exit_status: ExitStatus, }; \ No newline at end of file diff --git a/bindings/MinecraftSetupConfigPrimitive.ts b/bindings/MinecraftSetupConfigPrimitive.ts deleted file mode 100644 index 46bd6c80a..000000000 --- a/bindings/MinecraftSetupConfigPrimitive.ts +++ /dev/null @@ -1,4 +0,0 @@ -// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -import type { MinecraftFlavour } from "./MinecraftFlavour"; - -export interface MinecraftSetupConfigPrimitive { name: string, version: string, flavour: MinecraftFlavour, port: number, cmd_args: Array | null, description: string | null, min_ram: number | null, max_ram: number | null, auto_start: boolean | null, restart_on_crash: boolean | null, timeout_last_left: number | null, timeout_no_activity: number | null, start_on_connection: boolean | null, backup_period: number | null, } \ No newline at end of file diff --git a/deno_bindings/ClientError.ts b/deno_bindings/ClientError.ts index 821acaa66..db8c793e7 100644 --- a/deno_bindings/ClientError.ts +++ b/deno_bindings/ClientError.ts @@ -1,4 +1,5 @@ -// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. +// This file was created MANUALLY +// We have a custom Serialize implementation import type { ErrorKind } from "./ErrorKind.ts"; export interface ClientError { kind: ErrorKind, causes: Array, }