@housekit/kit 0.1.19 → 0.1.20

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.
package/dist/config.d.ts CHANGED
@@ -1,28 +1,5 @@
1
- export interface DatabaseConnection {
2
- host?: string;
3
- port?: number;
4
- database: string;
5
- username?: string;
6
- password?: string;
7
- url?: string;
8
- }
9
- export interface HouseKitConfig {
10
- /**
11
- * Path to the directory containing your schema files (.ts or .js).
12
- * Can be a single path or a mapping for multiple databases.
13
- */
14
- schema: string | Record<string, string>;
15
- /**
16
- * Directory where SQL migrations and snapshots will be generated.
17
- */
18
- out: string;
19
- language?: 'ts' | 'js';
20
- /**
21
- * ClickHouse connection configuration.
22
- * Each key represents the database name you will use in the CLI with `--database`.
23
- */
24
- databases: Record<string, DatabaseConnection>;
25
- }
1
+ import type { DatabaseConnection, HouseKitConfig } from '@housekit/orm';
2
+ export type { DatabaseConnection, HouseKitConfig };
26
3
  export type { HouseKitConfig as default };
27
4
  /**
28
5
  * Helper to get all database configurations