@hg-ts/knex 0.2.18 → 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.
@@ -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.ZodEffects<zod.ZodString, string, string>;
3
+ host: zod.ZodPipe<zod.ZodString, zod.ZodTransform<string, unknown>>;
4
4
  port: zod.ZodNumber;
5
- user: zod.ZodEffects<zod.ZodString, string, string>;
6
- database: zod.ZodEffects<zod.ZodString, string, string>;
7
- password: zod.ZodEffects<zod.ZodString, string, string>;
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
- }, "strip", zod.ZodTypeAny, {
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
- }, "strip", zod.ZodTypeAny, {
21
- path: string;
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAW7B,CAAC;;;;;;;;;;;;;;;AAEH,qBAAa,UAAW,SAAQ,eAA4B;CAAG"}
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.18",
3
+ "version": "0.2.20",
4
4
  "main": "dist/index.js",
5
5
  "exports": {
6
6
  ".": "./dist/index.js"
@@ -15,18 +15,19 @@
15
15
  "lint:ts:fix": "lint-ts --fix"
16
16
  },
17
17
  "devDependencies": {
18
- "@hg-ts-config/typescript": "0.2.18",
19
- "@hg-ts/async-context": "0.2.18",
20
- "@hg-ts/config-loader": "0.2.18",
21
- "@hg-ts/domain": "0.2.18",
22
- "@hg-ts/exception": "0.2.18",
23
- "@hg-ts/execution-mode": "0.2.18",
24
- "@hg-ts/linter": "0.2.18",
25
- "@hg-ts/logger": "0.2.18",
26
- "@hg-ts/repository": "0.2.18",
27
- "@hg-ts/tests": "0.2.18",
28
- "@hg-ts/types": "0.2.18",
29
- "@hg-ts/validation": "0.2.18",
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",
30
31
  "@nestjs/common": "11.1.0",
31
32
  "@types/node": "22.10.6",
32
33
  "@types/pg": "^8",
@@ -39,14 +40,15 @@
39
40
  "typescript": "5.7.3"
40
41
  },
41
42
  "peerDependencies": {
42
- "@hg-ts/async-context": "0.2.18",
43
- "@hg-ts/config-loader": "0.2.18",
44
- "@hg-ts/domain": "0.2.18",
45
- "@hg-ts/exception": "0.2.18",
46
- "@hg-ts/execution-mode": "0.2.18",
47
- "@hg-ts/logger": "0.2.18",
48
- "@hg-ts/repository": "0.2.18",
49
- "@hg-ts/validation": "0.2.18",
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",
50
52
  "@nestjs/common": "*",
51
53
  "knex": ">=3.1.0",
52
54
  "reflect-metadata": "*",