From 6c5b8315a3971d4adc8144aea52ff03d4b8aac30 Mon Sep 17 00:00:00 2001 From: Hare Date: Thu, 3 Sep 2026 05:07:14 +0900 Subject: [PATCH] chore: remove generated test bindings --- crates/workspace-server/bindings/ConfigCommitRequest.ts | 5 ----- crates/workspace-server/bindings/ConfigContentType.ts | 3 --- crates/workspace-server/bindings/ConfigEntry.ts | 5 ----- .../workspace-server/bindings/ConfigProjectionValidator.ts | 3 --- crates/workspace-server/bindings/ConfigSchemaContribution.ts | 4 ---- crates/workspace-server/bindings/ConfigTreeChange.ts | 5 ----- crates/workspace-server/bindings/ConfigTreeSnapshot.ts | 5 ----- crates/workspace-server/bindings/ToolchainContract.ts | 5 ----- crates/workspace-server/bindings/VirtualPath.ts | 3 --- .../workspace-server/bindings/WorkspaceConfigSchemaBundle.ts | 4 ---- crates/workspace-server/bindings/WorkspaceConfigState.ts | 5 ----- 11 files changed, 47 deletions(-) delete mode 100644 crates/workspace-server/bindings/ConfigCommitRequest.ts delete mode 100644 crates/workspace-server/bindings/ConfigContentType.ts delete mode 100644 crates/workspace-server/bindings/ConfigEntry.ts delete mode 100644 crates/workspace-server/bindings/ConfigProjectionValidator.ts delete mode 100644 crates/workspace-server/bindings/ConfigSchemaContribution.ts delete mode 100644 crates/workspace-server/bindings/ConfigTreeChange.ts delete mode 100644 crates/workspace-server/bindings/ConfigTreeSnapshot.ts delete mode 100644 crates/workspace-server/bindings/ToolchainContract.ts delete mode 100644 crates/workspace-server/bindings/VirtualPath.ts delete mode 100644 crates/workspace-server/bindings/WorkspaceConfigSchemaBundle.ts delete mode 100644 crates/workspace-server/bindings/WorkspaceConfigState.ts diff --git a/crates/workspace-server/bindings/ConfigCommitRequest.ts b/crates/workspace-server/bindings/ConfigCommitRequest.ts deleted file mode 100644 index 8c5fbd90..00000000 --- a/crates/workspace-server/bindings/ConfigCommitRequest.ts +++ /dev/null @@ -1,5 +0,0 @@ -// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -import type { ConfigTreeChange } from "./ConfigTreeChange"; -import type { VirtualPath } from "./VirtualPath"; - -export type ConfigCommitRequest = { base_revision: number, base_digest: string, changes: Array, entrypoints: Array, }; diff --git a/crates/workspace-server/bindings/ConfigContentType.ts b/crates/workspace-server/bindings/ConfigContentType.ts deleted file mode 100644 index bef199f9..00000000 --- a/crates/workspace-server/bindings/ConfigContentType.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 ConfigContentType = "decodal" | "text"; diff --git a/crates/workspace-server/bindings/ConfigEntry.ts b/crates/workspace-server/bindings/ConfigEntry.ts deleted file mode 100644 index 1e16ad74..00000000 --- a/crates/workspace-server/bindings/ConfigEntry.ts +++ /dev/null @@ -1,5 +0,0 @@ -// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -import type { ConfigContentType } from "./ConfigContentType"; -import type { VirtualPath } from "./VirtualPath"; - -export type ConfigEntry = { path: VirtualPath, content_type: ConfigContentType, content: string, content_digest: string, }; diff --git a/crates/workspace-server/bindings/ConfigProjectionValidator.ts b/crates/workspace-server/bindings/ConfigProjectionValidator.ts deleted file mode 100644 index 04cd5395..00000000 --- a/crates/workspace-server/bindings/ConfigProjectionValidator.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 ConfigProjectionValidator = { "kind": "static_template_catalog", namespace: string, key_aliases?: { [key in string]: string }, }; diff --git a/crates/workspace-server/bindings/ConfigSchemaContribution.ts b/crates/workspace-server/bindings/ConfigSchemaContribution.ts deleted file mode 100644 index 69d5a595..00000000 --- a/crates/workspace-server/bindings/ConfigSchemaContribution.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 { ConfigProjectionValidator } from "./ConfigProjectionValidator"; - -export type ConfigSchemaContribution = { provider_id: string, namespace: string, version: string, source: string, projection_validator?: ConfigProjectionValidator | null, source_digest: string, }; diff --git a/crates/workspace-server/bindings/ConfigTreeChange.ts b/crates/workspace-server/bindings/ConfigTreeChange.ts deleted file mode 100644 index 9f2442c4..00000000 --- a/crates/workspace-server/bindings/ConfigTreeChange.ts +++ /dev/null @@ -1,5 +0,0 @@ -// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -import type { ConfigContentType } from "./ConfigContentType"; -import type { VirtualPath } from "./VirtualPath"; - -export type ConfigTreeChange = { "kind": "create", path: VirtualPath, content_type: ConfigContentType, content: string, } | { "kind": "update", path: VirtualPath, expected_digest: string, content: string, } | { "kind": "rename", from: VirtualPath, to: VirtualPath, expected_digest: string, } | { "kind": "delete", path: VirtualPath, expected_digest: string, }; diff --git a/crates/workspace-server/bindings/ConfigTreeSnapshot.ts b/crates/workspace-server/bindings/ConfigTreeSnapshot.ts deleted file mode 100644 index 5f723ce9..00000000 --- a/crates/workspace-server/bindings/ConfigTreeSnapshot.ts +++ /dev/null @@ -1,5 +0,0 @@ -// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -import type { ConfigEntry } from "./ConfigEntry"; -import type { VirtualPath } from "./VirtualPath"; - -export type ConfigTreeSnapshot = { revision: number, digest: string, entries: { [key in VirtualPath]: ConfigEntry }, }; diff --git a/crates/workspace-server/bindings/ToolchainContract.ts b/crates/workspace-server/bindings/ToolchainContract.ts deleted file mode 100644 index 152cd58f..00000000 --- a/crates/workspace-server/bindings/ToolchainContract.ts +++ /dev/null @@ -1,5 +0,0 @@ -// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -import type { VirtualPath } from "./VirtualPath"; -import type { WorkspaceConfigSchemaBundle } from "./WorkspaceConfigSchemaBundle"; - -export type ToolchainContract = { contract_version: number, decodal_version: string, schema_version: number, entrypoints: Array, import_policy_version: number, schema_bundle: WorkspaceConfigSchemaBundle, fingerprint: string, }; diff --git a/crates/workspace-server/bindings/VirtualPath.ts b/crates/workspace-server/bindings/VirtualPath.ts deleted file mode 100644 index 12c7d5ec..00000000 --- a/crates/workspace-server/bindings/VirtualPath.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 VirtualPath = string; diff --git a/crates/workspace-server/bindings/WorkspaceConfigSchemaBundle.ts b/crates/workspace-server/bindings/WorkspaceConfigSchemaBundle.ts deleted file mode 100644 index 48b2e3d8..00000000 --- a/crates/workspace-server/bindings/WorkspaceConfigSchemaBundle.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 { ConfigSchemaContribution } from "./ConfigSchemaContribution"; - -export type WorkspaceConfigSchemaBundle = { contributions: Array, source: string, fingerprint: string, }; diff --git a/crates/workspace-server/bindings/WorkspaceConfigState.ts b/crates/workspace-server/bindings/WorkspaceConfigState.ts deleted file mode 100644 index 592277cc..00000000 --- a/crates/workspace-server/bindings/WorkspaceConfigState.ts +++ /dev/null @@ -1,5 +0,0 @@ -// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -import type { ConfigTreeSnapshot } from "./ConfigTreeSnapshot"; -import type { ToolchainContract } from "./ToolchainContract"; - -export type WorkspaceConfigState = { snapshot: ConfigTreeSnapshot, contract: ToolchainContract, projection_digest: string, };