@smartsoft001/trans-shell-nestjs 1.0.720 → 1.0.740
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/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smartsoft001/trans-shell-nestjs",
|
3
|
-
"version": "1.0.
|
3
|
+
"version": "1.0.740",
|
4
4
|
"description": "This library was generated with [Nx](https://nx.dev).",
|
5
5
|
"repository": {
|
6
6
|
"type": "git",
|
@@ -16,26 +16,66 @@
|
|
16
16
|
"typings": "./src/index.d.ts",
|
17
17
|
"dependencies": {
|
18
18
|
"@nestjs/common": "^7.6.3",
|
19
|
-
"@smartsoft001/trans-shell-app-services": "1.0.
|
20
|
-
"@nestjs/typeorm": "^7.1.5",
|
21
|
-
"typeorm": "0.2.29",
|
19
|
+
"@smartsoft001/trans-shell-app-services": "1.0.513",
|
22
20
|
"@nestjs/core": "^7.6.3",
|
23
|
-
"@smartsoft001/trans-domain": "1.0.
|
24
|
-
"
|
25
|
-
"@smartsoft001/
|
21
|
+
"@smartsoft001/trans-domain": "1.0.515",
|
22
|
+
"typeorm": "0.2.29",
|
23
|
+
"@smartsoft001/domain-core": "1.0.585",
|
24
|
+
"@smartsoft001/models": "1.0.612",
|
26
25
|
"reflect-metadata": "0.1.13",
|
27
|
-
"@smartsoft001/utils": "1.0.
|
26
|
+
"@smartsoft001/utils": "1.0.647",
|
28
27
|
"lodash": "^4.17.20",
|
29
28
|
"guid-typescript": "1.0.9",
|
30
29
|
"md5": "2.3.0",
|
31
30
|
"rxjs": "6.6.3",
|
32
|
-
"@smartsoft001/users": "1.0.
|
33
|
-
"@smartsoft001/payu": "1.0.
|
34
|
-
"@smartsoft001/paypal": "1.0.
|
31
|
+
"@smartsoft001/users": "1.0.604",
|
32
|
+
"@smartsoft001/payu": "1.0.521",
|
33
|
+
"@smartsoft001/paypal": "1.0.525",
|
35
34
|
"paypal-rest-sdk": "^1.8.1",
|
36
|
-
"@smartsoft001/revolut": "1.0.
|
35
|
+
"@smartsoft001/revolut": "1.0.506",
|
37
36
|
"@nestjs/passport": "^7.1.5",
|
38
|
-
"@nestjs/jwt": "^7.1.0"
|
37
|
+
"@nestjs/jwt": "^7.1.0",
|
38
|
+
"@nestjs/typeorm": "^7.1.5",
|
39
|
+
"@smartsoft001/crud-shell-angular": "1.1.572",
|
40
|
+
"@ngrx/store": "12.4.0",
|
41
|
+
"@angular/core": "12.2.7",
|
42
|
+
"@smartsoft001/angular": "1.1.637",
|
43
|
+
"@ngrx/effects": "12.4.0",
|
44
|
+
"@angular/common": "12.2.7",
|
45
|
+
"@angular/router": "12.2.7",
|
46
|
+
"chart.js": "2.9.4",
|
47
|
+
"ng2-charts": "2.4.2",
|
48
|
+
"@ionic/angular": "^5.5.2",
|
49
|
+
"@angular/forms": "12.2.7",
|
50
|
+
"@ngx-translate/core": "^13.0.0",
|
51
|
+
"@angular/material": "12.2.7",
|
52
|
+
"ngx-color-picker": "^10.1.0",
|
53
|
+
"@angular/cdk": "12.2.7",
|
54
|
+
"ngx-editor": "9.0.2",
|
55
|
+
"ng-lazyload-image": "^9.1.0",
|
56
|
+
"@angular/material-moment-adapter": "^12.2.1",
|
57
|
+
"moment": "^2.27.0",
|
58
|
+
"@ngrx/router-store": "12.4.0",
|
59
|
+
"lodash-decorators": "^6.0.1",
|
60
|
+
"jwt-decode": "3.1.1",
|
61
|
+
"@capacitor/core": "^2.4.2",
|
62
|
+
"@ionic-native/fingerprint-aio": "^5.30.0",
|
63
|
+
"ngx-cookie": "^5.0.2",
|
64
|
+
"@ionic/storage": "^2.3.1",
|
65
|
+
"ngx-socket-io": "^4.0.0",
|
66
|
+
"@smartsoft001/crud-shell-dtos": "1.0.518",
|
67
|
+
"@smartsoft001/crud-shell-nestjs": "1.0.544",
|
68
|
+
"json2csv": "^5.0.5",
|
69
|
+
"xlsx": "^0.17.0",
|
70
|
+
"busboy": "^0.3.1",
|
71
|
+
"@smartsoft001/crud-shell-app-services": "1.0.536",
|
72
|
+
"combined-stream": "^1.0.8",
|
73
|
+
"@smartsoft001/crud-domain": "1.0.523",
|
74
|
+
"@smartsoft001/nestjs": "1.0.558",
|
75
|
+
"passport-jwt": "4.0.0",
|
76
|
+
"@nestjs/websockets": "^7.6.3",
|
77
|
+
"@smartsoft001/mongo": "1.0.558",
|
78
|
+
"mongodb": "3.6.3"
|
39
79
|
},
|
40
80
|
"peerDependencies": {}
|
41
81
|
}
|
@@ -3,17 +3,38 @@ import { TransConfig } from "@smartsoft001/trans-domain";
|
|
3
3
|
import { PayuConfig } from "@smartsoft001/payu";
|
4
4
|
import { PaypalConfig } from "@smartsoft001/paypal";
|
5
5
|
import { RevolutConfig } from "@smartsoft001/revolut";
|
6
|
+
import { SharedConfig } from "@smartsoft001/nestjs";
|
6
7
|
export declare class TransShellNestjsModule {
|
7
|
-
static forRoot(config: TransConfig & {
|
8
|
+
static forRoot(config: SharedConfig & TransConfig & {
|
8
9
|
payuConfig?: PayuConfig;
|
9
10
|
paypalConfig?: PaypalConfig;
|
10
11
|
revolutConfig?: RevolutConfig;
|
12
|
+
} & {
|
13
|
+
db: {
|
14
|
+
host: string;
|
15
|
+
port: number;
|
16
|
+
database: string;
|
17
|
+
username?: string;
|
18
|
+
password?: string;
|
19
|
+
collection?: string;
|
20
|
+
type?: any;
|
21
|
+
};
|
11
22
|
}): DynamicModule;
|
12
23
|
}
|
13
24
|
export declare class TransShellNestjsCoreModule {
|
14
|
-
static forRoot(config: TransConfig & {
|
25
|
+
static forRoot(config: SharedConfig & TransConfig & {
|
15
26
|
payuConfig?: PayuConfig;
|
16
27
|
paypalConfig?: PaypalConfig;
|
17
28
|
revolutConfig?: RevolutConfig;
|
29
|
+
} & {
|
30
|
+
db: {
|
31
|
+
host: string;
|
32
|
+
port: number;
|
33
|
+
database: string;
|
34
|
+
username?: string;
|
35
|
+
password?: string;
|
36
|
+
collection?: string;
|
37
|
+
type?: any;
|
38
|
+
};
|
18
39
|
}): DynamicModule;
|
19
40
|
}
|
package/src/lib/nestjs.module.js
CHANGED
@@ -6,14 +6,13 @@ const tslib_1 = require("tslib");
|
|
6
6
|
const common_1 = require("@nestjs/common");
|
7
7
|
const passport_1 = require("@nestjs/passport");
|
8
8
|
const jwt_1 = require("@nestjs/jwt");
|
9
|
-
const typeorm_1 = require("@nestjs/typeorm");
|
10
9
|
const trans_shell_app_services_1 = require("@smartsoft001/trans-shell-app-services");
|
11
10
|
const trans_domain_1 = require("@smartsoft001/trans-domain");
|
12
|
-
const trans_domain_2 = require("@smartsoft001/trans-domain");
|
13
11
|
const payu_1 = require("@smartsoft001/payu");
|
14
12
|
const paypal_1 = require("@smartsoft001/paypal");
|
15
13
|
const revolut_1 = require("@smartsoft001/revolut");
|
16
14
|
const controllers_1 = require("./controllers");
|
15
|
+
const crud_shell_nestjs_1 = require("@smartsoft001/crud-shell-nestjs");
|
17
16
|
let TransShellNestjsModule = TransShellNestjsModule_1 = class TransShellNestjsModule {
|
18
17
|
static forRoot(config) {
|
19
18
|
return {
|
@@ -40,7 +39,7 @@ let TransShellNestjsModule = TransShellNestjsModule_1 = class TransShellNestjsMo
|
|
40
39
|
: []),
|
41
40
|
],
|
42
41
|
imports: [
|
43
|
-
|
42
|
+
crud_shell_nestjs_1.CrudShellNestjsModule.forRoot(Object.assign(Object.assign({}, config), { db: Object.assign(Object.assign({}, config.db), { collection: "trans" }), restApi: false, socket: false })),
|
44
43
|
passport_1.PassportModule.register({ defaultStrategy: "jwt", session: false }),
|
45
44
|
jwt_1.JwtModule.register({
|
46
45
|
secret: config.tokenConfig.secretOrPrivateKey,
|
@@ -84,7 +83,7 @@ let TransShellNestjsCoreModule = TransShellNestjsCoreModule_1 = class TransShell
|
|
84
83
|
: []),
|
85
84
|
],
|
86
85
|
imports: [
|
87
|
-
|
86
|
+
crud_shell_nestjs_1.CrudShellNestjsModule.forRoot(Object.assign(Object.assign({}, config), { db: Object.assign(Object.assign({}, config.db), { collection: "trans" }), restApi: false, socket: false })),
|
88
87
|
passport_1.PassportModule.register({ defaultStrategy: "jwt", session: false }),
|
89
88
|
jwt_1.JwtModule.register({
|
90
89
|
secret: config.tokenConfig.secretOrPrivateKey,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"nestjs.module.js","sourceRoot":"","sources":["../../../../../../../libs/trans/shell/nestjs/src/lib/nestjs.module.ts"],"names":[],"mappings":";;;;;AAAA,2CAAmE;AACnE,+CAAkD;AAClD,qCAAwC;
|
1
|
+
{"version":3,"file":"nestjs.module.js","sourceRoot":"","sources":["../../../../../../../libs/trans/shell/nestjs/src/lib/nestjs.module.ts"],"names":[],"mappings":";;;;;AAAA,2CAAmE;AACnE,+CAAkD;AAClD,qCAAwC;AAGxC,qFAAkE;AAClE,6DAA0E;AAE1E,6CAA6D;AAC7D,iDAAmE;AACnE,mDAAsE;AAEtE,+CAA4C;AAE5C,uEAAiG;AAMjG,IAAa,sBAAsB,8BAAnC,MAAa,sBAAsB;IACjC,MAAM,CAAC,OAAO,CACZ,MAcC;QAED,OAAO;YACL,MAAM,EAAE,wBAAsB;YAC9B,WAAW,EAAE,yBAAW;YACxB,SAAS,EAAE;gBACT,GAAG,mCAAQ;gBACX,GAAG,8BAAe;gBAClB,EAAE,OAAO,EAAE,0BAAW,EAAE,QAAQ,EAAE,MAAM,EAAE;gBAC1C,GAAG,CAAC,MAAM,CAAC,UAAU;oBACnB,CAAC,CAAC,CAAC,EAAE,OAAO,EAAE,iBAAU,EAAE,QAAQ,EAAE,MAAM,CAAC,UAAU,EAAE,EAAE,kBAAW,CAAC;oBACrE,CAAC,CAAC,EAAE,CAAC;gBACP,GAAG,CAAC,MAAM,CAAC,YAAY;oBACrB,CAAC,CAAC;wBACE,EAAE,OAAO,EAAE,qBAAY,EAAE,QAAQ,EAAE,MAAM,CAAC,YAAY,EAAE;wBACxD,sBAAa;qBACd;oBACH,CAAC,CAAC,EAAE,CAAC;gBACP,GAAG,CAAC,MAAM,CAAC,aAAa;oB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