@hg-ts/knex 0.2.19 → 0.2.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/knex.config.d.ts +7 -43
- package/dist/knex.config.d.ts.map +1 -1
- package/package.json +23 -23
package/dist/knex.config.d.ts
CHANGED
|
@@ -1,54 +1,18 @@
|
|
|
1
1
|
import zod from '@hg-ts/validation';
|
|
2
2
|
export declare const KNEX_CONFIG_SCHEMA: zod.ZodObject<{
|
|
3
|
-
host: zod.
|
|
3
|
+
host: zod.ZodPipe<zod.ZodString, zod.ZodTransform<string, unknown>>;
|
|
4
4
|
port: zod.ZodNumber;
|
|
5
|
-
user: zod.
|
|
6
|
-
database: zod.
|
|
7
|
-
password: zod.
|
|
5
|
+
user: zod.ZodPipe<zod.ZodString, zod.ZodTransform<string, unknown>>;
|
|
6
|
+
database: zod.ZodPipe<zod.ZodString, zod.ZodTransform<string, unknown>>;
|
|
7
|
+
password: zod.ZodPipe<zod.ZodString, zod.ZodTransform<string, unknown>>;
|
|
8
8
|
migrations: zod.ZodObject<{
|
|
9
9
|
path: zod.ZodString;
|
|
10
10
|
allowTypescript: zod.ZodOptional<zod.ZodBoolean>;
|
|
11
|
-
},
|
|
12
|
-
path: string;
|
|
13
|
-
allowTypescript?: boolean | undefined;
|
|
14
|
-
}, {
|
|
15
|
-
path: string;
|
|
16
|
-
allowTypescript?: boolean | undefined;
|
|
17
|
-
}>;
|
|
11
|
+
}, zod.core.$strip>;
|
|
18
12
|
seeds: zod.ZodObject<{
|
|
19
13
|
path: zod.ZodString;
|
|
20
|
-
},
|
|
21
|
-
|
|
22
|
-
}, {
|
|
23
|
-
path: string;
|
|
24
|
-
}>;
|
|
25
|
-
}, "strip", zod.ZodTypeAny, {
|
|
26
|
-
host: string;
|
|
27
|
-
port: number;
|
|
28
|
-
user: string;
|
|
29
|
-
database: string;
|
|
30
|
-
password: string;
|
|
31
|
-
migrations: {
|
|
32
|
-
path: string;
|
|
33
|
-
allowTypescript?: boolean | undefined;
|
|
34
|
-
};
|
|
35
|
-
seeds: {
|
|
36
|
-
path: string;
|
|
37
|
-
};
|
|
38
|
-
}, {
|
|
39
|
-
host: string;
|
|
40
|
-
port: number;
|
|
41
|
-
user: string;
|
|
42
|
-
database: string;
|
|
43
|
-
password: string;
|
|
44
|
-
migrations: {
|
|
45
|
-
path: string;
|
|
46
|
-
allowTypescript?: boolean | undefined;
|
|
47
|
-
};
|
|
48
|
-
seeds: {
|
|
49
|
-
path: string;
|
|
50
|
-
};
|
|
51
|
-
}>;
|
|
14
|
+
}, zod.core.$strip>;
|
|
15
|
+
}, zod.core.$strip>;
|
|
52
16
|
declare const KnexConfig_base: import("@hg-ts/validation").ZodDto<{
|
|
53
17
|
host: string;
|
|
54
18
|
port: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"knex.config.d.ts","sourceRoot":"","sources":["../src/knex.config.ts"],"names":[],"mappings":"AAAA,OAAO,GAAG,MAAM,mBAAmB,CAAC;AAEpC,eAAO,MAAM,kBAAkB
|
|
1
|
+
{"version":3,"file":"knex.config.d.ts","sourceRoot":"","sources":["../src/knex.config.ts"],"names":[],"mappings":"AAAA,OAAO,GAAG,MAAM,mBAAmB,CAAC;AAEpC,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;mBAW7B,CAAC;;;;;;;;;;;;;;;AAEH,qBAAa,UAAW,SAAQ,eAA4B;CAAG"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hg-ts/knex",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.20",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": "./dist/index.js"
|
|
@@ -15,19 +15,19 @@
|
|
|
15
15
|
"lint:ts:fix": "lint-ts --fix"
|
|
16
16
|
},
|
|
17
17
|
"devDependencies": {
|
|
18
|
-
"@hg-ts-config/typescript": "0.2.
|
|
19
|
-
"@hg-ts/async-context": "0.2.
|
|
20
|
-
"@hg-ts/config-loader": "0.2.
|
|
21
|
-
"@hg-ts/domain": "0.2.
|
|
22
|
-
"@hg-ts/events": "0.2.
|
|
23
|
-
"@hg-ts/exception": "0.2.
|
|
24
|
-
"@hg-ts/execution-mode": "0.2.
|
|
25
|
-
"@hg-ts/linter": "0.2.
|
|
26
|
-
"@hg-ts/logger": "0.2.
|
|
27
|
-
"@hg-ts/repository": "0.2.
|
|
28
|
-
"@hg-ts/tests": "0.2.
|
|
29
|
-
"@hg-ts/types": "0.2.
|
|
30
|
-
"@hg-ts/validation": "0.2.
|
|
18
|
+
"@hg-ts-config/typescript": "0.2.20",
|
|
19
|
+
"@hg-ts/async-context": "0.2.20",
|
|
20
|
+
"@hg-ts/config-loader": "0.2.20",
|
|
21
|
+
"@hg-ts/domain": "0.2.20",
|
|
22
|
+
"@hg-ts/events": "0.2.20",
|
|
23
|
+
"@hg-ts/exception": "0.2.20",
|
|
24
|
+
"@hg-ts/execution-mode": "0.2.20",
|
|
25
|
+
"@hg-ts/linter": "0.2.20",
|
|
26
|
+
"@hg-ts/logger": "0.2.20",
|
|
27
|
+
"@hg-ts/repository": "0.2.20",
|
|
28
|
+
"@hg-ts/tests": "0.2.20",
|
|
29
|
+
"@hg-ts/types": "0.2.20",
|
|
30
|
+
"@hg-ts/validation": "0.2.20",
|
|
31
31
|
"@nestjs/common": "11.1.0",
|
|
32
32
|
"@types/node": "22.10.6",
|
|
33
33
|
"@types/pg": "^8",
|
|
@@ -40,15 +40,15 @@
|
|
|
40
40
|
"typescript": "5.7.3"
|
|
41
41
|
},
|
|
42
42
|
"peerDependencies": {
|
|
43
|
-
"@hg-ts/async-context": "0.2.
|
|
44
|
-
"@hg-ts/config-loader": "0.2.
|
|
45
|
-
"@hg-ts/domain": "0.2.
|
|
46
|
-
"@hg-ts/events": "0.2.
|
|
47
|
-
"@hg-ts/exception": "0.2.
|
|
48
|
-
"@hg-ts/execution-mode": "0.2.
|
|
49
|
-
"@hg-ts/logger": "0.2.
|
|
50
|
-
"@hg-ts/repository": "0.2.
|
|
51
|
-
"@hg-ts/validation": "0.2.
|
|
43
|
+
"@hg-ts/async-context": "0.2.20",
|
|
44
|
+
"@hg-ts/config-loader": "0.2.20",
|
|
45
|
+
"@hg-ts/domain": "0.2.20",
|
|
46
|
+
"@hg-ts/events": "0.2.20",
|
|
47
|
+
"@hg-ts/exception": "0.2.20",
|
|
48
|
+
"@hg-ts/execution-mode": "0.2.20",
|
|
49
|
+
"@hg-ts/logger": "0.2.20",
|
|
50
|
+
"@hg-ts/repository": "0.2.20",
|
|
51
|
+
"@hg-ts/validation": "0.2.20",
|
|
52
52
|
"@nestjs/common": "*",
|
|
53
53
|
"knex": ">=3.1.0",
|
|
54
54
|
"reflect-metadata": "*",
|