opticore-webapp 1.0.26 → 1.0.28
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/index.cjs +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -512,7 +512,7 @@ var WebServerCore = class {
|
|
|
512
512
|
} else if (Number(this.getEnvironnement.appPort) === 0) {
|
|
513
513
|
this.serverListenEvent.portUndefined();
|
|
514
514
|
} else {
|
|
515
|
-
dbConnexion
|
|
515
|
+
dbConnexion;
|
|
516
516
|
this.expressApp.use(import_opticore_express2.express.static(path2.join(import_node_process3.default.cwd(), "public/template")));
|
|
517
517
|
this.registerRoutes(routers);
|
|
518
518
|
}
|
package/dist/index.d.cts
CHANGED
|
@@ -27,7 +27,7 @@ declare class WebServerCore {
|
|
|
27
27
|
private readonly openSSLErrors;
|
|
28
28
|
private readonly systemErrors;
|
|
29
29
|
constructor(app: express.Application, loggerConfig: LoggerCore, localLanguage: string, environnementPath: any, corsOriginOptions?: Partial<CorsOptions>);
|
|
30
|
-
onStartServer(routers: TFeatureRoutes[], dbConnexion: () => void): any;
|
|
30
|
+
onStartServer(routers: TFeatureRoutes[], dbConnexion: (envPath: any, optionalArgumentConnection?: string | any) => void): any;
|
|
31
31
|
onListeningOnServerEvent(serverWeb: Server): void;
|
|
32
32
|
onRequestOnServerEvent(serverWeb: Server): void;
|
|
33
33
|
private translationWebAppLoader;
|
package/dist/index.d.ts
CHANGED
|
@@ -27,7 +27,7 @@ declare class WebServerCore {
|
|
|
27
27
|
private readonly openSSLErrors;
|
|
28
28
|
private readonly systemErrors;
|
|
29
29
|
constructor(app: express.Application, loggerConfig: LoggerCore, localLanguage: string, environnementPath: any, corsOriginOptions?: Partial<CorsOptions>);
|
|
30
|
-
onStartServer(routers: TFeatureRoutes[], dbConnexion: () => void): any;
|
|
30
|
+
onStartServer(routers: TFeatureRoutes[], dbConnexion: (envPath: any, optionalArgumentConnection?: string | any) => void): any;
|
|
31
31
|
onListeningOnServerEvent(serverWeb: Server): void;
|
|
32
32
|
onRequestOnServerEvent(serverWeb: Server): void;
|
|
33
33
|
private translationWebAppLoader;
|
package/dist/index.js
CHANGED
|
@@ -482,7 +482,7 @@ var WebServerCore = class {
|
|
|
482
482
|
} else if (Number(this.getEnvironnement.appPort) === 0) {
|
|
483
483
|
this.serverListenEvent.portUndefined();
|
|
484
484
|
} else {
|
|
485
|
-
dbConnexion
|
|
485
|
+
dbConnexion;
|
|
486
486
|
this.expressApp.use(express2.static(path2.join(process4.cwd(), "public/template")));
|
|
487
487
|
this.registerRoutes(routers);
|
|
488
488
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "opticore-webapp",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.28",
|
|
4
4
|
"description": "wep server",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"cors": "^2.8.5",
|
|
30
30
|
"dotenv": "^16.4.7",
|
|
31
31
|
"gradient-string": "^3.0.0",
|
|
32
|
-
"opticore-catch-exception-error": "^1.0.
|
|
32
|
+
"opticore-catch-exception-error": "^1.0.19",
|
|
33
33
|
"opticore-env-access": "^1.0.6",
|
|
34
34
|
"opticore-express": "^1.0.3",
|
|
35
35
|
"opticore-http-response": "^1.0.3",
|