@futdevpro/nts-dynamo 1.3.51 → 1.3.52
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/lib/_services/dynamobe-app.d.ts +1 -1
- package/lib/_services/dynamobe-app.d.ts.map +1 -1
- package/lib/_services/dynamobe-app.js +2 -3
- package/lib/_services/dynamobe-server.js +4 -4
- package/lib/tsconfig.tsbuildinfo +3 -3
- package/package.json +1 -1
- package/src/_services/dynamobe-app.ts +2 -2
- package/src/_services/dynamobe-server.ts +4 -4
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DynamoBEAppParams } from '../_models/dynamobe-app-params';
|
|
2
|
-
import
|
|
2
|
+
import Mongoose = require("mongoose");
|
|
3
3
|
import { DynamoBESingletonService } from './dynamobe-singleton.service';
|
|
4
4
|
export declare abstract class DynamoBEApp extends DynamoBESingletonService {
|
|
5
5
|
protected params: DynamoBEAppParams;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dynamobe-app.d.ts","sourceRoot":"","sources":["../../src/_services/dynamobe-app.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;
|
|
1
|
+
{"version":3,"file":"dynamobe-app.d.ts","sourceRoot":"","sources":["../../src/_services/dynamobe-app.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAEnE,OAAO,QAAQ,GAAG,QAAQ,UAAU,CAAC,CAAC;AAEtC,OAAO,EAAE,wBAAwB,EAAE,MAAM,8BAA8B,CAAC;AAExE,8BAAsB,WAAY,SAAQ,wBAAwB;IAEhE,SAAS,CAAC,MAAM,EAAE,iBAAiB,CAAC;IAEpC,SAAS,CAAC,QAAQ,kBAAY;;IAkB9B,OAAO,CAAC,OAAO;IAkBf,QAAQ,CAAC,cAAc,IAAI,IAAI;IAC/B,QAAQ,CAAC,0BAA0B,IAAI,IAAI;CAC5C"}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.DynamoBEApp = void 0;
|
|
4
|
-
|
|
5
|
-
const Mongoose =
|
|
6
|
-
/* import Mongoose = require("mongoose"); */
|
|
4
|
+
/* import * as Mongoose from 'mongoose'; */
|
|
5
|
+
const Mongoose = require("mongoose");
|
|
7
6
|
const dynamobe_shared_service_1 = require("./dynamobe-shared.service");
|
|
8
7
|
const dynamobe_singleton_service_1 = require("./dynamobe-singleton.service");
|
|
9
8
|
class DynamoBEApp extends dynamobe_singleton_service_1.DynamoBESingletonService {
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.DynamoBEServer = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
/* import * as Express from 'express'; */
|
|
6
|
+
const Express = require("express");
|
|
7
7
|
const Https = tslib_1.__importStar(require("https"));
|
|
8
8
|
const FileSystem = tslib_1.__importStar(require("fs"));
|
|
9
9
|
const BodyParser = tslib_1.__importStar(require("body-parser"));
|
|
@@ -87,12 +87,12 @@ class DynamoBEServer extends dynamobe_singleton_service_1.DynamoBESingletonServi
|
|
|
87
87
|
}
|
|
88
88
|
}
|
|
89
89
|
initOpenExpress() {
|
|
90
|
-
this.openExpress = Express
|
|
90
|
+
this.openExpress = Express();
|
|
91
91
|
this.openExpress.use(BodyParser.urlencoded({ limit: '50mb', extended: true }));
|
|
92
92
|
this.openExpress.use(BodyParser.json({ limit: '50mb' }));
|
|
93
93
|
}
|
|
94
94
|
initSecureExpress() {
|
|
95
|
-
this.secureExpress = Express
|
|
95
|
+
this.secureExpress = Express();
|
|
96
96
|
this.secureExpress.use(BodyParser.urlencoded({ limit: '50mb', extended: true }));
|
|
97
97
|
this.secureExpress.use(BodyParser.json({ limit: '50mb' }));
|
|
98
98
|
const options = {
|
package/lib/tsconfig.tsbuildinfo
CHANGED
|
@@ -692,8 +692,8 @@
|
|
|
692
692
|
"affectsGlobalScope": false
|
|
693
693
|
},
|
|
694
694
|
"../src/_services/dynamobe-app.ts": {
|
|
695
|
-
"version": "
|
|
696
|
-
"signature": "
|
|
695
|
+
"version": "c5fba2838aa3174a0874c6afff9257789935eb3f637d6b9ab92e1f859e4a0b24",
|
|
696
|
+
"signature": "c751bb20caae8a7842e18e24e4de4a7784bac40e5109b9aa6d40a1ba83bcf93f",
|
|
697
697
|
"affectsGlobalScope": false
|
|
698
698
|
},
|
|
699
699
|
"../src/_services/dynamobe-routing-module.service.ts": {
|
|
@@ -702,7 +702,7 @@
|
|
|
702
702
|
"affectsGlobalScope": false
|
|
703
703
|
},
|
|
704
704
|
"../src/_services/dynamobe-server.ts": {
|
|
705
|
-
"version": "
|
|
705
|
+
"version": "d8481d821fdb9cc3f096a1e5a83b69436bc8c4e1c039c9e8aadcba24bdd5dfba",
|
|
706
706
|
"signature": "705bde1dce19a61e7912625c5eda5d56bb20ab8fd31af2b46691dbc0e054c961",
|
|
707
707
|
"affectsGlobalScope": false
|
|
708
708
|
},
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
|
|
2
2
|
import { DynamoBEAppParams } from '../_models/dynamobe-app-params';
|
|
3
|
-
import * as Mongoose from 'mongoose';
|
|
4
|
-
|
|
3
|
+
/* import * as Mongoose from 'mongoose'; */
|
|
4
|
+
import Mongoose = require("mongoose");
|
|
5
5
|
import { DBE_Shared } from './dynamobe-shared.service';
|
|
6
6
|
import { DynamoBESingletonService } from './dynamobe-singleton.service';
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
|
|
2
2
|
|
|
3
|
-
import * as Express from 'express';
|
|
4
|
-
|
|
3
|
+
/* import * as Express from 'express'; */
|
|
4
|
+
import Express = require("express");
|
|
5
5
|
import * as Https from 'https';
|
|
6
6
|
import * as FileSystem from 'fs';
|
|
7
7
|
import * as BodyParser from 'body-parser';
|
|
@@ -122,13 +122,13 @@ export abstract class DynamoBEServer extends DynamoBESingletonService {
|
|
|
122
122
|
}
|
|
123
123
|
|
|
124
124
|
private initOpenExpress(): void {
|
|
125
|
-
this.openExpress = Express
|
|
125
|
+
this.openExpress = Express();
|
|
126
126
|
this.openExpress.use(BodyParser.urlencoded({ limit: '50mb', extended: true }));
|
|
127
127
|
this.openExpress.use(BodyParser.json({ limit: '50mb' }));
|
|
128
128
|
}
|
|
129
129
|
|
|
130
130
|
private initSecureExpress(): void {
|
|
131
|
-
this.secureExpress = Express
|
|
131
|
+
this.secureExpress = Express();
|
|
132
132
|
this.secureExpress.use(BodyParser.urlencoded({ limit: '50mb', extended: true }));
|
|
133
133
|
this.secureExpress.use(BodyParser.json({ limit: '50mb' }));
|
|
134
134
|
|