Initial open-source release

Claude-Session: https://claude.ai/code/session_01B65qLEKnkeYTGdbwhLpjCu
Цей коміт міститься в:
l0ng-ai committed 2026-10-22 18:55:10 +08:00
коміт 9a2025b76e
2034 files changed
+243381

No files matched your search

+18
Переглянути файл
@@ -0,0 +1,18 @@
import type { EditorInput } from "@/workbench/contributions";
export const TABLE_KIND = "db-table";
export interface TableRef {
id: string;
schema: string;
table: string;
}
export function tableTitle(input: EditorInput): string {
return (input.data as TableRef).table;
}
export function tableInput(id: string, schema: string, table: string): EditorInput {
const data: TableRef = { id, schema, table };
return { kind: TABLE_KIND, key: `${TABLE_KIND}:${id}:${schema}.${table}`, data };
}