opticore-webapp-core 1.0.3 → 1.0.4
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 +7 -4
- package/dist/index.d.cts +1 -3
- package/dist/index.d.ts +1 -3
- package/dist/index.js +6 -2
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -48,8 +48,7 @@ __export(index_exports, {
|
|
|
48
48
|
YamlParsing: () => YamlParsing,
|
|
49
49
|
dateTimeFormatted: () => dateTimeFormatted,
|
|
50
50
|
loggerConfig: () => loggerConfig,
|
|
51
|
-
optionalArgumentConnectionUtil: () => optionalArgumentConnectionUtil
|
|
52
|
-
translateWebAppCoreLanguageLoader: () => translateWebAppCoreLanguageLoader
|
|
51
|
+
optionalArgumentConnectionUtil: () => optionalArgumentConnectionUtil
|
|
53
52
|
});
|
|
54
53
|
module.exports = __toCommonJS(index_exports);
|
|
55
54
|
|
|
@@ -1159,6 +1158,11 @@ var translateWebAppCoreLanguageLoader = () => {
|
|
|
1159
1158
|
const translateMsgJsonFilePath = import_path3.default.join(__dirname, "../../../", "utils", "translations");
|
|
1160
1159
|
import_opticore_translator11.TranslationLoader.loadTranslations(translateMsgJsonFilePath, import_opticore_env_access4.getEnvVariable.defaultLocal);
|
|
1161
1160
|
};
|
|
1161
|
+
|
|
1162
|
+
// src/index.ts
|
|
1163
|
+
(() => {
|
|
1164
|
+
translateWebAppCoreLanguageLoader();
|
|
1165
|
+
})();
|
|
1162
1166
|
// Annotate the CommonJS export names for ESM import in node:
|
|
1163
1167
|
0 && (module.exports = {
|
|
1164
1168
|
CLogLevel,
|
|
@@ -1179,6 +1183,5 @@ var translateWebAppCoreLanguageLoader = () => {
|
|
|
1179
1183
|
YamlParsing,
|
|
1180
1184
|
dateTimeFormatted,
|
|
1181
1185
|
loggerConfig,
|
|
1182
|
-
optionalArgumentConnectionUtil
|
|
1183
|
-
translateWebAppCoreLanguageLoader
|
|
1186
|
+
optionalArgumentConnectionUtil
|
|
1184
1187
|
});
|
package/dist/index.d.cts
CHANGED
|
@@ -363,8 +363,6 @@ declare class PathModuleVerifier {
|
|
|
363
363
|
private static isModulePathLoaded;
|
|
364
364
|
}
|
|
365
365
|
|
|
366
|
-
declare const translateWebAppCoreLanguageLoader: () => void;
|
|
367
|
-
|
|
368
366
|
interface IBodyParserOptions {
|
|
369
367
|
type: string;
|
|
370
368
|
}
|
|
@@ -435,4 +433,4 @@ declare function TTextBodyParser(options: IBodyParserOptions): void;
|
|
|
435
433
|
*/
|
|
436
434
|
declare function TUrlencodedBodyParser(options: IBodyParserOptions): void;
|
|
437
435
|
|
|
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
|
|
436
|
+
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 };
|
package/dist/index.d.ts
CHANGED
|
@@ -363,8 +363,6 @@ declare class PathModuleVerifier {
|
|
|
363
363
|
private static isModulePathLoaded;
|
|
364
364
|
}
|
|
365
365
|
|
|
366
|
-
declare const translateWebAppCoreLanguageLoader: () => void;
|
|
367
|
-
|
|
368
366
|
interface IBodyParserOptions {
|
|
369
367
|
type: string;
|
|
370
368
|
}
|
|
@@ -435,4 +433,4 @@ declare function TTextBodyParser(options: IBodyParserOptions): void;
|
|
|
435
433
|
*/
|
|
436
434
|
declare function TUrlencodedBodyParser(options: IBodyParserOptions): void;
|
|
437
435
|
|
|
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
|
|
436
|
+
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 };
|
package/dist/index.js
CHANGED
|
@@ -1107,6 +1107,11 @@ var translateWebAppCoreLanguageLoader = () => {
|
|
|
1107
1107
|
const translateMsgJsonFilePath = path2.join(__dirname2, "../../../", "utils", "translations");
|
|
1108
1108
|
TranslationLoader11.loadTranslations(translateMsgJsonFilePath, getEnvVariable4.defaultLocal);
|
|
1109
1109
|
};
|
|
1110
|
+
|
|
1111
|
+
// src/index.ts
|
|
1112
|
+
(() => {
|
|
1113
|
+
translateWebAppCoreLanguageLoader();
|
|
1114
|
+
})();
|
|
1110
1115
|
export {
|
|
1111
1116
|
CLogLevel,
|
|
1112
1117
|
CSignRSAKeyComponent,
|
|
@@ -1126,6 +1131,5 @@ export {
|
|
|
1126
1131
|
YamlParsing,
|
|
1127
1132
|
dateTimeFormatted,
|
|
1128
1133
|
loggerConfig,
|
|
1129
|
-
optionalArgumentConnectionUtil
|
|
1130
|
-
translateWebAppCoreLanguageLoader
|
|
1134
|
+
optionalArgumentConnectionUtil
|
|
1131
1135
|
};
|