@lyxa.ai/core 1.4.273 → 1.4.274
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.
|
@@ -16,6 +16,7 @@ import { LyxaLoggerKit } from './logger-kit';
|
|
|
16
16
|
import { ICloudStorage, StorageProvider } from './cloud-storage';
|
|
17
17
|
import { LyxaFcmService } from './notification/lyxa-fcm.service';
|
|
18
18
|
import { GoogleTranslateService } from './google-translate';
|
|
19
|
+
import { TransliterationService } from './transliteration/transliteration-service';
|
|
19
20
|
export declare class LibraryManager {
|
|
20
21
|
getLogger(): LyxaLogger;
|
|
21
22
|
getGoogleTranslateService(): GoogleTranslateService;
|
|
@@ -38,4 +39,5 @@ export declare class LibraryManager {
|
|
|
38
39
|
getBullMQService(): BullMQService;
|
|
39
40
|
getCashSettlementService(): CashSettlementService;
|
|
40
41
|
getBOBService(): BOBService;
|
|
42
|
+
getTranliterationService(): TransliterationService;
|
|
41
43
|
}
|
package/dist/libraries/index.js
CHANGED
|
@@ -26,6 +26,7 @@ const logger_kit_1 = require("./logger-kit");
|
|
|
26
26
|
const cloud_storage_1 = require("./cloud-storage");
|
|
27
27
|
const lyxa_fcm_service_1 = require("./notification/lyxa-fcm.service");
|
|
28
28
|
const google_translate_1 = require("./google-translate");
|
|
29
|
+
const transliteration_service_1 = require("./transliteration/transliteration-service");
|
|
29
30
|
let LibraryManager = class LibraryManager {
|
|
30
31
|
getLogger() {
|
|
31
32
|
return typedi_1.Container.get(logger_1.LyxaLogger);
|
|
@@ -90,6 +91,9 @@ let LibraryManager = class LibraryManager {
|
|
|
90
91
|
getBOBService() {
|
|
91
92
|
return typedi_1.Container.get(cash_settlement_1.BOBService);
|
|
92
93
|
}
|
|
94
|
+
getTranliterationService() {
|
|
95
|
+
return typedi_1.Container.get(transliteration_service_1.TransliterationService);
|
|
96
|
+
}
|
|
93
97
|
};
|
|
94
98
|
exports.LibraryManager = LibraryManager;
|
|
95
99
|
exports.LibraryManager = LibraryManager = __decorate([
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"/","sources":["libraries/index.ts"],"names":[],"mappings":";;;;;;;;;AAAA,mCAA4C;AAC5C,qCAAyC;AACzC,qCAAsC;AACtC,6CAAsD;AACtD,uCAAiD;AACjD,mCAAuC;AACvC,mDAAuD;AACvD,qCAAyC;AACzC,yCAA6C;AAC7C,kDAAoD;AACpD,+BAAmC;AACnC,+CAAyD;AACzD,8EAAyE;AACzE,8DAAyD;AACzD,uDAAsE;AACtE,6CAA6C;AAC7C,mDAAsF;AACtF,sEAAiE;AACjE,yDAA4D;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"/","sources":["libraries/index.ts"],"names":[],"mappings":";;;;;;;;;AAAA,mCAA4C;AAC5C,qCAAyC;AACzC,qCAAsC;AACtC,6CAAsD;AACtD,uCAAiD;AACjD,mCAAuC;AACvC,mDAAuD;AACvD,qCAAyC;AACzC,yCAA6C;AAC7C,kDAAoD;AACpD,+BAAmC;AACnC,+CAAyD;AACzD,8EAAyE;AACzE,8DAAyD;AACzD,uDAAsE;AACtE,6CAA6C;AAC7C,mDAAsF;AACtF,sEAAiE;AACjE,yDAA4D;AAC5D,uFAAmF;AAG5E,IAAM,cAAc,GAApB,MAAM,cAAc;IACnB,SAAS;QACf,OAAO,kBAAS,CAAC,GAAG,CAAC,mBAAU,CAAC,CAAC;IAClC,CAAC;IACM,yBAAyB;QAC/B,OAAO,kBAAS,CAAC,GAAG,CAAC,yCAAsB,CAAC,CAAC;IAC9C,CAAC;IACM,YAAY;QAClB,OAAO,kBAAS,CAAC,GAAG,CAAC,0BAAa,CAAC,CAAC;IACrC,CAAC;IACM,yBAAyB;QAC/B,OAAO,kBAAS,CAAC,GAAG,CAAC,mCAAsB,CAAC,CAAC;IAC9C,CAAC;IACM,gBAAgB;QACtB,OAAO,kBAAS,CAAC,GAAG,CAAC,sBAAa,CAAC,CAAC;IACrC,CAAC;IACM,iBAAiB;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AAS,CAAC,GAAG,CAAC,+BAAa,CAAC,CAAC;IACrC,CAAC;IACM,wBAAwB;QAC9B,OAAO,kBAAS,CAAC,GAAG,CAAC,uCAAqB,CAAC,CAAC;IAC7C,CAAC;IACM,aAAa;QACnB,OAAO,kBAAS,CAAC,GAAG,CAAC,4BAAU,CAAC,CAAC;IAClC,CAAC;IACM,wBAAwB;QAC9B,OAAO,kBAAS,CAAC,GAAG,CAAC,gDAAsB,CAAC,CAAC;IAC9C,CAAC;CACD,CAAA;AAvEY,wCAAc;yBAAd,cAAc;IAD1B,IAAA,gBAAO,GAAE;GACG,cAAc,CAuE1B","sourcesContent":["import { Container, Service } from 'typedi';\nimport { TwilioService } from './twilio';\nimport { LyxaLogger } from './logger';\nimport { MicroServiceDispatcher } from './dispatcher';\nimport { SecretManagerService } from './secrets';\nimport { RedisService } from './redis';\nimport { ConfigurationService } from './configuration';\nimport { UploadService } from './upload';\nimport { FirebaseService } from './firebase';\nimport { TokenRepository } from './auth/repository';\nimport { MapService } from './map';\nimport { CachedSettingsService } from './cache/settings';\nimport { FirebaseFcmService } from './notification/firebase-fcm.service';\nimport { BullMQService } from './bullmq/bull-mq-service';\nimport { BOBService, CashSettlementService } from './cash-settlement';\nimport { LyxaLoggerKit } from './logger-kit';\nimport { CloudStorageFactory, ICloudStorage, StorageProvider } from './cloud-storage';\nimport { LyxaFcmService } from './notification/lyxa-fcm.service';\nimport { GoogleTranslateService } from './google-translate';\nimport { TransliterationService } from './transliteration/transliteration-service';\n\n@Service()\nexport class LibraryManager {\n\tpublic getLogger(): LyxaLogger {\n\t\treturn Container.get(LyxaLogger);\n\t}\n\tpublic getGoogleTranslateService() {\n\t\treturn Container.get(GoogleTranslateService);\n\t}\n\tpublic getLoggerKit(): LyxaLoggerKit {\n\t\treturn Container.get(LyxaLoggerKit);\n\t}\n\tpublic getMicroServiceDispatcher(): MicroServiceDispatcher {\n\t\treturn Container.get(MicroServiceDispatcher);\n\t}\n\tpublic getTwilioService(): TwilioService {\n\t\treturn Container.get(TwilioService);\n\t}\n\tpublic getSecretsService(): SecretManagerService {\n\t\treturn Container.get(SecretManagerService);\n\t}\n\tpublic getRedisService(): RedisService {\n\t\treturn Container.get(RedisService);\n\t}\n\tpublic getConfigurationService(): ConfigurationService {\n\t\treturn Container.get(ConfigurationService);\n\t}\n\tpublic getFirebaseService(): FirebaseService {\n\t\treturn Container.get(FirebaseService);\n\t}\n\tpublic getAuthTokenRepository(): TokenRepository {\n\t\treturn Container.get(TokenRepository);\n\t}\n\tpublic getGlobalUploadService(): UploadService {\n\t\treturn new UploadService();\n\t}\n\tpublic getTenetUploadService(): UploadService {\n\t\treturn new UploadService('lyxa-' + this.getConfigurationService().options.tenet);\n\t}\n\n\tpublic getGlobalStorageService(provider?: StorageProvider): ICloudStorage {\n\t\treturn CloudStorageFactory.create(undefined, provider);\n\t}\n\n\tpublic getTenetStorageService(provider?: StorageProvider): ICloudStorage {\n\t\treturn CloudStorageFactory.create('lyxa-' + this.getConfigurationService().options.tenet, provider);\n\t}\n\tpublic getMapService(): MapService {\n\t\treturn Container.get(MapService);\n\t}\n\tpublic getCachedSettingsService(): CachedSettingsService {\n\t\treturn Container.get(CachedSettingsService);\n\t}\n\n\tpublic getLyxaFcmService(): LyxaFcmService {\n\t\treturn Container.get(LyxaFcmService);\n\t}\n\n\tpublic getFCMService(): FirebaseFcmService {\n\t\treturn Container.get(FirebaseFcmService);\n\t}\n\tpublic getBullMQService(): BullMQService {\n\t\treturn Container.get(BullMQService);\n\t}\n\tpublic getCashSettlementService(): CashSettlementService {\n\t\treturn Container.get(CashSettlementService);\n\t}\n\tpublic getBOBService(): BOBService {\n\t\treturn Container.get(BOBService);\n\t}\n\tpublic getTranliterationService(): TransliterationService {\n\t\treturn Container.get(TransliterationService);\n\t}\n}\n"]}
|
package/dist/types/README.md
CHANGED
package/dist/types/package.json
CHANGED