opticore-webapp 1.0.49 → 1.0.51
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 +6 -8
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +4 -6
- package/package.json +3 -4
- package/public/template/index.html +2 -2
- package/dist/utils/translations/message.translation.en.json +0 -100
- package/dist/utils/translations/message.translation.fr.json +0 -100
- package/tsconfig.json +0 -26
package/dist/index.cjs
CHANGED
|
@@ -498,13 +498,12 @@ var SServerStartError = (err, environnementPath) => {
|
|
|
498
498
|
|
|
499
499
|
// src/core/webServer.core.ts
|
|
500
500
|
var import_opticore_request_call_event = require("opticore-request-call-event");
|
|
501
|
-
var
|
|
501
|
+
var import_opticore_dependency_inject2 = require("opticore-dependency-inject");
|
|
502
502
|
var import_opticore_http_response4 = require("opticore-http-response");
|
|
503
503
|
var import_opticore_translator4 = require("opticore-translator");
|
|
504
|
-
var import_opticore_mysqldb = require("opticore-mysqldb");
|
|
505
504
|
|
|
506
505
|
// src/core/providers/dependencies.provider.ts
|
|
507
|
-
var
|
|
506
|
+
var import_opticore_dependency_inject = require("opticore-dependency-inject");
|
|
508
507
|
|
|
509
508
|
// src/application/service/dependencies.service.ts
|
|
510
509
|
var dependencies = [
|
|
@@ -517,7 +516,7 @@ var dependencies = [
|
|
|
517
516
|
|
|
518
517
|
// src/core/providers/dependencies.provider.ts
|
|
519
518
|
var dependenciesContainerProvider = (localLang) => {
|
|
520
|
-
return new
|
|
519
|
+
return new import_opticore_dependency_inject.SContainer(localLang, dependencies);
|
|
521
520
|
};
|
|
522
521
|
|
|
523
522
|
// src/core/webServer.core.ts
|
|
@@ -566,9 +565,8 @@ var WebServerCore = class {
|
|
|
566
565
|
});
|
|
567
566
|
}
|
|
568
567
|
}
|
|
569
|
-
onStartServer(routers, dependenciesProvider) {
|
|
568
|
+
onStartServer(routers, databaseCallback, dependenciesProvider) {
|
|
570
569
|
this.translateWebAppCoreLanguageLoader.translateLanguageLoader(this.localLanguage, this.environnementPath);
|
|
571
|
-
const mySQL = new import_opticore_mysqldb.OptiCoreMySQLDriver(this.localLanguage);
|
|
572
570
|
if (this.getEnvironnement.appPort === "" && Number(this.getEnvironnement.appPort) === 0) {
|
|
573
571
|
this.serverListenEvent.hostPortUndefined(Number(this.getEnvironnement.appPort));
|
|
574
572
|
} else if (this.getEnvironnement.appHost === "") {
|
|
@@ -589,8 +587,8 @@ var WebServerCore = class {
|
|
|
589
587
|
() => {
|
|
590
588
|
this.translateWebAppCoreLanguageLoader.translateLanguageLoader(this.localLanguage, this.environnementPath);
|
|
591
589
|
try {
|
|
592
|
-
|
|
593
|
-
new
|
|
590
|
+
databaseCallback(this.getEnvironnement);
|
|
591
|
+
new import_opticore_dependency_inject2.SContainer(this.localLanguage, dependenciesProvider);
|
|
594
592
|
this.expressApp.use(import_opticore_express2.express.static(path3.join(import_node_process3.default.cwd(), "public/template")));
|
|
595
593
|
this.registerRoutes(routers);
|
|
596
594
|
} catch (err) {
|
package/dist/index.d.cts
CHANGED
|
@@ -2,7 +2,7 @@ import { CorsOptions } from 'cors';
|
|
|
2
2
|
import { Server } from 'http';
|
|
3
3
|
import { Router, express } from 'opticore-express';
|
|
4
4
|
import { LoggerCore } from 'opticore-logger';
|
|
5
|
-
import { TDependencyKey, TDependency } from 'opticore-inject
|
|
5
|
+
import { TDependencyKey, TDependency } from 'opticore-dependency-inject';
|
|
6
6
|
|
|
7
7
|
interface IRouteDefinition {
|
|
8
8
|
path: string;
|
|
@@ -26,7 +26,7 @@ declare class WebServerCore {
|
|
|
26
26
|
private dependenciesRegistered;
|
|
27
27
|
constructor(app: express.Application, loggerConfig: LoggerCore, localLanguage: string, environnementPath: any, corsOriginOptions?: Partial<CorsOptions>);
|
|
28
28
|
registerDependencies(dependencies: Map<TDependencyKey, any>): void;
|
|
29
|
-
onStartServer(routers: TFeatureRoutes[], dependenciesProvider?: TDependency[]): any;
|
|
29
|
+
onStartServer(routers: TFeatureRoutes[], databaseCallback: (env: any) => void, dependenciesProvider?: TDependency[]): any;
|
|
30
30
|
onListeningOnServerEvent(serverWeb: Server): void;
|
|
31
31
|
onRequestOnServerEvent(serverWeb: Server): void;
|
|
32
32
|
private registerRoutes;
|
package/dist/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { CorsOptions } from 'cors';
|
|
|
2
2
|
import { Server } from 'http';
|
|
3
3
|
import { Router, express } from 'opticore-express';
|
|
4
4
|
import { LoggerCore } from 'opticore-logger';
|
|
5
|
-
import { TDependencyKey, TDependency } from 'opticore-inject
|
|
5
|
+
import { TDependencyKey, TDependency } from 'opticore-dependency-inject';
|
|
6
6
|
|
|
7
7
|
interface IRouteDefinition {
|
|
8
8
|
path: string;
|
|
@@ -26,7 +26,7 @@ declare class WebServerCore {
|
|
|
26
26
|
private dependenciesRegistered;
|
|
27
27
|
constructor(app: express.Application, loggerConfig: LoggerCore, localLanguage: string, environnementPath: any, corsOriginOptions?: Partial<CorsOptions>);
|
|
28
28
|
registerDependencies(dependencies: Map<TDependencyKey, any>): void;
|
|
29
|
-
onStartServer(routers: TFeatureRoutes[], dependenciesProvider?: TDependency[]): any;
|
|
29
|
+
onStartServer(routers: TFeatureRoutes[], databaseCallback: (env: any) => void, dependenciesProvider?: TDependency[]): any;
|
|
30
30
|
onListeningOnServerEvent(serverWeb: Server): void;
|
|
31
31
|
onRequestOnServerEvent(serverWeb: Server): void;
|
|
32
32
|
private registerRoutes;
|
package/dist/index.js
CHANGED
|
@@ -464,13 +464,12 @@ var SServerStartError = (err, environnementPath) => {
|
|
|
464
464
|
|
|
465
465
|
// src/core/webServer.core.ts
|
|
466
466
|
import { requestCallsEvent } from "opticore-request-call-event";
|
|
467
|
-
import { SContainer as SContainer2 } from "opticore-inject
|
|
467
|
+
import { SContainer as SContainer2 } from "opticore-dependency-inject";
|
|
468
468
|
import { HttpStatusCode as HttpStatusCode4 } from "opticore-http-response";
|
|
469
469
|
import { TranslationLoader as TranslationLoader4 } from "opticore-translator";
|
|
470
|
-
import { OptiCoreMySQLDriver } from "opticore-mysqldb";
|
|
471
470
|
|
|
472
471
|
// src/core/providers/dependencies.provider.ts
|
|
473
|
-
import { SContainer } from "opticore-inject
|
|
472
|
+
import { SContainer } from "opticore-dependency-inject";
|
|
474
473
|
|
|
475
474
|
// src/application/service/dependencies.service.ts
|
|
476
475
|
var dependencies = [
|
|
@@ -532,9 +531,8 @@ var WebServerCore = class {
|
|
|
532
531
|
});
|
|
533
532
|
}
|
|
534
533
|
}
|
|
535
|
-
onStartServer(routers, dependenciesProvider) {
|
|
534
|
+
onStartServer(routers, databaseCallback, dependenciesProvider) {
|
|
536
535
|
this.translateWebAppCoreLanguageLoader.translateLanguageLoader(this.localLanguage, this.environnementPath);
|
|
537
|
-
const mySQL = new OptiCoreMySQLDriver(this.localLanguage);
|
|
538
536
|
if (this.getEnvironnement.appPort === "" && Number(this.getEnvironnement.appPort) === 0) {
|
|
539
537
|
this.serverListenEvent.hostPortUndefined(Number(this.getEnvironnement.appPort));
|
|
540
538
|
} else if (this.getEnvironnement.appHost === "") {
|
|
@@ -555,7 +553,7 @@ var WebServerCore = class {
|
|
|
555
553
|
() => {
|
|
556
554
|
this.translateWebAppCoreLanguageLoader.translateLanguageLoader(this.localLanguage, this.environnementPath);
|
|
557
555
|
try {
|
|
558
|
-
|
|
556
|
+
databaseCallback(this.getEnvironnement);
|
|
559
557
|
new SContainer2(this.localLanguage, dependenciesProvider);
|
|
560
558
|
this.expressApp.use(express2.static(path3.join(process4.cwd(), "public/template")));
|
|
561
559
|
this.registerRoutes(routers);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "opticore-webapp",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.51",
|
|
4
4
|
"description": "wep server",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -33,9 +33,8 @@
|
|
|
33
33
|
"opticore-env-access": "^1.0.7",
|
|
34
34
|
"opticore-express": "^1.0.3",
|
|
35
35
|
"opticore-http-response": "^1.0.3",
|
|
36
|
-
"opticore-inject
|
|
36
|
+
"opticore-dependency-inject": "^1.0.2",
|
|
37
37
|
"opticore-logger": "^1.0.17",
|
|
38
|
-
"opticore-mysqldb": "^1.0.26",
|
|
39
38
|
"opticore-request-call-event": "^1.0.2",
|
|
40
39
|
"opticore-router": "^1.0.11",
|
|
41
40
|
"opticore-server-logger": "^1.0.2",
|
|
@@ -43,7 +42,7 @@
|
|
|
43
42
|
"opticore-validator": "^1.0.3"
|
|
44
43
|
},
|
|
45
44
|
"devDependencies": {
|
|
46
|
-
"@types/cors": "^2.8.
|
|
45
|
+
"@types/cors": "^2.8.18",
|
|
47
46
|
"@types/gradient-string": "^1.1.6",
|
|
48
47
|
"@types/node": "^22.13.14",
|
|
49
48
|
"reflect-metadata": "^0.2.2",
|
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"serverRunning": "The server is running in",
|
|
3
|
-
"webServerListening": "[OK] Web server listening",
|
|
4
|
-
"webServerUsingNodeVersion": "The Web server is using Node.js version {nodeVersion}",
|
|
5
|
-
"startTime": "Startup time : {startTime}",
|
|
6
|
-
"serverRunningAt": "Server is running at : {server}",
|
|
7
|
-
"serverRunningTitle": "Server running",
|
|
8
|
-
"opticoreServerTypeName": "OptiCore server",
|
|
9
|
-
"runningModeDev": "development",
|
|
10
|
-
"runningModeProd": "production",
|
|
11
|
-
"totalMemoryAllocated": "Resident Set Size - total memory allocated for the process execution",
|
|
12
|
-
"sizeAllocatedHeap": "Total size of the allocated heap",
|
|
13
|
-
"memoryUsedExecution": "Actual memory used during the execution",
|
|
14
|
-
"externalMemory":"V8 external memory",
|
|
15
|
-
"memoryUsageUser": "Memory usage user",
|
|
16
|
-
"memoryUsageSystem": "Memory usage system",
|
|
17
|
-
"dbConnection": "DataBase connection",
|
|
18
|
-
"dbConnectionClosed": "MySQL connection is closed",
|
|
19
|
-
"mysqlErrorCon": "MysqlError connection",
|
|
20
|
-
"mySQLError": "MysqlError",
|
|
21
|
-
"mySqlCloseConnection": "MySql close connection",
|
|
22
|
-
"verifyExistingKey": "Verify Existing Key",
|
|
23
|
-
"invalidRequest": "Invalid request",
|
|
24
|
-
"tokenNotProvided": "No token provided.",
|
|
25
|
-
"ExpiresToken": "Expires Token. You're not authorize",
|
|
26
|
-
"privateKeyNotExist": "A private key doesn't exist.",
|
|
27
|
-
"publicKeyNotExist": "A public key doesn't exist.",
|
|
28
|
-
"errorNamePublicKeyNotExist": "No public key",
|
|
29
|
-
"errorAuthorPublicKeyNotExist": "PublicKey not existing",
|
|
30
|
-
"errorDecryption": "Error decryption with private key",
|
|
31
|
-
"rsaKeyNotFound": "RSA key provided is not found.",
|
|
32
|
-
"notVerifyingRSAKey": "Not verify RSA Key",
|
|
33
|
-
"errorNameNotVerifyingRSAKey": "Error Verify RSA Key",
|
|
34
|
-
"errorEncryptionPublicKey": "Error encryption with public key",
|
|
35
|
-
"errorEncryptionPrivateKey": "Error encryption with private key",
|
|
36
|
-
"errorNameRsaVerifyExistingKey": "Verify existing key",
|
|
37
|
-
"signatureRSAKeyFailed": "Signature verification failed.",
|
|
38
|
-
"encryptionWithPrivateKeyFailed": "Encryption With PrivateKey",
|
|
39
|
-
"encryptionFailed": "Encryption failed",
|
|
40
|
-
"decryptionWithPublicKeyFailed": "Decryption With PublicKey",
|
|
41
|
-
"decryptionFailed": "Decryption failed",
|
|
42
|
-
"verifyRSAKey": "Verify RSA Keys",
|
|
43
|
-
"verifyRSAKeyFailed": "Verify RSA Keys Failed",
|
|
44
|
-
"notVerifying": "Verification failed",
|
|
45
|
-
"signatureRSAKeysError": "Signature RSA Keys Error",
|
|
46
|
-
"encryptionWithPublicKey": "Encryption error",
|
|
47
|
-
"errorDecryptionWithPrivateKey": "Error Decryption With PrivateKey",
|
|
48
|
-
"verifyPublicRSAKey": "Verify Public RSA Key",
|
|
49
|
-
"PostgresDBConnectionChecker": "PostgresDB Connection Checker",
|
|
50
|
-
"PostgresConnection": "connection",
|
|
51
|
-
"MongoDBConnectionChecker": "MongoDB Connection Checker",
|
|
52
|
-
"MongoConnection": "connection",
|
|
53
|
-
"mongoDBAuthentication": "authentication",
|
|
54
|
-
"mongoDBConnection": "MongoDB connection",
|
|
55
|
-
"mongoDBAuthenticationFailed": "failed",
|
|
56
|
-
"mongoDBUnableParsingUrl": "unable to parse",
|
|
57
|
-
"mongoDBConnectionUrl": "url",
|
|
58
|
-
"mongoDBServerSelection": "MongoServer selection error",
|
|
59
|
-
"mongoDBServer": "MongoServer",
|
|
60
|
-
"mongoDBConnectionError": "connection error",
|
|
61
|
-
"mongoDBError": "error",
|
|
62
|
-
"loadedModules": "Loading core modules",
|
|
63
|
-
"kernel": "Kernel",
|
|
64
|
-
"loadKernel": "load kernel",
|
|
65
|
-
"moduleAppLoaded": "Modules app have been successfully loaded",
|
|
66
|
-
"content": "content",
|
|
67
|
-
"serverSide": "server side",
|
|
68
|
-
"hasBeenLoadedSuccessfully": "has been loaded successfully",
|
|
69
|
-
"routerService": "Routers service",
|
|
70
|
-
"registerRoutes": "Register routes",
|
|
71
|
-
"fail": "fail",
|
|
72
|
-
"loading": "loading",
|
|
73
|
-
"routers": "routers",
|
|
74
|
-
"registerLoadingFailed": "The route register failed to load",
|
|
75
|
-
"dbConnChecker": "database checker connection",
|
|
76
|
-
"loadedModulesError": "Required core modules are not loaded properly",
|
|
77
|
-
"dbConnexionSuccess": "The database connection was successful 🚀",
|
|
78
|
-
"mongoConnectionSuccess": "Connection to database is successfully.",
|
|
79
|
-
"PostgresConnectionSuccess": "Connection to database is successfully.",
|
|
80
|
-
"verifyExistingKeyError": "The provided key is not found",
|
|
81
|
-
"webServer": "Web server",
|
|
82
|
-
"listening": "listening",
|
|
83
|
-
"webHost": "host",
|
|
84
|
-
"badHost": "bad host",
|
|
85
|
-
"hostNotFound": "not found",
|
|
86
|
-
"errorHostUrl": "The host and port are not define, please define them in .env",
|
|
87
|
-
"badPort": "bad port",
|
|
88
|
-
"errorPort": "The port is not correct. Please define a right port with number port.",
|
|
89
|
-
"errorHost": "The host can't be empty or blank. Please define a string host in .env",
|
|
90
|
-
"accessDeniedToDBCon": "Access denied for user {user}. Database credentials in .env file are User: {user} and Password: {password}. {user}''{password}'@'localhost'. Try to set user and password in .env file",
|
|
91
|
-
"unknownDB": "Database {database} is unknown. Please try to use Database CLI to create your database, or do it manually in your Database Management System",
|
|
92
|
-
"errorDBHost": "A database host {host} does not allow connection. Please either set the host like this: {localhost} in your .env file",
|
|
93
|
-
"serverPortKill": "Server which started on port {port} has been stopped successfully.",
|
|
94
|
-
"pidOnPortNotFound": "No process found on port {port}.",
|
|
95
|
-
"noProcessRunningOnPort": "Error: No process running on port {port}",
|
|
96
|
-
"noDefaultLocalLang": "A default local language is not define. Please define it into .env file at the key : DEFAULT_LOCAL_LANG",
|
|
97
|
-
"noLocalLang": "Local lang missing",
|
|
98
|
-
"localLangMissing": "DEFAULT_LOCAL_LANG missing",
|
|
99
|
-
"ENOENT:NoSuchFileOrDir": "ENOENT:NoSuchFileOrDir"
|
|
100
|
-
}
|
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"serverRunning": "Le serveur est en cours d'exécution en",
|
|
3
|
-
"webServerListening": "[OK] Le serveur web écoute",
|
|
4
|
-
"webServerUsingNodeVersion": "Le serveur Web utilise la version Node.js {nodeVersion}",
|
|
5
|
-
"startTime": "Temps de démarrage : {startTime}",
|
|
6
|
-
"serverRunningAt": "Le serveur est en cours d'exécution sur : {server}",
|
|
7
|
-
"serverRunningTitle": "Serveur est en cours d'exécution",
|
|
8
|
-
"opticoreServerTypeName": "Serveur OptiCore",
|
|
9
|
-
"runningModeDev": "développement",
|
|
10
|
-
"runningModeProd": "production",
|
|
11
|
-
"totalMemoryAllocated": "Taille de l'ensemble résident - mémoire totale allouée à l'exécution du processus",
|
|
12
|
-
"sizeAllocatedHeap": "Taille totale du segment alloué",
|
|
13
|
-
"memoryUsedExecution": "Mémoire réelle utilisée lors de l'exécution",
|
|
14
|
-
"externalMemory":"Mémoire externe V8",
|
|
15
|
-
"memoryUsageUser": "Utilisation de la mémoire par l'utilisateur",
|
|
16
|
-
"memoryUsageSystem": "Système d'usage de la mémoire",
|
|
17
|
-
"dbConnection": "Connexion à la base de données",
|
|
18
|
-
"dbConnectionClosed": "La connexion MySQL est fermée",
|
|
19
|
-
"mysqlErrorCon": "MysqlError connection",
|
|
20
|
-
"mySQLError": "MysqlError",
|
|
21
|
-
"mySqlCloseConnection": "Connexion MySql fermée",
|
|
22
|
-
"verifyExistingKey": "Vérifier la clé existante",
|
|
23
|
-
"invalidRequest": "Demande invalide",
|
|
24
|
-
"tokenNotProvided": "Aucun jeton fourni.",
|
|
25
|
-
"ExpiresToken": "Jeton expiré. Vous n'êtes pas autorisé",
|
|
26
|
-
"privateKeyNotExist": "Il n'existe pas de clé privée.",
|
|
27
|
-
"publicKeyNotExist": "Il n'existe pas de clé public.",
|
|
28
|
-
"errorNamePublicKeyNotExist": "Aucune clé public.",
|
|
29
|
-
"errorAuthorPublicKeyNotExist": "Clé publique inexistante",
|
|
30
|
-
"errorDecryption": "Erreur de décryptage avec la clé privée",
|
|
31
|
-
"rsaKeyNotFound": "La clé RSA fournie n'est pas trouvée.",
|
|
32
|
-
"notVerifyingRSAKey": "Pas de vérification de la clé RSA",
|
|
33
|
-
"errorNameNotVerifyingRSAKey": "Erreur lors de la vérification de la clé RSA",
|
|
34
|
-
"errorEncryptionPublicKey": "Erreur de chiffrement avec la clé publique",
|
|
35
|
-
"errorEncryptionPrivateKey": "Erreur de chiffrement avec la clé privée",
|
|
36
|
-
"errorNameRsaVerifyExistingKey": "Vérification de la clé existante",
|
|
37
|
-
"signatureRSAKeyFailed": "La vérification de la signature a échoué.",
|
|
38
|
-
"encryptionWithPrivateKeyFailed": "Chiffrement avec clé privée",
|
|
39
|
-
"encryptionFailed": "Le cryptage a échoué",
|
|
40
|
-
"decryptionWithPublicKeyFailed": "Décryptage avec la clé publique",
|
|
41
|
-
"decryptionFailed": "Le décryptage a échoué",
|
|
42
|
-
"verifyRSAKey": "Vérification des clés RSA",
|
|
43
|
-
"verifyRSAKeyFailed": "Échec de la vérification des clés RSA",
|
|
44
|
-
"notVerifying": "La vérification a échoué",
|
|
45
|
-
"signatureRSAKeysError": "Erreur de clé de signature RSA",
|
|
46
|
-
"encryptionWithPublicKey": "Erreur de cryptage",
|
|
47
|
-
"errorDecryptionWithPrivateKey": "Erreur de décryptage avec la clé privée",
|
|
48
|
-
"verifyPublicRSAKey": "Vérifier la clé publique RSA",
|
|
49
|
-
"PostgresDBConnectionChecker": "Vérificateur de la connexion a la base de donnée Postgres",
|
|
50
|
-
"PostgresConnection": "connection",
|
|
51
|
-
"MongoDBConnectionChecker": "Vérificateur de la connexion a la base de donnée connexion MongoDB",
|
|
52
|
-
"MongoConnection": "connection",
|
|
53
|
-
"mongoDBAuthentication": "authentication",
|
|
54
|
-
"mongoDBConnection": "Connexion à la base de données Mongo",
|
|
55
|
-
"mongoDBAuthenticationFailed": "échoué",
|
|
56
|
-
"mongoDBUnableParsingUrl": "impossible d'analyser",
|
|
57
|
-
"mongoDBConnectionUrl": "url",
|
|
58
|
-
"mongoDBServerSelection": "Erreur de sélection du serveur Mongo",
|
|
59
|
-
"mongoDBServer": "Serveur Mongo",
|
|
60
|
-
"mongoDBConnectionError": "Erreur de connection",
|
|
61
|
-
"mongoDBError": "erreur",
|
|
62
|
-
"loadedModules": "Chargement des modules de base",
|
|
63
|
-
"kernel": "Noyau",
|
|
64
|
-
"loadKernel": "charger le kernel",
|
|
65
|
-
"moduleAppLoaded": "Les modules de l'application ont été chargés avec succès",
|
|
66
|
-
"content": "contenu",
|
|
67
|
-
"serverSide": "côté serveur",
|
|
68
|
-
"hasBeenLoadedSuccessfully": "a été chargé avec succès",
|
|
69
|
-
"routerService": "Service de routeurs",
|
|
70
|
-
"registerRoutes": "Registre des routes",
|
|
71
|
-
"fail": "échec",
|
|
72
|
-
"loading": "Chargement",
|
|
73
|
-
"routers": "routes",
|
|
74
|
-
"registerLoadingFailed": "Le registre des routes n'a pas pu être chargé",
|
|
75
|
-
"dbConnChecker": "vérificateur a la connexion de base de données",
|
|
76
|
-
"loadedModulesError": "Les modules de base requis ne sont pas chargés correctement",
|
|
77
|
-
"dbConnexionSuccess": "La connexion à la base de données a réussi 🚀",
|
|
78
|
-
"mongoConnectionSuccess": "La connexion à la base de données est réussie.",
|
|
79
|
-
"PostgresConnectionSuccess": "La connexion à la base de données est réussie.",
|
|
80
|
-
"verifyExistingKeyError": "La clé fournie est introuvable",
|
|
81
|
-
"webServer": "Serveur Web",
|
|
82
|
-
"listening": "écoute",
|
|
83
|
-
"webHost": "hôte",
|
|
84
|
-
"badHost": "mauvais hôte",
|
|
85
|
-
"hostNotFound": "introuvable",
|
|
86
|
-
"errorHostUrl": "L'hôte et le port ne sont pas définis, veuillez les définir dans .env",
|
|
87
|
-
"badPort": "mauvais port",
|
|
88
|
-
"errorPort": "Le port est incorrect. Veuillez définir un port correct avec le numéro port.",
|
|
89
|
-
"errorHost": "L'hôte ne peut être vide. Veuillez définir une chaîne d'hôte dans .env.",
|
|
90
|
-
"accessDeniedToDBCon": "Accès refusé pour l'utilisateur {user}. Les identifiants de la base de données dans le fichier .env sont : utilisateur : {user} et le mot de passe : {password}. {user}''{password}'@'localhost'. Essayez de définir l'utilisateur et le mot de passe dans le fichier .env",
|
|
91
|
-
"unknownDB": "La base de données {database} est inconnue. Veuillez utiliser l'interface de ligne de commande de la base de données pour la créer, ou le faire manuellement dans votre système de gestion de bases de données.",
|
|
92
|
-
"errorDBHost": "L'hôte de la base de données {host} n'autorise pas la connexion. Veuillez définir l'hôte comme suit : {localhost} dans votre fichier .env",
|
|
93
|
-
"serverPortKill": "Serveur qui a démarré sur le port {port} a été arrêté avec succès.",
|
|
94
|
-
"pidOnPortNotFound": "Aucun processus trouvé sur le port {port}.",
|
|
95
|
-
"noProcessRunningOnPort": "Erreur : Aucun processus en cours sur le port {port}.",
|
|
96
|
-
"noDefaultLocalLang": "La langue locale par défaut n'est pas définie. Veuillez le définir dans le fichier .env a la clé: DEFAULT_LOCAL_LANG",
|
|
97
|
-
"noLocalLang": "Langue local manquante",
|
|
98
|
-
"localLangMissing": "DEFAULT_LOCAL_LANG manquante",
|
|
99
|
-
"ENOENT:NoSuchFileOrDir": "ENOENT:NoSuchFileOrDir"
|
|
100
|
-
}
|
package/tsconfig.json
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"strict": true,
|
|
4
|
-
"noImplicitAny": true,
|
|
5
|
-
"esModuleInterop": true,
|
|
6
|
-
"strictNullChecks": true,
|
|
7
|
-
"module": "ES2022",
|
|
8
|
-
"pretty": true,
|
|
9
|
-
"target": "es2022",
|
|
10
|
-
"moduleResolution": "node",
|
|
11
|
-
"declaration": true,
|
|
12
|
-
"isolatedModules": true,
|
|
13
|
-
"noEmit": false,
|
|
14
|
-
"types": ["reflect-metadata", "node"],
|
|
15
|
-
"experimentalDecorators": true,
|
|
16
|
-
"outDir": "./dist",
|
|
17
|
-
"importHelpers": true,
|
|
18
|
-
"resolveJsonModule": true,
|
|
19
|
-
"baseUrl": "src",
|
|
20
|
-
"paths": {
|
|
21
|
-
"@webApp/*": ["*"],
|
|
22
|
-
}
|
|
23
|
-
},
|
|
24
|
-
"include": ["src/**/*.ts", "src/**/*.json", ".env"],
|
|
25
|
-
"exclude": ["node_modules"]
|
|
26
|
-
}
|