@nestjs-kitchen/connextion-postgres 2.0.0 → 2.0.2
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/define-postgres.d.ts +2 -2
- package/dist/index.d.ts +1 -1
- package/package.json +7 -7
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { PostgresInstanceOptions } from './types.js';
|
|
2
2
|
import * as _nestjs_common from '@nestjs/common';
|
|
3
3
|
import * as _nestjs_kitchen_connextion from '@nestjs-kitchen/connextion';
|
|
4
|
+
import { DEFAULT_INSTANCE_NAME } from './constants.js';
|
|
4
5
|
import { PostgresInstance } from './postgres.instance.js';
|
|
5
6
|
import 'pg';
|
|
6
7
|
import 'node:async_hooks';
|
|
7
|
-
import './constants.js';
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* Creates a set of Postgres services, modules, and their associated Transaction decorator.
|
|
11
11
|
*/
|
|
12
|
-
declare const definePostgres: <T extends string =
|
|
12
|
+
declare const definePostgres: <T extends string = typeof DEFAULT_INSTANCE_NAME>() => {
|
|
13
13
|
/**
|
|
14
14
|
* The Postgres service, responsible for managing all postgres connection instances registered by the module.
|
|
15
15
|
*/
|
package/dist/index.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@nestjs-kitchen/connextion-postgres",
|
|
3
3
|
"private": false,
|
|
4
4
|
"description": "A flexible module to provide node-postgres interface in NextJS.",
|
|
5
|
-
"version": "2.0.
|
|
5
|
+
"version": "2.0.2",
|
|
6
6
|
"homepage": "https://github.com/yikenman/nestjs-kitchen",
|
|
7
7
|
"repository": "https://github.com/yikenman/nestjs-kitchen",
|
|
8
8
|
"author": "yikenman",
|
|
@@ -22,16 +22,16 @@
|
|
|
22
22
|
"uid": "^2.0.2"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
|
-
"@nestjs/testing": "^11.0.
|
|
25
|
+
"@nestjs/testing": "^11.0.0",
|
|
26
26
|
"@types/jest": "^29.5.14",
|
|
27
|
-
"@types/node": "^22.13.
|
|
27
|
+
"@types/node": "^22.13.9",
|
|
28
28
|
"jest": "^29.7.0",
|
|
29
29
|
"ts-jest": "^29.2.6",
|
|
30
30
|
"ts-node": "^10.9.2",
|
|
31
31
|
"tsconfig-paths": "^4.2.0",
|
|
32
32
|
"tsup": "^8.4.0",
|
|
33
|
-
"typescript": "^5.
|
|
34
|
-
"@nestjs-kitchen/connextion": "2.0.
|
|
33
|
+
"typescript": "^5.8.2",
|
|
34
|
+
"@nestjs-kitchen/connextion": "2.0.2"
|
|
35
35
|
},
|
|
36
36
|
"engines": {
|
|
37
37
|
"node": ">=20.13.0"
|
|
@@ -47,11 +47,11 @@
|
|
|
47
47
|
"SQL"
|
|
48
48
|
],
|
|
49
49
|
"peerDependencies": {
|
|
50
|
-
"@nestjs/common": "^11.0.
|
|
50
|
+
"@nestjs/common": "^10.0.0 || ^11.0.0",
|
|
51
51
|
"@types/pg": "^8.11.10",
|
|
52
52
|
"pg": "^8.13.1",
|
|
53
53
|
"reflect-metadata": "^0.2.2",
|
|
54
|
-
"@nestjs-kitchen/connextion": "2.0.
|
|
54
|
+
"@nestjs-kitchen/connextion": "2.0.2"
|
|
55
55
|
},
|
|
56
56
|
"scripts": {
|
|
57
57
|
"build": "tsup",
|