@nathapp/nestjs-data 1.0.0-rc.8 → 1.0.0-rc.9
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.
|
@@ -4,9 +4,9 @@ import { BaseDataSourceOptions } from "typeorm/data-source/BaseDataSourceOptions
|
|
|
4
4
|
export type OptionWithoutEntities = Omit<Partial<BaseDataSourceOptions>, "entities" | "type">;
|
|
5
5
|
export declare class BaseTypeOrmModuleOptionFactory implements TypeOrmOptionsFactory {
|
|
6
6
|
private readonly connectionString;
|
|
7
|
-
private readonly entities
|
|
7
|
+
private readonly entities?;
|
|
8
8
|
private readonly options?;
|
|
9
9
|
private connectionType;
|
|
10
|
-
constructor(connectionString: string, entities
|
|
10
|
+
constructor(connectionString: string, entities?: MixedList<Function | string | EntitySchema>, options?: OptionWithoutEntities);
|
|
11
11
|
createTypeOrmOptions(connectionName?: string): TypeOrmModuleOptions | Promise<TypeOrmModuleOptions>;
|
|
12
12
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nathapp/nestjs-data",
|
|
3
|
-
"version": "1.0.0-rc.
|
|
3
|
+
"version": "1.0.0-rc.9",
|
|
4
4
|
"description": "@nathapp/nestjs-data",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "rimraf dist && tsc -p tsconfig.json",
|
|
@@ -14,9 +14,7 @@
|
|
|
14
14
|
"license": "ISC",
|
|
15
15
|
"devDependencies": {
|
|
16
16
|
"@golevelup/ts-jest": "^0.3.7",
|
|
17
|
-
"@nestjs/
|
|
18
|
-
"@nestjs/platform-fastify": "^9.0.0",
|
|
19
|
-
"@nestjs/testing": "^9.4.3",
|
|
17
|
+
"@nestjs/testing": "^10.0.0",
|
|
20
18
|
"@types/jest": "^29.5.2",
|
|
21
19
|
"@types/node": "^17.0.22",
|
|
22
20
|
"@typescript-eslint/eslint-plugin": "^4",
|
|
@@ -36,8 +34,7 @@
|
|
|
36
34
|
"lib": "lib"
|
|
37
35
|
},
|
|
38
36
|
"dependencies": {
|
|
39
|
-
"@nathapp/nestjs-common": "^1.0.1-rc.
|
|
40
|
-
"@nestjs/typeorm": "^9.0.1",
|
|
37
|
+
"@nathapp/nestjs-common": "^1.0.1-rc.22",
|
|
41
38
|
"moment": "^2.29.4",
|
|
42
39
|
"typeorm": "^0.3.12",
|
|
43
40
|
"typeorm-naming-strategies": "^4.1.0"
|
|
@@ -45,6 +42,7 @@
|
|
|
45
42
|
"peerDependencies": {
|
|
46
43
|
"@nestjs/common": "^8.0.0 || ^9.0.0 || ^10.0.0",
|
|
47
44
|
"@nestjs/core": "^8.0.0 || ^9.0.0 || ^10.0.0",
|
|
45
|
+
"@nestjs/typeorm": "^8.0.0 || ^9.0.0 || ^10.0.0",
|
|
48
46
|
"class-transformer": "*",
|
|
49
47
|
"class-validator": "*",
|
|
50
48
|
"rxjs": "*"
|