rename klo to ktx

This commit is contained in:
Andrey Avtomonov 2026-05-10 23:51:24 +02:00
parent 1a42152e6f
commit 3ce510b55b
704 changed files with 10205 additions and 10255 deletions

View file

@ -1,11 +1,11 @@
import type { KloSchemaDimensionType, KloTableRef } from '@klo/context/scan';
import type { KtxSchemaDimensionType, KtxTableRef } from '@ktx/context/scan';
type SqlServerTableNameRef = Pick<KloTableRef, 'name'> & Partial<Pick<KloTableRef, 'catalog' | 'db'>>;
type SqlServerTableNameRef = Pick<KtxTableRef, 'name'> & Partial<Pick<KtxTableRef, 'catalog' | 'db'>>;
export class KloSqlServerDialect {
export class KtxSqlServerDialect {
readonly type = 'sqlserver';
private readonly typeMappings: Record<string, KloSchemaDimensionType> = {
private readonly typeMappings: Record<string, KtxSchemaDimensionType> = {
datetime: 'time',
datetime2: 'time',
date: 'time',
@ -48,7 +48,7 @@ export class KloSqlServerDialect {
return nativeType;
}
mapToDimensionType(nativeType: string): KloSchemaDimensionType {
mapToDimensionType(nativeType: string): KtxSchemaDimensionType {
if (!nativeType) {
return 'string';
}