emilsoftware-utilities 1.3.90 → 1.3.92
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,5 +1,6 @@
|
|
|
1
1
|
import { Application } from "express";
|
|
2
|
-
|
|
2
|
+
import { AccessiOptions } from "./AccessiModule";
|
|
3
|
+
export declare function initializeAccessiModule(app: Application, options: AccessiOptions): Promise<void>;
|
|
3
4
|
export { AccessiModule } from "./AccessiModule";
|
|
4
5
|
export { StatoRegistrazione } from "./models/StatoRegistrazione";
|
|
5
6
|
export { ILoginResult } from "./Services/AuthService/IAuthService";
|
|
@@ -8,9 +8,6 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
8
8
|
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
9
|
});
|
|
10
10
|
};
|
|
11
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
12
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
13
|
-
};
|
|
14
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
12
|
exports.StatoRegistrazione = exports.AccessiModule = void 0;
|
|
16
13
|
exports.initializeAccessiModule = initializeAccessiModule;
|
|
@@ -18,7 +15,6 @@ const core_1 = require("@nestjs/core");
|
|
|
18
15
|
const platform_express_1 = require("@nestjs/platform-express");
|
|
19
16
|
const SwaggerConfig_1 = require("./swagger/SwaggerConfig");
|
|
20
17
|
const AccessiModule_1 = require("./AccessiModule");
|
|
21
|
-
const express_1 = __importDefault(require("express"));
|
|
22
18
|
function initializeAccessiModule(app, options) {
|
|
23
19
|
return __awaiter(this, void 0, void 0, function* () {
|
|
24
20
|
try {
|
|
@@ -58,42 +54,6 @@ function initializeAccessiModule(app, options) {
|
|
|
58
54
|
}
|
|
59
55
|
});
|
|
60
56
|
}
|
|
61
|
-
function start() {
|
|
62
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
63
|
-
const app = (0, express_1.default)();
|
|
64
|
-
yield initializeAccessiModule(app, {
|
|
65
|
-
databaseOptions: {
|
|
66
|
-
host: '127.0.0.1',
|
|
67
|
-
port: 3050,
|
|
68
|
-
database: 'C:/Siti/Autoclub/ACCESSI.GDB',
|
|
69
|
-
user: "SYSDBA",
|
|
70
|
-
password: "masterkey",
|
|
71
|
-
},
|
|
72
|
-
encryptionKey: "BNB_KIT7GRP2023!",
|
|
73
|
-
mockDemoUser: true,
|
|
74
|
-
jwtOptions: {
|
|
75
|
-
expiresIn: "24h",
|
|
76
|
-
secret: "fabriziocorona",
|
|
77
|
-
},
|
|
78
|
-
emailOptions: {
|
|
79
|
-
auth: {
|
|
80
|
-
user: "form@emilsoftware.it",
|
|
81
|
-
pass: "ForES713",
|
|
82
|
-
},
|
|
83
|
-
from: "noreply@emilsoftware.it",
|
|
84
|
-
host: "smtp.qboxmail.com",
|
|
85
|
-
port: 587,
|
|
86
|
-
secure: false,
|
|
87
|
-
},
|
|
88
|
-
baseUrl: "http://localhost:3000"
|
|
89
|
-
});
|
|
90
|
-
const PORT = 3000;
|
|
91
|
-
app.listen(PORT, () => {
|
|
92
|
-
console.log(`Server avviato su http://localhost:${PORT}`);
|
|
93
|
-
});
|
|
94
|
-
});
|
|
95
|
-
}
|
|
96
|
-
start();
|
|
97
57
|
var AccessiModule_2 = require("./AccessiModule");
|
|
98
58
|
Object.defineProperty(exports, "AccessiModule", { enumerable: true, get: function () { return AccessiModule_2.AccessiModule; } });
|
|
99
59
|
var StatoRegistrazione_1 = require("./models/StatoRegistrazione");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "emilsoftware-utilities",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.92",
|
|
4
4
|
"description": "Utilities for EmilSoftware",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"class-transformer": "^0.5.1",
|
|
31
31
|
"class-validator": "^0.14.1",
|
|
32
32
|
"colorette": "^2.0.20",
|
|
33
|
-
"es-node-firebird": "^1.2.
|
|
33
|
+
"es-node-firebird": "^1.2.9",
|
|
34
34
|
"jsonwebtoken": "^9.0.2",
|
|
35
35
|
"jspdf": "^3.0.0",
|
|
36
36
|
"jspdf-autotable": "^5.0.2",
|