@housekit/orm 0.1.34 → 0.1.35

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.d.ts +5 -6
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { type TableDefinition, type TableColumns } from './core';
2
- import { type ClientConfigWithSchema, type HousekitClient as HousekitClientType, type HousekitClientConfig, type HousekitClient } from './client';
2
+ import { type ClientConfigWithSchema, type HousekitClientConfig, type HousekitClient } from './client';
3
3
  import { generateSelectSchema, generateInsertSchema } from './codegen/zod';
4
4
  export { ClickHouseColumn } from './column';
5
5
  export { type TableDefinition, type TableColumns, type TableOptions, type IndexDefinition, type ProjectionDefinition, type InsertModel, type TableModel, type TableInsertArray, type TableRuntime, type TableInsert, index, projection, deriveTable, renderSchema } from './table';
@@ -68,15 +68,14 @@ export interface HouseKitConfig {
68
68
  export declare function createClientFromConfig(databaseName?: string): Promise<HousekitClient>;
69
69
  export declare function housekit<TSchema extends Record<string, TableDefinition<any>> = Record<string, TableDefinition<any>>>(config: HousekitClientConfig, options?: {
70
70
  schema?: TSchema;
71
- }): HousekitClientType<TSchema>;
71
+ }): HousekitClient<TSchema>;
72
72
  export declare function createSchema<TCols extends TableColumns>(table: TableDefinition<TCols>): {
73
73
  select: import("zod").ZodObject<any, import("zod/v4/core").$strip>;
74
74
  insert: import("zod").ZodObject<any, import("zod/v4/core").$strip>;
75
75
  };
76
- export type { HousekitClient };
77
- export declare function createClient(): Promise<HousekitClientType>;
78
- export declare function createClient(config: ClientConfigWithSchema): HousekitClientType;
79
- export declare function createClient(databaseName: string): Promise<HousekitClientType>;
76
+ export declare function createClient(): Promise<HousekitClient>;
77
+ export declare function createClient(config: ClientConfigWithSchema): HousekitClient;
78
+ export declare function createClient(databaseName: string): Promise<HousekitClient>;
80
79
  export declare function tableExists(client: HousekitClient, tableName: string): Promise<boolean>;
81
80
  export declare function ensureTable<TCols extends TableColumns>(client: HousekitClient, table: TableDefinition<TCols>): Promise<void>;
82
81
  export declare function dropTable(client: HousekitClient, tableName: string, options?: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@housekit/orm",
3
- "version": "0.1.34",
3
+ "version": "0.1.35",
4
4
  "description": "Type-safe ClickHouse ORM with modern DX and ClickHouse-specific optimizations. Features Turbo Mode (RowBinary), full engine support, and advanced query capabilities.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",