@golemio/core 3.3.0-dev.2644055028 → 3.3.0-rc.2646964518
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/helpers/BaseApp.js.map +1 -1
- package/dist/helpers/ConfigLoader.js.map +1 -1
- package/dist/helpers/DateTime.js.map +1 -1
- package/dist/helpers/HealthCheck.js.map +1 -1
- package/dist/helpers/LightshipStarter.js +1 -2
- package/dist/helpers/LightshipStarter.js.map +1 -1
- package/dist/helpers/configuration/SimpleConfig.js.map +1 -1
- package/dist/helpers/data-access/amqp/AlternateExchangeCreator.js +1 -1
- package/dist/helpers/data-access/amqp/AlternateExchangeCreator.js.map +1 -1
- package/dist/helpers/data-access/amqp/AmqpConnector.js +2 -1
- package/dist/helpers/data-access/amqp/AmqpConnector.js.map +1 -1
- package/dist/helpers/data-access/azure/AbstractAzureService.js.map +1 -1
- package/dist/helpers/data-access/azure/AzureBearerTokenProvider.js.map +1 -1
- package/dist/helpers/data-access/azure/buildBearerTokenProvider.js.map +1 -1
- package/dist/helpers/data-access/feature-flags/FeatureFlagServiceFactory.js.map +1 -1
- package/dist/helpers/data-access/opensearch/OpenSearchConnector.js.map +1 -1
- package/dist/helpers/data-access/opensearch/OpenSearchService.js.map +1 -1
- package/dist/helpers/data-access/opensearch/OpenSearchSyncOrchestrator.js +1 -1
- package/dist/helpers/data-access/opensearch/OpenSearchSyncOrchestrator.js.map +1 -1
- package/dist/helpers/data-access/opensearch/czechAnalyzer.d.ts +6 -0
- package/dist/helpers/data-access/opensearch/czechAnalyzer.js +30 -0
- package/dist/helpers/data-access/opensearch/czechAnalyzer.js.map +1 -0
- package/dist/helpers/data-access/opensearch/index.d.ts +1 -5
- package/dist/helpers/data-access/opensearch/index.js +5 -9
- package/dist/helpers/data-access/opensearch/index.js.map +1 -1
- package/dist/helpers/data-access/postgres/DatabaseConnector.js +3 -10
- package/dist/helpers/data-access/postgres/DatabaseConnector.js.map +1 -1
- package/dist/helpers/data-access/postgres/IDatabaseInfo.d.ts +0 -1
- package/dist/helpers/data-access/postgres/repositories/AbstractCachedRepository.js.map +1 -1
- package/dist/helpers/data-access/pubsub/subscribers/AbstractSubscriber.d.ts +1 -0
- package/dist/helpers/data-access/pubsub/subscribers/RedisSubscriber.js.map +1 -1
- package/dist/helpers/data-access/redis/IoRedisConnector.js.map +1 -1
- package/dist/helpers/data-access/storage/AbstractStorageService.d.ts +4 -0
- package/dist/helpers/data-access/storage/AzureBlobStorageService.d.ts +4 -0
- package/dist/helpers/data-access/storage/AzureBlobStorageService.js.map +1 -1
- package/dist/helpers/data-access/storage/NoopStorageService.d.ts +3 -0
- package/dist/helpers/data-access/storage/StorageServiceFactory.js.map +1 -1
- package/dist/helpers/data-access/table-storage/TableStorageServiceFactory.js.map +1 -1
- package/dist/helpers/data-access/table-storage/providers/AzureTableStorageService.js.map +1 -1
- package/dist/helpers/inspector/InspectorUtils.js.map +1 -1
- package/dist/helpers/logger/LoggerEmitter.d.ts +1 -0
- package/dist/helpers/logger/LoggerProvider.js.map +1 -1
- package/dist/helpers/logger/RequestLoggerProvider.js.map +1 -1
- package/dist/helpers/parser/queryParser.js.map +1 -1
- package/dist/helpers/routing/AbstractGeoJsonRouter.d.ts +1 -1
- package/dist/helpers/routing/AbstractGeoJsonRouter.js.map +1 -1
- package/dist/helpers/tools/memory/MemoryMonitor.d.ts +1 -0
- package/dist/helpers/tools/memory/MemoryMonitor.js +7 -17
- package/dist/helpers/tools/memory/MemoryMonitor.js.map +1 -1
- package/dist/helpers/tools/memory/MemoryMonitoringDecorator.js +3 -2
- package/dist/helpers/tools/memory/MemoryMonitoringDecorator.js.map +1 -1
- package/dist/helpers/tools/memory/examples/MemoryMonitoringExamples.js.map +1 -1
- package/dist/helpers/transformation/AbstractTransformation.js.map +1 -1
- package/dist/helpers/utils.js.map +1 -1
- package/dist/index.js +7 -17
- package/dist/index.js.map +1 -1
- package/dist/input-gateway/config/InputGatewayConfiguration.js +1 -2
- package/dist/input-gateway/config/InputGatewayConfiguration.js.map +1 -1
- package/dist/input-gateway/connectors/AMQPConnector.js +2 -3
- package/dist/input-gateway/connectors/AMQPConnector.js.map +1 -1
- package/dist/input-gateway/controllers/BaseController.js +1 -0
- package/dist/input-gateway/controllers/BaseController.js.map +1 -1
- package/dist/input-gateway/data-access/StorageServiceProvider.js +1 -2
- package/dist/input-gateway/data-access/StorageServiceProvider.js.map +1 -1
- package/dist/input-gateway/helpers/CheckContentTypeMiddleware.js.map +1 -1
- package/dist/input-gateway/helpers/ErrorPreprocessorMiddleware.js.map +1 -1
- package/dist/input-gateway/helpers/Logger.d.ts +1 -0
- package/dist/input-gateway/helpers/LoggerEmitterProvider.js +1 -2
- package/dist/input-gateway/helpers/LoggerEmitterProvider.js.map +1 -1
- package/dist/input-gateway/helpers/ResponseTimeMiddleware.js.map +1 -1
- package/dist/input-gateway/helpers/SaveRawDataMiddleware.js +1 -2
- package/dist/input-gateway/helpers/SaveRawDataMiddleware.js.map +1 -1
- package/dist/input-gateway/ioc/Di.js +1 -0
- package/dist/input-gateway/ioc/Di.js.map +1 -1
- package/dist/input-gateway/middleware/CsvParserMiddleware.js +1 -2
- package/dist/input-gateway/middleware/CsvParserMiddleware.js.map +1 -1
- package/dist/input-gateway/models/RedisModel.d.ts +1 -1
- package/dist/input-gateway/models/RedisModel.js.map +1 -1
- package/dist/integration-engine/config/IntegrationEngineConfiguration.js +3 -4
- package/dist/integration-engine/config/IntegrationEngineConfiguration.js.map +1 -1
- package/dist/integration-engine/connectors/AMQPConnector.js +3 -3
- package/dist/integration-engine/connectors/AMQPConnector.js.map +1 -1
- package/dist/integration-engine/connectors/index.js +4 -0
- package/dist/integration-engine/connectors/index.js.map +1 -1
- package/dist/integration-engine/data-access/RawDataStorage.js.map +1 -1
- package/dist/integration-engine/data-access/StorageServiceProvider.js +1 -2
- package/dist/integration-engine/data-access/StorageServiceProvider.js.map +1 -1
- package/dist/integration-engine/data-access/pubsub/subscribers/RedisSubscriber.js.map +1 -1
- package/dist/integration-engine/datasources/DataSource.js.map +1 -1
- package/dist/integration-engine/datasources/DataSourceStream.d.ts +1 -0
- package/dist/integration-engine/datasources/DataSourceStream.js.map +1 -1
- package/dist/integration-engine/datasources/DataSourceStreamManager.js.map +1 -1
- package/dist/integration-engine/datasources/DataSourceStreamed.js.map +1 -1
- package/dist/integration-engine/datasources/RetryDataSource.js.map +1 -1
- package/dist/integration-engine/datasources/datatype-strategy/CSVDataTypeStrategy.js.map +1 -1
- package/dist/integration-engine/datasources/datatype-strategy/JSONDataTypeStrategy.js.map +1 -1
- package/dist/integration-engine/datasources/datatype-strategy/XMLDataTypeStrategy.js.map +1 -1
- package/dist/integration-engine/datasources/datatype-strategy/ZipFileDataTypeStrategy.d.ts +2 -0
- package/dist/integration-engine/datasources/datatype-strategy/ZipFileDataTypeStrategy.js.map +1 -1
- package/dist/integration-engine/datasources/index.d.ts +0 -5
- package/dist/integration-engine/datasources/index.js +0 -5
- package/dist/integration-engine/datasources/index.js.map +1 -1
- package/dist/integration-engine/datasources/protocol-strategy/FTPProtocolStrategy.js.map +1 -1
- package/dist/integration-engine/datasources/protocol-strategy/GoogleCloudStorageProtocolStrategy.js.map +1 -1
- package/dist/integration-engine/datasources/protocol-strategy/HTTPFetchProtocolStrategy.js.map +1 -1
- package/dist/integration-engine/datasources/protocol-strategy/HTTPRequestProtocolStrategy.js.map +1 -1
- package/dist/integration-engine/datasources/protocol-strategy/HTTPRequestProtocolStrategyStreamed.d.ts +1 -4
- package/dist/integration-engine/datasources/protocol-strategy/HTTPRequestProtocolStrategyStreamed.js +1 -30
- package/dist/integration-engine/datasources/protocol-strategy/HTTPRequestProtocolStrategyStreamed.js.map +1 -1
- package/dist/integration-engine/datasources/protocol-strategy/IProtocolStrategy.d.ts +3 -0
- package/dist/integration-engine/datasources/protocol-strategy/PaginatedHTTPProtocolStrategy.js.map +1 -1
- package/dist/integration-engine/datasources/protocol-strategy/PostgresProtocolStrategy.js +2 -2
- package/dist/integration-engine/datasources/protocol-strategy/PostgresProtocolStrategy.js.map +1 -1
- package/dist/integration-engine/datasources/protocol-strategy/PostgresProtocolStrategyStreamed.js +1 -1
- package/dist/integration-engine/datasources/protocol-strategy/PostgresProtocolStrategyStreamed.js.map +1 -1
- package/dist/integration-engine/datasources/protocol-strategy/ProtocolStrategy.d.ts +0 -2
- package/dist/integration-engine/datasources/protocol-strategy/ProtocolStrategy.js +7 -42
- package/dist/integration-engine/datasources/protocol-strategy/ProtocolStrategy.js.map +1 -1
- package/dist/integration-engine/datasources/protocol-strategy/SFTPProtocolStrategy.js.map +1 -1
- package/dist/integration-engine/datasources/protocol-strategy/helpers/FTPFileProcessor.js.map +1 -1
- package/dist/integration-engine/datasources/protocol-strategy/interfaces/IHTTPRequestSettings.d.ts +3 -0
- package/dist/integration-engine/helpers/FileCompressor.d.ts +2 -0
- package/dist/integration-engine/helpers/FileCompressor.js.map +1 -1
- package/dist/integration-engine/helpers/GeocodeApi.js +1 -2
- package/dist/integration-engine/helpers/GeocodeApi.js.map +1 -1
- package/dist/integration-engine/helpers/IntegrationErrorHandler.js.map +1 -1
- package/dist/integration-engine/helpers/Logger.d.ts +1 -0
- package/dist/integration-engine/helpers/LoggerEmitterProvider.js +1 -2
- package/dist/integration-engine/helpers/LoggerEmitterProvider.js.map +1 -1
- package/dist/integration-engine/ioc/Di.js +2 -2
- package/dist/integration-engine/ioc/Di.js.map +1 -1
- package/dist/integration-engine/models/PostgresModel.d.ts +1 -1
- package/dist/integration-engine/models/PostgresModel.js.map +1 -1
- package/dist/integration-engine/models/RedisModel.d.ts +1 -1
- package/dist/integration-engine/models/RedisModel.js.map +1 -1
- package/dist/integration-engine/models/postgres/AuditAttributeModel.js +5 -5
- package/dist/integration-engine/models/postgres/AuditAttributeModel.js.map +1 -1
- package/dist/integration-engine/queueprocessors/QueueProcessor.js.map +1 -1
- package/dist/integration-engine/queueprocessors/helpers.js.map +1 -1
- package/dist/integration-engine/transformations/BaseTransformation.js.map +1 -1
- package/dist/integration-engine/workers/AbstractTask.js.map +1 -1
- package/dist/integration-engine/workers/AbstractTaskJsonSchema.js.map +1 -1
- package/dist/integration-engine/workers/AbstractTaskWithoutValidation.js +1 -1
- package/dist/integration-engine/workers/AbstractTaskWithoutValidation.js.map +1 -1
- package/dist/integration-engine/workers/AbstractWorker.js +2 -2
- package/dist/integration-engine/workers/AbstractWorker.js.map +1 -1
- package/dist/integration-engine/workers/BaseWorker.d.ts +1 -1
- package/dist/integration-engine/workers/BaseWorker.js.map +1 -1
- package/dist/integration-engine/workers/helpers/AbortableTask.js.map +1 -1
- package/dist/integration-engine/workers/helpers/MessageDataParser.js.map +1 -1
- package/dist/integration-engine/workers/helpers/MessageDataValidator.js.map +1 -1
- package/dist/integration-engine/workers/webhooks/CloudflareCachePurgeWebhook.js.map +1 -1
- package/dist/monitoring/metrics/metrics-builder.js.map +1 -1
- package/dist/monitoring/metrics/metrics-middleware.js.map +1 -1
- package/dist/monitoring/metrics/metrics-service.d.ts +3 -2
- package/dist/monitoring/metrics/metrics-service.js.map +1 -1
- package/dist/monitoring/opentelemetry/instrumentation/configs/amqplib.js.map +1 -1
- package/dist/monitoring/opentelemetry/instrumentation/configs/aws-sdk.js.map +1 -1
- package/dist/monitoring/opentelemetry/instrumentation/configs/http.js.map +1 -1
- package/dist/monitoring/opentelemetry/trace-provider.js.map +1 -1
- package/dist/output-gateway/CacheHeaderMiddleware.d.ts +1 -0
- package/dist/output-gateway/CacheHeaderMiddleware.js +1 -2
- package/dist/output-gateway/CacheHeaderMiddleware.js.map +1 -1
- package/dist/output-gateway/CompressionByDefaultMiddleware.js +1 -2
- package/dist/output-gateway/CompressionByDefaultMiddleware.js.map +1 -1
- package/dist/output-gateway/Geo.js.map +1 -1
- package/dist/output-gateway/Logger.d.ts +1 -0
- package/dist/output-gateway/Utils.js.map +1 -1
- package/dist/output-gateway/Validation.js +1 -1
- package/dist/output-gateway/Validation.js.map +1 -1
- package/dist/output-gateway/config/OutputGatewayConfiguration.js +1 -2
- package/dist/output-gateway/config/OutputGatewayConfiguration.js.map +1 -1
- package/dist/output-gateway/ioc/Di.js +0 -1
- package/dist/output-gateway/ioc/Di.js.map +1 -1
- package/dist/output-gateway/routes/BaseRouter.js.map +1 -1
- package/dist/output-gateway/routes/GeoJsonRouter.d.ts +1 -1
- package/dist/output-gateway/routes/GeoJsonRouter.js.map +1 -1
- package/dist/output-gateway/routes/typeguards/RouterExpireParametersTypeGuard.js.map +1 -1
- package/dist/shared/class-transformer.js +7 -17
- package/dist/shared/class-transformer.js.map +1 -1
- package/dist/shared/class-validator.js +7 -17
- package/dist/shared/class-validator.js.map +1 -1
- package/dist/shared/express-validator.js +7 -17
- package/dist/shared/express-validator.js.map +1 -1
- package/dist/shared/golemio-errors.js +7 -17
- package/dist/shared/golemio-errors.js.map +1 -1
- package/dist/shared/golemio-validator.js +7 -17
- package/dist/shared/golemio-validator.js.map +1 -1
- package/dist/shared/lightship.js +7 -17
- package/dist/shared/lightship.js.map +1 -1
- package/dist/shared/luxon.js +7 -17
- package/dist/shared/luxon.js.map +1 -1
- package/dist/shared/pino.js +7 -17
- package/dist/shared/pino.js.map +1 -1
- package/dist/shared/qs.js +7 -17
- package/dist/shared/qs.js.map +1 -1
- package/dist/shared/redis-semaphore.js +7 -17
- package/dist/shared/redis-semaphore.js.map +1 -1
- package/package.json +7 -17
- package/dist/helpers/data-access/opensearch/czechAnalysis.d.ts +0 -14
- package/dist/helpers/data-access/opensearch/czechAnalysis.js +0 -73
- package/dist/helpers/data-access/opensearch/czechAnalysis.js.map +0 -1
- package/dist/helpers/data-access/opensearch/expandAcronyms.d.ts +0 -1
- package/dist/helpers/data-access/opensearch/expandAcronyms.js +0 -19
- package/dist/helpers/data-access/opensearch/expandAcronyms.js.map +0 -1
- package/dist/helpers/data-access/opensearch/liveSearchQuery.d.ts +0 -18
- package/dist/helpers/data-access/opensearch/liveSearchQuery.js +0 -41
- package/dist/helpers/data-access/opensearch/liveSearchQuery.js.map +0 -1
- package/dist/integration-engine/datasources/BatchWritable.d.ts +0 -14
- package/dist/integration-engine/datasources/BatchWritable.js +0 -42
- package/dist/integration-engine/datasources/BatchWritable.js.map +0 -1
- package/dist/integration-engine/datasources/DataSourceStreamedPipeline.d.ts +0 -24
- package/dist/integration-engine/datasources/DataSourceStreamedPipeline.js +0 -72
- package/dist/integration-engine/datasources/DataSourceStreamedPipeline.js.map +0 -1
- package/dist/integration-engine/datasources/datatype-strategy/JSONStreamTransformer.d.ts +0 -4
- package/dist/integration-engine/datasources/datatype-strategy/JSONStreamTransformer.js +0 -12
- package/dist/integration-engine/datasources/datatype-strategy/JSONStreamTransformer.js.map +0 -1
- package/dist/integration-engine/datasources/protocol-strategy/IStreamingProtocolStrategy.d.ts +0 -4
- package/dist/integration-engine/datasources/protocol-strategy/IStreamingProtocolStrategy.js +0 -3
- package/dist/integration-engine/datasources/protocol-strategy/IStreamingProtocolStrategy.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"golemio-validator.js","sourceRoot":"","sources":["../../src/shared/golemio-validator.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"golemio-validator.js","sourceRoot":"","sources":["../../src/shared/golemio-validator.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAAA,8DAAgD;AAChD,iBAAS,SAAS,CAAC"}
|
package/dist/shared/lightship.js
CHANGED
|
@@ -15,23 +15,13 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
15
15
|
}) : function(o, v) {
|
|
16
16
|
o["default"] = v;
|
|
17
17
|
});
|
|
18
|
-
var __importStar = (this && this.__importStar) ||
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
return ownKeys(o);
|
|
26
|
-
};
|
|
27
|
-
return function (mod) {
|
|
28
|
-
if (mod && mod.__esModule) return mod;
|
|
29
|
-
var result = {};
|
|
30
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
-
__setModuleDefault(result, mod);
|
|
32
|
-
return result;
|
|
33
|
-
};
|
|
34
|
-
})();
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
35
25
|
const lightship = __importStar(require("lightship"));
|
|
36
26
|
module.exports = lightship;
|
|
37
27
|
//# sourceMappingURL=lightship.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lightship.js","sourceRoot":"","sources":["../../src/shared/lightship.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"lightship.js","sourceRoot":"","sources":["../../src/shared/lightship.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAAA,qDAAuC;AACvC,iBAAS,SAAS,CAAC"}
|
package/dist/shared/luxon.js
CHANGED
|
@@ -15,23 +15,13 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
15
15
|
}) : function(o, v) {
|
|
16
16
|
o["default"] = v;
|
|
17
17
|
});
|
|
18
|
-
var __importStar = (this && this.__importStar) ||
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
return ownKeys(o);
|
|
26
|
-
};
|
|
27
|
-
return function (mod) {
|
|
28
|
-
if (mod && mod.__esModule) return mod;
|
|
29
|
-
var result = {};
|
|
30
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
-
__setModuleDefault(result, mod);
|
|
32
|
-
return result;
|
|
33
|
-
};
|
|
34
|
-
})();
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
35
25
|
const Luxon = __importStar(require("luxon"));
|
|
36
26
|
module.exports = Luxon;
|
|
37
27
|
//# sourceMappingURL=luxon.js.map
|
package/dist/shared/luxon.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"luxon.js","sourceRoot":"","sources":["../../src/shared/luxon.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"luxon.js","sourceRoot":"","sources":["../../src/shared/luxon.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA+B;AAC/B,iBAAS,KAAK,CAAC"}
|
package/dist/shared/pino.js
CHANGED
|
@@ -15,23 +15,13 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
15
15
|
}) : function(o, v) {
|
|
16
16
|
o["default"] = v;
|
|
17
17
|
});
|
|
18
|
-
var __importStar = (this && this.__importStar) ||
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
return ownKeys(o);
|
|
26
|
-
};
|
|
27
|
-
return function (mod) {
|
|
28
|
-
if (mod && mod.__esModule) return mod;
|
|
29
|
-
var result = {};
|
|
30
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
-
__setModuleDefault(result, mod);
|
|
32
|
-
return result;
|
|
33
|
-
};
|
|
34
|
-
})();
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
35
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
26
|
exports.pinoHttp = exports.pino = void 0;
|
|
37
27
|
exports.pino = __importStar(require("pino"));
|
package/dist/shared/pino.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pino.js","sourceRoot":"","sources":["../../src/shared/pino.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"pino.js","sourceRoot":"","sources":["../../src/shared/pino.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6B;AAC7B,sDAAsC"}
|
package/dist/shared/qs.js
CHANGED
|
@@ -15,23 +15,13 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
15
15
|
}) : function(o, v) {
|
|
16
16
|
o["default"] = v;
|
|
17
17
|
});
|
|
18
|
-
var __importStar = (this && this.__importStar) ||
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
return ownKeys(o);
|
|
26
|
-
};
|
|
27
|
-
return function (mod) {
|
|
28
|
-
if (mod && mod.__esModule) return mod;
|
|
29
|
-
var result = {};
|
|
30
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
-
__setModuleDefault(result, mod);
|
|
32
|
-
return result;
|
|
33
|
-
};
|
|
34
|
-
})();
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
35
25
|
const qs = __importStar(require("qs"));
|
|
36
26
|
module.exports = qs;
|
|
37
27
|
//# sourceMappingURL=qs.js.map
|
package/dist/shared/qs.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"qs.js","sourceRoot":"","sources":["../../src/shared/qs.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"qs.js","sourceRoot":"","sources":["../../src/shared/qs.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,iBAAS,EAAE,CAAC"}
|
|
@@ -15,23 +15,13 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
15
15
|
}) : function(o, v) {
|
|
16
16
|
o["default"] = v;
|
|
17
17
|
});
|
|
18
|
-
var __importStar = (this && this.__importStar) ||
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
return ownKeys(o);
|
|
26
|
-
};
|
|
27
|
-
return function (mod) {
|
|
28
|
-
if (mod && mod.__esModule) return mod;
|
|
29
|
-
var result = {};
|
|
30
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
-
__setModuleDefault(result, mod);
|
|
32
|
-
return result;
|
|
33
|
-
};
|
|
34
|
-
})();
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
35
25
|
const redisSemaphore = __importStar(require("redis-semaphore"));
|
|
36
26
|
module.exports = redisSemaphore;
|
|
37
27
|
//# sourceMappingURL=redis-semaphore.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"redis-semaphore.js","sourceRoot":"","sources":["../../src/shared/redis-semaphore.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"redis-semaphore.js","sourceRoot":"","sources":["../../src/shared/redis-semaphore.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAAA,gEAAkD;AAClD,iBAAS,cAAc,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@golemio/core",
|
|
3
|
-
"version": "3.3.0-
|
|
3
|
+
"version": "3.3.0-rc.2646964518",
|
|
4
4
|
"description": "Golemio Core Module",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"build-watch": "run-s 'build -- --watch --preserveWatchOutput'",
|
|
11
11
|
"test": "cross-env NODE_ENV=test mocha --exit --check-leaks --timeout 120000 -r ts-node/register -r tsconfig-paths/register --file 'test/setup.ts' -r dotenv/config 'test/**/*.test.ts'",
|
|
12
12
|
"test-debug": "run-s 'test -- --inspect-brk=9230'",
|
|
13
|
-
"code-coverage": "nyc run-s test",
|
|
13
|
+
"code-coverage": "nyc run-s 'test -- -r source-map-support/register'",
|
|
14
14
|
"generate-docs": "typedoc --out docs/typedoc src",
|
|
15
15
|
"lint": "eslint --cache \"{src,test}/**/*.ts\"",
|
|
16
16
|
"validate-dependencies": "dependency-cruiser --config .dependency-cruiser.js src"
|
|
@@ -37,7 +37,6 @@
|
|
|
37
37
|
"@types/chai-as-promised": "^8.0.2",
|
|
38
38
|
"@types/content-type": "^1.1.3",
|
|
39
39
|
"@types/debug": "0.0.31",
|
|
40
|
-
"@types/jsonstream": "^0.8.33",
|
|
41
40
|
"@types/mocha": "^10.0.10",
|
|
42
41
|
"@types/node": "^24.12.4",
|
|
43
42
|
"@types/sinon": "^21.0.0",
|
|
@@ -63,11 +62,11 @@
|
|
|
63
62
|
"source-map-support": "0.5.21",
|
|
64
63
|
"supertest": "^7.1.4",
|
|
65
64
|
"ts-node": "^10.9.1",
|
|
66
|
-
"ts-patch": "
|
|
65
|
+
"ts-patch": "3.0.0-beta3",
|
|
67
66
|
"tsconfig-paths": "^4.2.0",
|
|
68
67
|
"typedoc": "^0.24.8",
|
|
69
|
-
"typescript": "
|
|
70
|
-
"typescript-transform-paths": "^4.
|
|
68
|
+
"typescript": "5.1.3",
|
|
69
|
+
"typescript-transform-paths": "^3.4.6"
|
|
71
70
|
},
|
|
72
71
|
"dependencies": {
|
|
73
72
|
"@abraham/reflection": "^0.10.0",
|
|
@@ -79,7 +78,7 @@
|
|
|
79
78
|
"@google-cloud/storage": "^7.19.0",
|
|
80
79
|
"@opensearch-project/opensearch": "^3.6.0",
|
|
81
80
|
"@opentelemetry/api": "^1.9.0",
|
|
82
|
-
"@opentelemetry/exporter-trace-otlp-grpc": "^0.
|
|
81
|
+
"@opentelemetry/exporter-trace-otlp-grpc": "^0.204.0",
|
|
83
82
|
"@opentelemetry/instrumentation-amqplib": "^0.50.0",
|
|
84
83
|
"@opentelemetry/instrumentation-aws-sdk": "^0.56.0",
|
|
85
84
|
"@opentelemetry/instrumentation-express": "^0.52.0",
|
|
@@ -93,7 +92,7 @@
|
|
|
93
92
|
"@types/geojson": "^7946.0.10",
|
|
94
93
|
"@types/luxon": "^2.3.1",
|
|
95
94
|
"@types/qs": "^6.9.18",
|
|
96
|
-
"ajv": "^8.
|
|
95
|
+
"ajv": "^8.10.0",
|
|
97
96
|
"amqplib": "^0.10.8",
|
|
98
97
|
"basic-ftp": "^6.0.1",
|
|
99
98
|
"class-transformer": "^0.5.1",
|
|
@@ -108,7 +107,6 @@
|
|
|
108
107
|
"html-entities": "^2.4.0",
|
|
109
108
|
"iconv-lite": "^0.6.2",
|
|
110
109
|
"ioredis": "^5.4.1",
|
|
111
|
-
"JSONStream": "^1.3.5",
|
|
112
110
|
"lightship": "9.0.2",
|
|
113
111
|
"luxon": "^2.5.2",
|
|
114
112
|
"moment-timezone": "^0.5.26",
|
|
@@ -131,16 +129,8 @@
|
|
|
131
129
|
"yauzl": "^2.10.0"
|
|
132
130
|
},
|
|
133
131
|
"overrides": {
|
|
134
|
-
"lodash": "^4.18.1",
|
|
135
132
|
"lightship": {
|
|
136
|
-
"fast-uri": "^3.1.2",
|
|
137
133
|
"fastify": "^5.8.5"
|
|
138
|
-
},
|
|
139
|
-
"@google-cloud/storage": {
|
|
140
|
-
"fast-xml-builder": "^1.2.0"
|
|
141
|
-
},
|
|
142
|
-
"ajv": {
|
|
143
|
-
"fast-uri": "^3.1.2"
|
|
144
134
|
}
|
|
145
135
|
}
|
|
146
136
|
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { Types } from "@opensearch-project/opensearch";
|
|
2
|
-
export interface ICzechAnalysisOptions {
|
|
3
|
-
synonyms?: string[];
|
|
4
|
-
edgeNgramMin?: number;
|
|
5
|
-
edgeNgramMax?: number;
|
|
6
|
-
}
|
|
7
|
-
export interface IBaseIndexSettingsOptions extends ICzechAnalysisOptions {
|
|
8
|
-
numberOfShards?: number;
|
|
9
|
-
}
|
|
10
|
-
type Analysis = Types.Indices_Common.IndexSettingsAnalysis;
|
|
11
|
-
export declare const buildCzechAnalysis: (options?: ICzechAnalysisOptions) => Analysis;
|
|
12
|
-
export declare const buildBaseIndexSettings: (options?: IBaseIndexSettingsOptions) => Types.Indices_Common.IndexSettings;
|
|
13
|
-
export declare const czechText: () => Types.Common_Mapping.TextProperty;
|
|
14
|
-
export {};
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.czechText = exports.buildBaseIndexSettings = exports.buildCzechAnalysis = void 0;
|
|
4
|
-
// Reusable Czech analysis recipe (holds no vocabulary; the caller passes synonyms in). czechText()
|
|
5
|
-
// maps each field via a hunspell lemma path (ranking) plus an edge_ngram ".prefix" sub-field
|
|
6
|
-
// (prefix/derivational recall), and — when `synonyms` is given — a query-time synonym_graph.
|
|
7
|
-
//
|
|
8
|
-
// hunspell needs the cs_CZ dictionary on every node, and the filter ordering below is load-bearing.
|
|
9
|
-
// Full rationale (paths, ordering trap, dependency caveat) lives in docs/opensearch-czech-search.md.
|
|
10
|
-
// Changing this analysis is a mapping change: existing indexes must be dropped, recreated, and reseeded.
|
|
11
|
-
const HUNSPELL_LOCALE = "cs_CZ";
|
|
12
|
-
const DEFAULT_EDGE_NGRAM_MIN = 2;
|
|
13
|
-
const DEFAULT_EDGE_NGRAM_MAX = 20;
|
|
14
|
-
const buildCzechAnalysis = (options = {}) => {
|
|
15
|
-
const synonyms = options.synonyms ?? [];
|
|
16
|
-
const edgeNgramMin = options.edgeNgramMin ?? DEFAULT_EDGE_NGRAM_MIN;
|
|
17
|
-
const edgeNgramMax = options.edgeNgramMax ?? DEFAULT_EDGE_NGRAM_MAX;
|
|
18
|
-
const hasSynonyms = synonyms.length > 0;
|
|
19
|
-
const filter = {
|
|
20
|
-
czech_stop: { type: "stop", stopwords: "_czech_" },
|
|
21
|
-
cs_hunspell: { type: "hunspell", locale: HUNSPELL_LOCALE, dedup: true },
|
|
22
|
-
cs_edge_ngram: { type: "edge_ngram", min_gram: edgeNgramMin, max_gram: edgeNgramMax },
|
|
23
|
-
};
|
|
24
|
-
if (hasSynonyms) {
|
|
25
|
-
// synonym_graph is search-time only; wired into cs_lemma_search, never an index-time analyzer.
|
|
26
|
-
filter.cs_synonym = { type: "synonym_graph", synonyms };
|
|
27
|
-
}
|
|
28
|
-
// Search-time twin of cs_lemma. cs_synonym must precede czech_stop or synonym_graph rejects
|
|
29
|
-
// multi-word entries with an inner stopword — see docs/opensearch-czech-search.md.
|
|
30
|
-
const lemmaSearchFilter = hasSynonyms
|
|
31
|
-
? ["lowercase", "cs_synonym", "czech_stop", "cs_hunspell", "asciifolding"]
|
|
32
|
-
: ["lowercase", "czech_stop", "cs_hunspell", "asciifolding"];
|
|
33
|
-
return {
|
|
34
|
-
filter,
|
|
35
|
-
analyzer: {
|
|
36
|
-
// asciifolding runs after hunspell so it still sees the diacritic-bearing form to look up.
|
|
37
|
-
cs_lemma: {
|
|
38
|
-
type: "custom",
|
|
39
|
-
tokenizer: "standard",
|
|
40
|
-
filter: ["lowercase", "czech_stop", "cs_hunspell", "asciifolding"],
|
|
41
|
-
},
|
|
42
|
-
cs_lemma_search: { type: "custom", tokenizer: "standard", filter: lemmaSearchFilter },
|
|
43
|
-
// Index side stores prefixes; query side matches the whole token against them (no ngram).
|
|
44
|
-
cs_prefix_index: { type: "custom", tokenizer: "standard", filter: ["lowercase", "asciifolding", "cs_edge_ngram"] },
|
|
45
|
-
cs_prefix_search: { type: "custom", tokenizer: "standard", filter: ["lowercase", "asciifolding"] },
|
|
46
|
-
},
|
|
47
|
-
};
|
|
48
|
-
};
|
|
49
|
-
exports.buildCzechAnalysis = buildCzechAnalysis;
|
|
50
|
-
// min_gram..max_gram spans more than the default allowed ngram diff of 1, so the index must raise
|
|
51
|
-
// max_ngram_diff or edge_ngram creation is rejected.
|
|
52
|
-
const buildBaseIndexSettings = (options = {}) => {
|
|
53
|
-
const edgeNgramMin = options.edgeNgramMin ?? DEFAULT_EDGE_NGRAM_MIN;
|
|
54
|
-
const edgeNgramMax = options.edgeNgramMax ?? DEFAULT_EDGE_NGRAM_MAX;
|
|
55
|
-
return {
|
|
56
|
-
number_of_shards: options.numberOfShards ?? 1,
|
|
57
|
-
max_ngram_diff: edgeNgramMax - edgeNgramMin,
|
|
58
|
-
analysis: (0, exports.buildCzechAnalysis)(options),
|
|
59
|
-
};
|
|
60
|
-
};
|
|
61
|
-
exports.buildBaseIndexSettings = buildBaseIndexSettings;
|
|
62
|
-
// Lemma field for ranking + a ".prefix" edge_ngram sub-field for derivational/prefix recall. The
|
|
63
|
-
// analyzer names match those produced by buildCzechAnalysis.
|
|
64
|
-
const czechText = () => ({
|
|
65
|
-
type: "text",
|
|
66
|
-
analyzer: "cs_lemma",
|
|
67
|
-
search_analyzer: "cs_lemma_search",
|
|
68
|
-
fields: {
|
|
69
|
-
prefix: { type: "text", analyzer: "cs_prefix_index", search_analyzer: "cs_prefix_search" },
|
|
70
|
-
},
|
|
71
|
-
});
|
|
72
|
-
exports.czechText = czechText;
|
|
73
|
-
//# sourceMappingURL=czechAnalysis.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"czechAnalysis.js","sourceRoot":"","sources":["../../../../src/helpers/data-access/opensearch/czechAnalysis.ts"],"names":[],"mappings":";;;AAEA,mGAAmG;AACnG,6FAA6F;AAC7F,6FAA6F;AAC7F,EAAE;AACF,oGAAoG;AACpG,qGAAqG;AACrG,yGAAyG;AAEzG,MAAM,eAAe,GAAG,OAAO,CAAC;AAChC,MAAM,sBAAsB,GAAG,CAAC,CAAC;AACjC,MAAM,sBAAsB,GAAG,EAAE,CAAC;AAgB3B,MAAM,kBAAkB,GAAG,CAAC,UAAiC,EAAE,EAAY,EAAE;IAChF,MAAM,QAAQ,GAAG,OAAO,CAAC,QAAQ,IAAI,EAAE,CAAC;IACxC,MAAM,YAAY,GAAG,OAAO,CAAC,YAAY,IAAI,sBAAsB,CAAC;IACpE,MAAM,YAAY,GAAG,OAAO,CAAC,YAAY,IAAI,sBAAsB,CAAC;IACpE,MAAM,WAAW,GAAG,QAAQ,CAAC,MAAM,GAAG,CAAC,CAAC;IAExC,MAAM,MAAM,GAAoC;QAC5C,UAAU,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,SAAS,EAAE;QAClD,WAAW,EAAE,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,EAAE,eAAe,EAAE,KAAK,EAAE,IAAI,EAAE;QACvE,aAAa,EAAE,EAAE,IAAI,EAAE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pE,MAAM,YAAY,GAAG,OAAO,CAAC,YAAY,IAAI,sBAAsB,CAAC;IACpE,OAAO;QACH,gBAAgB,EAAE,OAAO,CAAC,cAAc,IAAI,CAAC;QAC7C,cAAc,EAAE,YAAY,GAAG,YAAY;QAC3C,QAAQ,EAAE,IAAA,0BAAkB,EAAC,OAAO,CAAC;KACxC,CAAC;AACN,CAAC,CAAC;AARW,QAAA,sBAAsB,0BAQjC;AAEF,iGAAiG;AACjG,6DAA6D;AACtD,MAAM,SAAS,GAAG,GAAsC,EAAE,CAAC,CAAC;IAC/D,IAAI,EAAE,MAAM;IACZ,QAAQ,EAAE,UAAU;IACpB,eAAe,EAAE,iBAAiB;IAClC,MAAM,EAAE;QACJ,MAAM,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,iBAAiB,EAAE,eAAe,EAAE,kBAAkB,EAAE;KAC7F;CACJ,CAAC,CAAC;AAPU,QAAA,SAAS,aAOnB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const expandAcronyms: (query: string, expansions: Record<string, string>) => string;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.expandAcronyms = void 0;
|
|
4
|
-
// Appends the full form of every query token that is a known acronym, keeping the original tokens (so
|
|
5
|
-
// a literal-acronym match still fires) — forward-only and additive, never a substitution. `expansions`
|
|
6
|
-
// is the caller's lowercased acronym -> full-form map; matching is case-insensitive. Why this runs in
|
|
7
|
-
// the query layer (not as an index synonym) and why both forms are kept: docs/opensearch-czech-search.md.
|
|
8
|
-
const expandAcronyms = (query, expansions) => {
|
|
9
|
-
const matched = [];
|
|
10
|
-
for (const token of query.split(/\s+/)) {
|
|
11
|
-
const expansion = expansions[token.toLowerCase()];
|
|
12
|
-
if (expansion) {
|
|
13
|
-
matched.push(expansion);
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
return matched.length > 0 ? `${query} ${matched.join(" ")}` : query;
|
|
17
|
-
};
|
|
18
|
-
exports.expandAcronyms = expandAcronyms;
|
|
19
|
-
//# sourceMappingURL=expandAcronyms.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"expandAcronyms.js","sourceRoot":"","sources":["../../../../src/helpers/data-access/opensearch/expandAcronyms.ts"],"names":[],"mappings":";;;AAAA,sGAAsG;AACtG,uGAAuG;AACvG,sGAAsG;AACtG,0GAA0G;AACnG,MAAM,cAAc,GAAG,CAAC,KAAa,EAAE,UAAkC,EAAU,EAAE;IACxF,MAAM,OAAO,GAAa,EAAE,CAAC;IAC7B,KAAK,MAAM,KAAK,IAAI,KAAK,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,CAAC;QACrC,MAAM,SAAS,GAAG,UAAU,CAAC,KAAK,CAAC,WAAW,EAAE,CAAC,CAAC;QAClD,IAAI,SAAS,EAAE,CAAC;YACZ,OAAO,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;QAC5B,CAAC;IACL,CAAC;IAED,OAAO,OAAO,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC;AACxE,CAAC,CAAC;AAVW,QAAA,cAAc,kBAUzB"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { API, Types } from "@opensearch-project/opensearch";
|
|
2
|
-
type QueryContainer = Types.Common_QueryDsl.QueryContainer;
|
|
3
|
-
type SearchRequestBody = API.Search_RequestBody;
|
|
4
|
-
export interface IFuzzyOptions {
|
|
5
|
-
fields?: string[];
|
|
6
|
-
fuzziness?: string;
|
|
7
|
-
}
|
|
8
|
-
export interface ILiveSearchQueryOptions {
|
|
9
|
-
query: string;
|
|
10
|
-
fields: string[];
|
|
11
|
-
limit?: number;
|
|
12
|
-
offset?: number;
|
|
13
|
-
filter?: QueryContainer[];
|
|
14
|
-
wildcardFields?: string[];
|
|
15
|
-
fuzzy?: boolean | IFuzzyOptions;
|
|
16
|
-
}
|
|
17
|
-
export declare const buildLiveSearchQuery: (options: ILiveSearchQueryOptions) => SearchRequestBody;
|
|
18
|
-
export {};
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.buildLiveSearchQuery = void 0;
|
|
4
|
-
const DEFAULT_SEARCH_LIMIT = 10;
|
|
5
|
-
const DEFAULT_FUZZINESS = "AUTO";
|
|
6
|
-
const PREFIX_SUBFIELD_SUFFIX = ".prefix";
|
|
7
|
-
const buildLiveSearchQuery = (options) => {
|
|
8
|
-
const trimmed = options.query.trim();
|
|
9
|
-
const bool = { filter: options.filter ?? [] };
|
|
10
|
-
if (!trimmed) {
|
|
11
|
-
bool.must = [{ match_all: {} }];
|
|
12
|
-
}
|
|
13
|
-
else {
|
|
14
|
-
const shoulds = [{ multi_match: { query: trimmed, fields: options.fields, type: "bool_prefix" } }];
|
|
15
|
-
const fuzzy = options.fuzzy ?? true;
|
|
16
|
-
if (fuzzy !== false) {
|
|
17
|
-
const fuzzyOptions = typeof fuzzy === "object" ? fuzzy : {};
|
|
18
|
-
const fuzzyFields = fuzzyOptions.fields ?? options.fields.filter((field) => !field.endsWith(PREFIX_SUBFIELD_SUFFIX));
|
|
19
|
-
shoulds.push({
|
|
20
|
-
multi_match: { query: trimmed, fields: fuzzyFields, fuzziness: fuzzyOptions.fuzziness ?? DEFAULT_FUZZINESS },
|
|
21
|
-
});
|
|
22
|
-
}
|
|
23
|
-
if (options.wildcardFields?.length) {
|
|
24
|
-
const escaped = trimmed.replace(/[\\*?]/g, "\\$&");
|
|
25
|
-
for (const field of options.wildcardFields) {
|
|
26
|
-
shoulds.push({ wildcard: { [field]: { value: `*${escaped}*`, case_insensitive: true } } });
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
bool.should = shoulds;
|
|
30
|
-
bool.minimum_should_match = 1;
|
|
31
|
-
}
|
|
32
|
-
return {
|
|
33
|
-
query: { bool },
|
|
34
|
-
_source: false,
|
|
35
|
-
from: options.offset ?? 0,
|
|
36
|
-
size: options.limit ?? DEFAULT_SEARCH_LIMIT,
|
|
37
|
-
track_total_hits: true,
|
|
38
|
-
};
|
|
39
|
-
};
|
|
40
|
-
exports.buildLiveSearchQuery = buildLiveSearchQuery;
|
|
41
|
-
//# sourceMappingURL=liveSearchQuery.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"liveSearchQuery.js","sourceRoot":"","sources":["../../../../src/helpers/data-access/opensearch/liveSearchQuery.ts"],"names":[],"mappings":";;;AAYA,MAAM,oBAAoB,GAAG,EAAE,CAAC;AAChC,MAAM,iBAAiB,GAAG,MAAM,CAAC;AACjC,MAAM,sBAAsB,GAAG,SAAS,CAAC;AAuBlC,MAAM,oBAAoB,GAAG,CAAC,OAAgC,EAAqB,EAAE;IACxF,MAAM,OAAO,GAAG,OAAO,CAAC,KAAK,CAAC,IAAI,EAAE,CAAC;IACrC,MAAM,IAAI,GAAc,EAAE,MAAM,EAAE,OAAO,CAAC,MAAM,IAAI,EAAE,EAAE,CAAC;IAEzD,IAAI,CAAC,OAAO,EAAE,CAAC;QACX,IAAI,CAAC,IAAI,GAAG,CAAC,EAAE,SAAS,EAAE,EAAE,EAAE,CAAC,CAAC;IACpC,CAAC;SAAM,CAAC;QACJ,MAAM,OAAO,GAAqB,CAAC,EAAE,WAAW,EAAE,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,MAAM,EAAE,IAAI,EAAE,aAAa,EAAE,EAAE,CAAC,CAAC;QAErH,MAAM,KAAK,GAAG,OAAO,CAAC,KAAK,IAAI,IAAI,CAAC;QACpC,IAAI,KAAK,KAAK,KAAK,EAAE,CAAC;YAClB,MAAM,YAAY,GAAG,OAAO,KAAK,KAAK,QAAQ,CAAC,CAAC,CAAC,K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batchSize: number;
|
|
4
|
-
onFlush: (batch: T[]) => Promise<void>;
|
|
5
|
-
}
|
|
6
|
-
export declare class BatchWritable<T> extends Writable {
|
|
7
|
-
private batch;
|
|
8
|
-
private readonly batchSize;
|
|
9
|
-
private readonly onFlush;
|
|
10
|
-
constructor(options: BatchWritableOptions<T>);
|
|
11
|
-
_write(item: T, _encoding: BufferEncoding, callback: (err?: Error | null) => void): void;
|
|
12
|
-
_final(callback: (err?: Error | null) => void): void;
|
|
13
|
-
private flush;
|
|
14
|
-
}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.BatchWritable = void 0;
|
|
4
|
-
const node_stream_1 = require("node:stream");
|
|
5
|
-
class BatchWritable extends node_stream_1.Writable {
|
|
6
|
-
constructor(options) {
|
|
7
|
-
super({
|
|
8
|
-
objectMode: true,
|
|
9
|
-
});
|
|
10
|
-
this.batch = [];
|
|
11
|
-
this.batchSize = options.batchSize;
|
|
12
|
-
this.onFlush = options.onFlush;
|
|
13
|
-
}
|
|
14
|
-
_write(item, _encoding, callback) {
|
|
15
|
-
this.batch.push(item);
|
|
16
|
-
if (this.batch.length < this.batchSize) {
|
|
17
|
-
callback();
|
|
18
|
-
return;
|
|
19
|
-
}
|
|
20
|
-
this.flush(callback);
|
|
21
|
-
}
|
|
22
|
-
_final(callback) {
|
|
23
|
-
if (this.batch.length === 0) {
|
|
24
|
-
callback();
|
|
25
|
-
return;
|
|
26
|
-
}
|
|
27
|
-
this.flush(callback);
|
|
28
|
-
}
|
|
29
|
-
async flush(callback) {
|
|
30
|
-
const fullBatch = this.batch;
|
|
31
|
-
this.batch = [];
|
|
32
|
-
try {
|
|
33
|
-
await this.onFlush(fullBatch);
|
|
34
|
-
callback();
|
|
35
|
-
}
|
|
36
|
-
catch (err) {
|
|
37
|
-
callback(err instanceof Error ? err : new Error(String(err)));
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
exports.BatchWritable = BatchWritable;
|
|
42
|
-
//# sourceMappingURL=BatchWritable.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BatchWritable.js","sourceRoot":"","sources":["../../../src/integration-engine/datasources/BatchWritable.ts"],"names":[],"mappings":";;;AAAA,6CAAuC;AAOvC,MAAa,aAAiB,SAAQ,sBAAQ;IAK1C,YAAY,OAAgC;QACxC,KAAK,CAAC;YACF,UAAU,EAAE,IAAI;SACnB,CAAC,CAAC;QAPC,UAAK,GAAQ,EAAE,CAAC;QAQpB,IAAI,CAAC,SAAS,GAAG,OAAO,CAAC,SAAS,CAAC;QACnC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC;IACnC,CAAC;IAEe,MAAM,CAAC,IAAO,EAAE,SAAyB,EAAE,QAAsC;QAC7F,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACtB,IAAI,IAAI,CAAC,KAAK,CAAC,MAAM,GAAG,IAAI,CAAC,SAAS,EAAE,CAAC;YACrC,QAAQ,EAAE,CAAC;YACX,OAAO;QACX,CAAC;QACD,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC;IACzB,CAAC;IAEe,MAAM,CAAC,QAAsC;QACzD,IAAI,IAAI,CAAC,KAAK,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;YAC1B,QAAQ,EAAE,CAAC;YACX,OAAO;QACX,CAAC;QACD,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC;IACzB,CAAC;IAEO,KAAK,CAAC,KAAK,CAAC,QAAsC;QACtD,MAAM,SAAS,GAAG,IAAI,CAAC,KAAK,CAAC;QAC7B,IAAI,CAAC,KAAK,GAAG,EAAE,CAAC;QAChB,IAAI,CAAC;YACD,MAAM,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;YAC9B,QAAQ,EAAE,CAAC;QACf,CAAC;QAAC,OAAO,GAAG,EAAE,CAAC;YACX,QAAQ,CAAC,GAAG,YAAY,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,IAAI,KAAK,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;QAClE,CAAC;IACL,CAAC;CACJ;AAxCD,sCAwCC"}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { IDataSource } from "./IDataSource";
|
|
2
|
-
import { IValidator } from "@golemio/validator";
|
|
3
|
-
import { Transform } from "node:stream";
|
|
4
|
-
import { DataSource } from "./DataSource";
|
|
5
|
-
import { IStreamingProtocolStrategy } from "./protocol-strategy/IStreamingProtocolStrategy";
|
|
6
|
-
export interface DataSourceStreamedPipelineOptions {
|
|
7
|
-
validator?: IValidator | null;
|
|
8
|
-
batchSize?: number;
|
|
9
|
-
timeoutMs?: number;
|
|
10
|
-
}
|
|
11
|
-
export declare class DataSourceStreamedPipeline<T extends object = any> extends DataSource implements IDataSource {
|
|
12
|
-
static readonly DEFAULT_BATCH_SIZE: number;
|
|
13
|
-
static readonly DEFAULT_PIPELINE_TIMEOUT_MS: number;
|
|
14
|
-
private readonly streamTransformer;
|
|
15
|
-
private readonly batchSize;
|
|
16
|
-
private readonly timeoutMs;
|
|
17
|
-
private dataProcessor;
|
|
18
|
-
constructor(name: string, streamingStrategy: IStreamingProtocolStrategy, streamTransformer: Transform, options?: DataSourceStreamedPipelineOptions);
|
|
19
|
-
private get streamingStrategy();
|
|
20
|
-
setDataProcessor(fn: (batch: T[]) => Promise<void>): this;
|
|
21
|
-
proceed(): Promise<void>;
|
|
22
|
-
private createBatchWriter;
|
|
23
|
-
private validateAndProcess;
|
|
24
|
-
}
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.DataSourceStreamedPipeline = void 0;
|
|
4
|
-
const logger_1 = require("../../helpers/logger");
|
|
5
|
-
const errors_1 = require("@golemio/errors");
|
|
6
|
-
const promises_1 = require("node:stream/promises");
|
|
7
|
-
const BatchWritable_1 = require("./BatchWritable");
|
|
8
|
-
const DataSource_1 = require("./DataSource");
|
|
9
|
-
class DataSourceStreamedPipeline extends DataSource_1.DataSource {
|
|
10
|
-
constructor(name, streamingStrategy, streamTransformer, options = {}) {
|
|
11
|
-
super(name, streamingStrategy, null, options.validator ?? null);
|
|
12
|
-
this.dataProcessor = null;
|
|
13
|
-
this.streamTransformer = streamTransformer;
|
|
14
|
-
this.batchSize = options.batchSize ?? DataSourceStreamedPipeline.DEFAULT_BATCH_SIZE;
|
|
15
|
-
this.timeoutMs = options.timeoutMs ?? DataSourceStreamedPipeline.DEFAULT_PIPELINE_TIMEOUT_MS;
|
|
16
|
-
}
|
|
17
|
-
get streamingStrategy() {
|
|
18
|
-
return this.protocolStrategy;
|
|
19
|
-
}
|
|
20
|
-
setDataProcessor(fn) {
|
|
21
|
-
this.dataProcessor = fn;
|
|
22
|
-
return this;
|
|
23
|
-
}
|
|
24
|
-
async proceed() {
|
|
25
|
-
if (!this.dataProcessor) {
|
|
26
|
-
throw new errors_1.GeneralError("No data processor registered. Call setDataProcessor() before proceed().", this.name);
|
|
27
|
-
}
|
|
28
|
-
const bodyStream = await this.streamingStrategy.getBodyStream();
|
|
29
|
-
let totalRecords = 0;
|
|
30
|
-
const batchWriter = this.createBatchWriter((processedCount) => {
|
|
31
|
-
totalRecords += processedCount;
|
|
32
|
-
});
|
|
33
|
-
try {
|
|
34
|
-
await (0, promises_1.pipeline)(bodyStream, this.streamTransformer, batchWriter, {
|
|
35
|
-
signal: AbortSignal.timeout(this.timeoutMs),
|
|
36
|
-
});
|
|
37
|
-
}
|
|
38
|
-
catch (err) {
|
|
39
|
-
bodyStream.destroy();
|
|
40
|
-
if (err instanceof errors_1.GeneralError)
|
|
41
|
-
throw err;
|
|
42
|
-
throw new errors_1.GeneralError("DataSourceStreamedPipeline pipeline failed.", this.name, err);
|
|
43
|
-
}
|
|
44
|
-
this.loggerEmitter.emit(logger_1.LoggerEventType.NumberOfRecords, { name: this.name, numberOfRecords: totalRecords });
|
|
45
|
-
}
|
|
46
|
-
createBatchWriter(onBatchProcessed) {
|
|
47
|
-
const batchSize = this.batchSize;
|
|
48
|
-
return new BatchWritable_1.BatchWritable({
|
|
49
|
-
batchSize,
|
|
50
|
-
onFlush: async (batch) => {
|
|
51
|
-
const processedCount = batch.length;
|
|
52
|
-
await this.validateAndProcess(batch);
|
|
53
|
-
onBatchProcessed(processedCount);
|
|
54
|
-
},
|
|
55
|
-
});
|
|
56
|
-
}
|
|
57
|
-
async validateAndProcess(batch) {
|
|
58
|
-
if (this.validator) {
|
|
59
|
-
try {
|
|
60
|
-
await this.validator.Validate(batch);
|
|
61
|
-
}
|
|
62
|
-
catch (err) {
|
|
63
|
-
throw new errors_1.GeneralError("Error while validating source data.", this.name, err);
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
await this.dataProcessor(batch);
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
exports.DataSourceStreamedPipeline = DataSourceStreamedPipeline;
|
|
70
|
-
DataSourceStreamedPipeline.DEFAULT_BATCH_SIZE = process.env.DATA_BATCH_SIZE ? Number(process.env.DATA_BATCH_SIZE) : 1000;
|
|
71
|
-
DataSourceStreamedPipeline.DEFAULT_PIPELINE_TIMEOUT_MS = 30 * 60 * 1000;
|
|
72
|
-
//# sourceMappingURL=DataSourceStreamedPipeline.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DataSourceStreamedPipeline.js","sourceRoot":"","sources":["../../../src/integration-engine/datasources/DataSourceStreamedPipeline.ts"],"names":[],"mappings":";;;AAAA,iDAAkD;AAElD,4CAA+C;AAG/C,mDAAgD;AAChD,mDAAgD;AAChD,6CAA0C;AAU1C,MAAa,0BAAmD,SAAQ,uBAAU;IAU9E,YACI,IAAY,EACZ,iBAA6C,EAC7C,iBAA4B,EAC5B,UAA6C,EAAE;QAE/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