opticore-webapp-core 1.0.1 → 1.0.2

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 CHANGED
@@ -49,7 +49,7 @@ __export(index_exports, {
49
49
  dateTimeFormatted: () => dateTimeFormatted,
50
50
  loggerConfig: () => loggerConfig,
51
51
  optionalArgumentConnectionUtil: () => optionalArgumentConnectionUtil,
52
- translateWebAppLanguageLoader: () => translateWebAppLanguageLoader
52
+ translateWebAppCoreLanguageLoader: () => translateWebAppCoreLanguageLoader
53
53
  });
54
54
  module.exports = __toCommonJS(index_exports);
55
55
 
@@ -1149,8 +1149,8 @@ PathModuleVerifier.log = new import_opticore_logger9.LoggerCore(loggerConfig);
1149
1149
  var import_path3 = __toESM(require("path"), 1);
1150
1150
  var import_opticore_translator11 = require("opticore-translator");
1151
1151
  var import_opticore_env_access4 = require("opticore-env-access");
1152
- var translateWebAppLanguageLoader = () => {
1153
- import_opticore_translator11.TranslationLoader.loadTranslations(import_path3.default.join(process.cwd(), "src", "utils", "translations"), import_opticore_env_access4.getEnvVariable.defaultLocal);
1152
+ var translateWebAppCoreLanguageLoader = () => {
1153
+ import_opticore_translator11.TranslationLoader.loadTranslations(import_path3.default.join(process.cwd(), "src", "shared", "translations"), import_opticore_env_access4.getEnvVariable.defaultLocal);
1154
1154
  };
1155
1155
  // Annotate the CommonJS export names for ESM import in node:
1156
1156
  0 && (module.exports = {
@@ -1173,5 +1173,5 @@ var translateWebAppLanguageLoader = () => {
1173
1173
  dateTimeFormatted,
1174
1174
  loggerConfig,
1175
1175
  optionalArgumentConnectionUtil,
1176
- translateWebAppLanguageLoader
1176
+ translateWebAppCoreLanguageLoader
1177
1177
  });
package/dist/index.d.cts CHANGED
@@ -363,7 +363,7 @@ declare class PathModuleVerifier {
363
363
  private static isModulePathLoaded;
364
364
  }
365
365
 
366
- declare const translateWebAppLanguageLoader: () => void;
366
+ declare const translateWebAppCoreLanguageLoader: () => void;
367
367
 
368
368
  interface IBodyParserOptions {
369
369
  type: string;
@@ -435,4 +435,4 @@ declare function TTextBodyParser(options: IBodyParserOptions): void;
435
435
  */
436
436
  declare function TUrlencodedBodyParser(options: IBodyParserOptions): void;
437
437
 
438
- export { CLogLevel, CSignRSAKeyComponent, Environment, type IBodyParserOptions, type IResponseBodyEndFromResponseEvent, type IResponseBodyWriteFromResponseEvent, type IWrappingBodyResponse, MMongoCheckerDatabase, MMySqlCheckerDatabase, MPostgresCheckerDatabase, PathModuleVerifier, RSAKeyDecryption, RSAKeyEncryption, SAsymmetricCryptionDataWithPrivateRSAKey, SAsymmetricCryptionDataWithPublicRSAKey, SCheckerMongoDatabaseConnection, SCheckerMySqlDatabaseConnection, SCheckerPostgresDatabaseConnection, TJSONBodyParser, type TLogLevel, type TOriginalWriteEncoding, type TParseFunction, TRawBodyParser, TTextBodyParser, TUrlencodedBodyParser, Utility, YamlParsing, dateTimeFormatted, loggerConfig, optionalArgumentConnectionUtil, translateWebAppLanguageLoader };
438
+ export { CLogLevel, CSignRSAKeyComponent, Environment, type IBodyParserOptions, type IResponseBodyEndFromResponseEvent, type IResponseBodyWriteFromResponseEvent, type IWrappingBodyResponse, MMongoCheckerDatabase, MMySqlCheckerDatabase, MPostgresCheckerDatabase, PathModuleVerifier, RSAKeyDecryption, RSAKeyEncryption, SAsymmetricCryptionDataWithPrivateRSAKey, SAsymmetricCryptionDataWithPublicRSAKey, SCheckerMongoDatabaseConnection, SCheckerMySqlDatabaseConnection, SCheckerPostgresDatabaseConnection, TJSONBodyParser, type TLogLevel, type TOriginalWriteEncoding, type TParseFunction, TRawBodyParser, TTextBodyParser, TUrlencodedBodyParser, Utility, YamlParsing, dateTimeFormatted, loggerConfig, optionalArgumentConnectionUtil, translateWebAppCoreLanguageLoader };
package/dist/index.d.ts CHANGED
@@ -363,7 +363,7 @@ declare class PathModuleVerifier {
363
363
  private static isModulePathLoaded;
364
364
  }
365
365
 
366
- declare const translateWebAppLanguageLoader: () => void;
366
+ declare const translateWebAppCoreLanguageLoader: () => void;
367
367
 
368
368
  interface IBodyParserOptions {
369
369
  type: string;
@@ -435,4 +435,4 @@ declare function TTextBodyParser(options: IBodyParserOptions): void;
435
435
  */
436
436
  declare function TUrlencodedBodyParser(options: IBodyParserOptions): void;
437
437
 
438
- export { CLogLevel, CSignRSAKeyComponent, Environment, type IBodyParserOptions, type IResponseBodyEndFromResponseEvent, type IResponseBodyWriteFromResponseEvent, type IWrappingBodyResponse, MMongoCheckerDatabase, MMySqlCheckerDatabase, MPostgresCheckerDatabase, PathModuleVerifier, RSAKeyDecryption, RSAKeyEncryption, SAsymmetricCryptionDataWithPrivateRSAKey, SAsymmetricCryptionDataWithPublicRSAKey, SCheckerMongoDatabaseConnection, SCheckerMySqlDatabaseConnection, SCheckerPostgresDatabaseConnection, TJSONBodyParser, type TLogLevel, type TOriginalWriteEncoding, type TParseFunction, TRawBodyParser, TTextBodyParser, TUrlencodedBodyParser, Utility, YamlParsing, dateTimeFormatted, loggerConfig, optionalArgumentConnectionUtil, translateWebAppLanguageLoader };
438
+ export { CLogLevel, CSignRSAKeyComponent, Environment, type IBodyParserOptions, type IResponseBodyEndFromResponseEvent, type IResponseBodyWriteFromResponseEvent, type IWrappingBodyResponse, MMongoCheckerDatabase, MMySqlCheckerDatabase, MPostgresCheckerDatabase, PathModuleVerifier, RSAKeyDecryption, RSAKeyEncryption, SAsymmetricCryptionDataWithPrivateRSAKey, SAsymmetricCryptionDataWithPublicRSAKey, SCheckerMongoDatabaseConnection, SCheckerMySqlDatabaseConnection, SCheckerPostgresDatabaseConnection, TJSONBodyParser, type TLogLevel, type TOriginalWriteEncoding, type TParseFunction, TRawBodyParser, TTextBodyParser, TUrlencodedBodyParser, Utility, YamlParsing, dateTimeFormatted, loggerConfig, optionalArgumentConnectionUtil, translateWebAppCoreLanguageLoader };
package/dist/index.js CHANGED
@@ -1101,8 +1101,8 @@ PathModuleVerifier.log = new LoggerCore9(loggerConfig);
1101
1101
  import path2 from "path";
1102
1102
  import { TranslationLoader as TranslationLoader11 } from "opticore-translator";
1103
1103
  import { getEnvVariable as getEnvVariable4 } from "opticore-env-access";
1104
- var translateWebAppLanguageLoader = () => {
1105
- TranslationLoader11.loadTranslations(path2.join(process.cwd(), "src", "utils", "translations"), getEnvVariable4.defaultLocal);
1104
+ var translateWebAppCoreLanguageLoader = () => {
1105
+ TranslationLoader11.loadTranslations(path2.join(process.cwd(), "src", "shared", "translations"), getEnvVariable4.defaultLocal);
1106
1106
  };
1107
1107
  export {
1108
1108
  CLogLevel,
@@ -1124,5 +1124,5 @@ export {
1124
1124
  dateTimeFormatted,
1125
1125
  loggerConfig,
1126
1126
  optionalArgumentConnectionUtil,
1127
- translateWebAppLanguageLoader
1127
+ translateWebAppCoreLanguageLoader
1128
1128
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opticore-webapp-core",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "opticore Web Application core module",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -30,11 +30,11 @@
30
30
  "dotenv": "^16.4.7",
31
31
  "mongodb": "^6.6.1",
32
32
  "mysql": "^2.18.1",
33
- "opticore-catch-exception-error": "^1.0.0",
33
+ "opticore-catch-exception-error": "^1.0.2",
34
34
  "opticore-env-access": "^1.0.2",
35
- "opticore-express": "^1.0.0",
35
+ "opticore-express": "^1.0.3",
36
36
  "opticore-http-response": "^1.0.3",
37
- "opticore-logger": "^1.0.11",
37
+ "opticore-logger": "^1.0.12",
38
38
  "opticore-translator": "^1.0.1",
39
39
  "pg": "^8.11.5"
40
40
  },