mirror of
https://github.com/Kaelio/ktx.git
synced 2026-07-13 11:22:11 +02:00
rename klo to ktx
This commit is contained in:
parent
1a42152e6f
commit
3ce510b55b
704 changed files with 10205 additions and 10255 deletions
|
|
@ -1,20 +1,20 @@
|
|||
export interface KloColumnEmbeddingForeignKeys {
|
||||
export interface KtxColumnEmbeddingForeignKeys {
|
||||
outgoing: Array<{ toTable: string; toColumn: string }>;
|
||||
incoming: Array<{ fromTable: string; fromColumn: string }>;
|
||||
}
|
||||
|
||||
export interface KloColumnEmbeddingTextInput {
|
||||
export interface KtxColumnEmbeddingTextInput {
|
||||
tableName: string;
|
||||
columnName: string;
|
||||
columnType: string;
|
||||
resolvedDescription: string | null;
|
||||
sampleValues?: readonly string[] | null;
|
||||
resolvedTableDescription?: string | null;
|
||||
foreignKeys?: KloColumnEmbeddingForeignKeys | null;
|
||||
foreignKeys?: KtxColumnEmbeddingForeignKeys | null;
|
||||
maxSampleValues?: number;
|
||||
}
|
||||
|
||||
export function buildKloColumnEmbeddingText(input: KloColumnEmbeddingTextInput): string {
|
||||
export function buildKtxColumnEmbeddingText(input: KtxColumnEmbeddingTextInput): string {
|
||||
const parts: string[] = [];
|
||||
|
||||
parts.push(`${input.tableName}.${input.columnName} (${input.columnType})`);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue