@golemio/air-quality-stations 1.4.1-dev.2626620985 → 1.4.1-dev.2644092880
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.d.ts +1 -1
- package/dist/index.js +8 -18
- package/dist/index.js.map +1 -1
- package/dist/integration-engine/index.d.ts +1 -1
- package/dist/integration-engine/index.js +1 -1
- package/dist/integration-engine/index.js.map +1 -1
- package/dist/integration-engine/ioc/Di.js +11 -11
- package/dist/integration-engine/ioc/Di.js.map +1 -1
- package/dist/integration-engine/workers/AirQualityStationsWorker.js +2 -2
- package/dist/integration-engine/workers/AirQualityStationsWorker.js.map +1 -1
- package/dist/integration-engine/workers/datasources/Datasource1HData.d.ts +1 -1
- package/dist/integration-engine/workers/datasources/Datasource1HData.js +2 -3
- package/dist/integration-engine/workers/datasources/Datasource1HData.js.map +1 -1
- package/dist/integration-engine/workers/datasources/Datasource3HData.d.ts +1 -1
- package/dist/integration-engine/workers/datasources/Datasource3HData.js +2 -3
- package/dist/integration-engine/workers/datasources/Datasource3HData.js.map +1 -1
- package/dist/integration-engine/workers/repositories/IndexesRepository.js +6 -7
- package/dist/integration-engine/workers/repositories/IndexesRepository.js.map +1 -1
- package/dist/integration-engine/workers/repositories/MeasurementsRepository.js +6 -7
- package/dist/integration-engine/workers/repositories/MeasurementsRepository.js.map +1 -1
- package/dist/integration-engine/workers/repositories/StationsRepository.js +6 -7
- package/dist/integration-engine/workers/repositories/StationsRepository.js.map +1 -1
- package/dist/integration-engine/workers/services/ChmiDataService.d.ts +4 -4
- package/dist/integration-engine/workers/services/ChmiDataService.js +9 -10
- package/dist/integration-engine/workers/services/ChmiDataService.js.map +1 -1
- package/dist/integration-engine/workers/tasks/Refresh1HDataInDBTask.d.ts +3 -3
- package/dist/integration-engine/workers/tasks/Refresh1HDataInDBTask.js +6 -7
- package/dist/integration-engine/workers/tasks/Refresh1HDataInDBTask.js.map +1 -1
- package/dist/integration-engine/workers/tasks/Refresh3HDataInDBTask.d.ts +4 -4
- package/dist/integration-engine/workers/tasks/Refresh3HDataInDBTask.js +7 -8
- package/dist/integration-engine/workers/tasks/Refresh3HDataInDBTask.js.map +1 -1
- package/dist/integration-engine/workers/tasks/UpdateDistrictTask.d.ts +2 -2
- package/dist/integration-engine/workers/tasks/UpdateDistrictTask.js +5 -6
- package/dist/integration-engine/workers/tasks/UpdateDistrictTask.js.map +1 -1
- package/dist/integration-engine/workers/transformations/AirQualityStationsTransformation.d.ts +4 -4
- package/dist/integration-engine/workers/transformations/AirQualityStationsTransformation.js +6 -0
- package/dist/integration-engine/workers/transformations/AirQualityStationsTransformation.js.map +1 -1
- package/dist/output-gateway/AirQualityHistoryRouter.d.ts +1 -1
- package/dist/output-gateway/AirQualityHistoryRouter.js +3 -3
- package/dist/output-gateway/AirQualityHistoryRouter.js.map +1 -1
- package/dist/output-gateway/AirQualityRouter.d.ts +1 -0
- package/dist/output-gateway/AirQualityRouter.js +5 -5
- package/dist/output-gateway/AirQualityRouter.js.map +1 -1
- package/dist/output-gateway/ioc/Di.js +7 -7
- package/dist/output-gateway/ioc/Di.js.map +1 -1
- package/dist/output-gateway/repositories/AirQualityComponentTypesRepository.d.ts +1 -1
- package/dist/output-gateway/repositories/AirQualityComponentTypesRepository.js +3 -4
- package/dist/output-gateway/repositories/AirQualityComponentTypesRepository.js.map +1 -1
- package/dist/output-gateway/repositories/AirQualityHistoryRepository.js +4 -5
- package/dist/output-gateway/repositories/AirQualityHistoryRepository.js.map +1 -1
- package/dist/output-gateway/repositories/AirQualityIndexTypesRepository.d.ts +1 -1
- package/dist/output-gateway/repositories/AirQualityIndexTypesRepository.js +3 -4
- package/dist/output-gateway/repositories/AirQualityIndexTypesRepository.js.map +1 -1
- package/dist/output-gateway/repositories/AirQualityIndexesRepository.d.ts +2 -2
- package/dist/output-gateway/repositories/AirQualityIndexesRepository.js +5 -5
- package/dist/output-gateway/repositories/AirQualityIndexesRepository.js.map +1 -1
- package/dist/output-gateway/repositories/AirQualityMeasurementsRepository.js +3 -4
- package/dist/output-gateway/repositories/AirQualityMeasurementsRepository.js.map +1 -1
- package/dist/output-gateway/repositories/AirQualityStationsRepository.js +3 -4
- package/dist/output-gateway/repositories/AirQualityStationsRepository.js.map +1 -1
- package/dist/output-gateway/repositories/helpers/HistoryRepositoryHelper.d.ts +1 -1
- package/dist/output-gateway/repositories/helpers/HistoryRepositoryHelper.js +4 -0
- package/dist/output-gateway/repositories/helpers/HistoryRepositoryHelper.js.map +1 -1
- package/dist/output-gateway/repositories/helpers/OutputDtoMapper.d.ts +1 -1
- package/dist/output-gateway/repositories/helpers/OutputDtoMapper.js +5 -0
- package/dist/output-gateway/repositories/helpers/OutputDtoMapper.js.map +1 -1
- package/dist/output-gateway/repositories/helpers/RawQueryProvider.js +1 -1
- package/dist/output-gateway/repositories/helpers/RawQueryProvider.js.map +1 -1
- package/dist/schema-definitions/datasources/chmiDatasourceJsonSchema.d.ts +1 -1
- package/dist/schema-definitions/models/AirQualityIndexModel.js +7 -17
- package/dist/schema-definitions/models/AirQualityIndexModel.js.map +1 -1
- package/dist/schema-definitions/models/AirQualityMeasurementModel.js +7 -17
- package/dist/schema-definitions/models/AirQualityMeasurementModel.js.map +1 -1
- package/dist/schema-definitions/models/AirQualityStationModel.js +7 -17
- package/dist/schema-definitions/models/AirQualityStationModel.js.map +1 -1
- package/package.json +11 -34
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AirQualityHistoryRepository } from "
|
|
1
|
+
import { AirQualityHistoryRepository } from "./repositories/AirQualityHistoryRepository";
|
|
2
2
|
import { CacheHeaderMiddleware } from "@golemio/core/dist/output-gateway";
|
|
3
3
|
import { BaseRouter } from "@golemio/core/dist/output-gateway/routes/BaseRouter";
|
|
4
4
|
import { NextFunction, Request, Response } from "@golemio/core/dist/shared/express";
|
|
@@ -12,9 +12,9 @@ var __param = (this && this.__param) || function (paramIndex, decorator) {
|
|
|
12
12
|
return function (target, key) { decorator(target, key, paramIndex); }
|
|
13
13
|
};
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
-
const Di_1 = require("
|
|
16
|
-
const ModuleContainerToken_1 = require("
|
|
17
|
-
const AirQualityHistoryRepository_1 = require("
|
|
15
|
+
const Di_1 = require("./ioc/Di");
|
|
16
|
+
const ModuleContainerToken_1 = require("./ioc/ModuleContainerToken");
|
|
17
|
+
const AirQualityHistoryRepository_1 = require("./repositories/AirQualityHistoryRepository");
|
|
18
18
|
const helpers_1 = require("@golemio/core/dist/helpers");
|
|
19
19
|
const output_gateway_1 = require("@golemio/core/dist/output-gateway");
|
|
20
20
|
const ioc_1 = require("@golemio/core/dist/output-gateway/ioc");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AirQualityHistoryRouter.js","sourceRoot":"","sources":["../../src/output-gateway/AirQualityHistoryRouter.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"AirQualityHistoryRouter.js","sourceRoot":"","sources":["../../src/output-gateway/AirQualityHistoryRouter.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,iCAA+C;AAC/C,qEAAsE;AACtE,4FAA2F;AAC3F,wDAAsD;AACtD,sEAAkH;AAClH,+DAAuE;AACvE,oFAAiF;AAEjF,mFAAkG;AAClG,iEAA4D;AAE5D,IAAqB,uBAAuB,GAA5C,MAAqB,uBAAwB,SAAQ,uBAAU;IAG3D,YACgE,iBAAsD;QAElH,KAAK,EAAE,CAAC;QAF4D,sBAAiB,GAAjB,iBAAiB,CAA6B;QAM/G,eAAU,GAAG,KAAK,IAAI,EAAE;YAC3B,MAAM,aAAa,GAAG,MAAM,IAAI,CAAC,8BAA8B,EAAE,CAAC;YAClE,IAAI,CAAC,MAAM,CAAC,GAAG,CACX,GAAG,EACH;gBACI,IAAA,yBAAK,EAAC,MAAM,CAAC,CAAC,QAAQ,EAAE,CAAC,SAAS,EAAE,CAAC,GAAG,EAAE,CAAC,OAAO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GAAG,CAAC,CAAC;aACb;QACL,CAAC,CAAC;QAEQ,mCAA8B,GAAG,KAAK,IAA8B,EAAE;YAC5E,OAAO,IAAA,yBAAK,EAAC,UAAU,CAAC,CAAC,QAAQ,EAAE,CAAC,GAAG,EAAE,CAAC,OAAO,CAAC,EAAE,iBAAiB,EAAE,IAAI,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,OAAO,EAAE,CAAC;QACnG,CAAC,CAAC;QAtCE,IAAI,CAAC,qBAAqB,GAAG,sBAAiB,CAAC,OAAO,CAAwB,oBAAc,CAAC,qBAAqB,CAAC,CAAC;IACxH,CAAC;CAsCJ,CAAA;AA9CoB,uBAAuB;IAInC,WAAA,IAAA,iBAAM,EAAC,6CAAsB,CAAC,2BAA2B,CAAC,CAAA;qCAA4B,yDAA2B;GAJrG,uBAAuB,CA8C3C;kBA9CoB,uBAAuB"}
|
|
@@ -4,14 +4,14 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.airQualityRouter = void 0;
|
|
7
|
-
const Di_1 = require("
|
|
8
|
-
const ModuleContainerToken_1 = require("
|
|
7
|
+
const Di_1 = require("./ioc/Di");
|
|
8
|
+
const ModuleContainerToken_1 = require("./ioc/ModuleContainerToken");
|
|
9
9
|
const output_gateway_1 = require("@golemio/core/dist/output-gateway");
|
|
10
10
|
const express_1 = require("@golemio/core/dist/shared/express");
|
|
11
11
|
const AirQualityHistoryRouter_1 = __importDefault(require("./AirQualityHistoryRouter"));
|
|
12
|
-
const AirQualityComponentTypesRepository_1 = require("
|
|
13
|
-
const AirQualityIndexesRepository_1 = require("
|
|
14
|
-
const AirQualityIndexTypesRepository_1 = require("
|
|
12
|
+
const AirQualityComponentTypesRepository_1 = require("./repositories/AirQualityComponentTypesRepository");
|
|
13
|
+
const AirQualityIndexesRepository_1 = require("./repositories/AirQualityIndexesRepository");
|
|
14
|
+
const AirQualityIndexTypesRepository_1 = require("./repositories/AirQualityIndexTypesRepository");
|
|
15
15
|
const CACHE_MAX_AGE = 20 * 60;
|
|
16
16
|
const CACHE_STALE_WHILE_REVALIDATE = 5 * 60;
|
|
17
17
|
class AirQualityRouter extends output_gateway_1.GeoJsonRouter {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AirQualityRouter.js","sourceRoot":"","sources":["../../src/output-gateway/AirQualityRouter.ts"],"names":[],"mappings":";;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"AirQualityRouter.js","sourceRoot":"","sources":["../../src/output-gateway/AirQualityRouter.ts"],"names":[],"mappings":";;;;;;AAAA,iCAA+C;AAC/C,qEAAsE;AACtE,sEAAkE;AAClE,+DAA4F;AAC5F,wFAAgE;AAChE,0GAAyG;AACzG,4FAA2F;AAC3F,kGAAiG;AAEjG,MAAM,aAAa,GAAG,EAAE,GAAG,EAAE,CAAC;AAC9B,MAAM,4BAA4B,GAAG,CAAC,GAAG,EAAE,CAAC;AAE5C,MAAqB,gBAAiB,SAAQ,8BAAa;IAKvD;QACI,KAAK,CAAC,IAAI,yDAA2B,EAAE,CAAC,CAAC;QALtC,WAAM,GAAW,IAAA,gBAAM,GAAE,CAAC;QA4B1B,kBAAa,GAAG,KAAK,EAAE,GAAY,EAAE,GAAa,EAAE,IAAkB,EAAE,EAAE;YAC7E,IAAI;gBACA,MAAM,IAAI,GAAG,MAAM,IAAI,CAAC,oBAAoB,CAAC,MAAM,EAAE,CAAC;gBACtD,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aAC9B;YAAC,OAAO,GAAG,EAAE;gBACV,IAAI,CAAC,GAAG,CAAC,CAAC;aACb;QACL,CAAC,CAAC;QAEK,sBAAiB,GAAG,KAAK,EAAE,GAAY,EAAE,GAAa,EAAE,IAAS,EAAE,EAAE;YACxE,IAAI;gBACA,MAAM,IAAI,GAAG,MAAM,IAAI,CAAC,wBAAwB,CAAC,MAAM,EAAE,CAAC;gBAC1D,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aAC9B;YAAC,OAAO,GAAG,EAAE;gBACV,IAAI,CAAC,GAAG,CAAC,CAAC;aACb;QACL,CAAC,CAAC;QAtCE,IAAI,CAAC,UAAU,CAAC,EAAE,MAAM,EAAE,aAAa,EAAE,oBAAoB,EAAE,4BAA4B,EAAE,CAAC,CAAC;QAC/F,IAAI,CAAC,MAAM,CAAC,GAAG,CACX,aAAa,EACb,IAAI,CAAC,qBAAqB,CAAC,aAAa,CAAC,aAAa,EAAE,4BAA4B,CAAC,EACrF,IAAI,CAAC,aAAa,CACrB,CAAC;QACF,IAAI,CAAC,MAAM,CAAC,GAAG,CACX,iBAAiB,EACjB,IAAI,CAAC,qBAAqB,CAAC,aAAa,CAAC,aAAa,EAAE,4BAA4B,CAAC,EACrF,IAAI,CAAC,iBAAiB,CACzB,CAAC;QAEF,IAAI,CAAC,wBAAwB,GAAG,IAAI,uEAAkC,EAAE,CAAC;QACzE,IAAI,CAAC,oBAAoB,GAAG,IAAI,+DAA8B,EAAE,CAAC;QAEjE,MAAM,aAAa,GAAG,IAAI,iCAAuB,CAC7C,sBAAiB,CAAC,OAAO,CAAC,6CAAsB,CAAC,2BAA2B,CAAC,CAChF,CAAC;QACF,aAAa,CAAC,UAAU,EAAE,CAAC;QAC3B,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,UAAU,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC;IACtD,CAAC;CAmBJ;AA9CD,mCA8CC;AAED,MAAM,gBAAgB,GAAW,IAAI,gBAAgB,EAAE,CAAC,MAAM,CAAC;AAEtD,4CAAgB"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.OGModuleContainer = void 0;
|
|
4
|
-
const ModuleContainerToken_1 = require("
|
|
5
|
-
const AirQualityComponentTypesRepository_1 = require("
|
|
6
|
-
const AirQualityHistoryRepository_1 = require("
|
|
7
|
-
const AirQualityIndexesRepository_1 = require("
|
|
8
|
-
const AirQualityIndexTypesRepository_1 = require("
|
|
9
|
-
const AirQualityMeasurementsRepository_1 = require("
|
|
10
|
-
const AirQualityStationsRepository_1 = require("
|
|
4
|
+
const ModuleContainerToken_1 = require("./ModuleContainerToken");
|
|
5
|
+
const AirQualityComponentTypesRepository_1 = require("../repositories/AirQualityComponentTypesRepository");
|
|
6
|
+
const AirQualityHistoryRepository_1 = require("../repositories/AirQualityHistoryRepository");
|
|
7
|
+
const AirQualityIndexesRepository_1 = require("../repositories/AirQualityIndexesRepository");
|
|
8
|
+
const AirQualityIndexTypesRepository_1 = require("../repositories/AirQualityIndexTypesRepository");
|
|
9
|
+
const AirQualityMeasurementsRepository_1 = require("../repositories/AirQualityMeasurementsRepository");
|
|
10
|
+
const AirQualityStationsRepository_1 = require("../repositories/AirQualityStationsRepository");
|
|
11
11
|
const Di_1 = require("@golemio/core/dist/output-gateway/ioc/Di");
|
|
12
12
|
//#region Initialization
|
|
13
13
|
const OGModuleContainer = Di_1.OutputGatewayContainer.createChildContainer();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Di.js","sourceRoot":"","sources":["../../../src/output-gateway/ioc/Di.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"Di.js","sourceRoot":"","sources":["../../../src/output-gateway/ioc/Di.ts"],"names":[],"mappings":";;;AAAA,iEAAsE;AACtE,2GAAyG;AACzG,6FAA2F;AAC3F,6FAA2F;AAC3F,mGAAiG;AACjG,uGAAqG;AACrG,+FAA6F;AAC7F,iEAAkF;AAGlF,wBAAwB;AACxB,MAAM,iBAAiB,GAAwB,2BAAsB,CAAC,oBAAoB,EAAE,CAAC;AAYpF,8CAAiB;AAX1B,YAAY;AAEZ,sBAAsB;AACtB,iBAAiB,CAAC,iBAAiB,CAAC,6CAAsB,CAAC,kCAAkC,EAAE,uEAAkC,CAAC;KAC7H,iBAAiB,CAAC,6CAAsB,CAAC,2BAA2B,EAAE,yDAA2B,CAAC;KAClG,iBAAiB,CAAC,6CAAsB,CAAC,2BAA2B,EAAE,yDAA2B,CAAC;KAClG,iBAAiB,CAAC,6CAAsB,CAAC,8BAA8B,EAAE,+DAA8B,CAAC;KACxG,iBAAiB,CAAC,6CAAsB,CAAC,gCAAgC,EAAE,mEAAgC,CAAC;KAC5G,iBAAiB,CAAC,6CAAsB,CAAC,4BAA4B,EAAE,2DAA4B,CAAC,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AirQualityComponentType } from "
|
|
1
|
+
import { AirQualityComponentType } from "../../schema-definitions/models/AirQualityComponentType";
|
|
2
2
|
import { SequelizeModel } from "@golemio/core/dist/output-gateway";
|
|
3
3
|
export declare class AirQualityComponentTypesRepository extends SequelizeModel {
|
|
4
4
|
constructor();
|
|
@@ -10,11 +10,11 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.AirQualityComponentTypesRepository = void 0;
|
|
13
|
-
const constants_1 = require("
|
|
14
|
-
const AirQualityComponentType_1 = require("
|
|
13
|
+
const constants_1 = require("../../schema-definitions/constants");
|
|
14
|
+
const AirQualityComponentType_1 = require("../../schema-definitions/models/AirQualityComponentType");
|
|
15
15
|
const output_gateway_1 = require("@golemio/core/dist/output-gateway");
|
|
16
16
|
const tsyringe_1 = require("@golemio/core/dist/shared/tsyringe");
|
|
17
|
-
let AirQualityComponentTypesRepository = class AirQualityComponentTypesRepository extends output_gateway_1.SequelizeModel {
|
|
17
|
+
let AirQualityComponentTypesRepository = exports.AirQualityComponentTypesRepository = class AirQualityComponentTypesRepository extends output_gateway_1.SequelizeModel {
|
|
18
18
|
constructor() {
|
|
19
19
|
super("AirQualityComponentTypesRepository", "airqualitystations_component_types", AirQualityComponentType_1.AirQualityComponentType.attributeModel, {
|
|
20
20
|
schema: constants_1.PG_SCHEMA,
|
|
@@ -27,7 +27,6 @@ let AirQualityComponentTypesRepository = class AirQualityComponentTypesRepositor
|
|
|
27
27
|
throw new Error("Method not implemented.");
|
|
28
28
|
}
|
|
29
29
|
};
|
|
30
|
-
exports.AirQualityComponentTypesRepository = AirQualityComponentTypesRepository;
|
|
31
30
|
exports.AirQualityComponentTypesRepository = AirQualityComponentTypesRepository = __decorate([
|
|
32
31
|
(0, tsyringe_1.injectable)(),
|
|
33
32
|
__metadata("design:paramtypes", [])
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AirQualityComponentTypesRepository.js","sourceRoot":"","sources":["../../../src/output-gateway/repositories/AirQualityComponentTypesRepository.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"AirQualityComponentTypesRepository.js","sourceRoot":"","sources":["../../../src/output-gateway/repositories/AirQualityComponentTypesRepository.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kEAA2C;AAC3C,qGAA8E;AAC9E,sEAAmE;AACnE,iEAAgE;AAGzD,IAAM,kCAAkC,gDAAxC,MAAM,kCAAmC,SAAQ,+BAAc;IAClE;QACI,KAAK,CACD,oCAAoC,EACpC,oCAAoC,EACpC,iDAAuB,CAAC,cAAc,EACtC;YACI,MAAM,EAAE,qBAAS;SACpB,CACJ,CAAC;QAGC,WAAM,GAAG,GAAuC,EAAE;YACrD,OAAO,IAAI,CAAC,cAAc,CAAC,OAAO,EAA2B,CAAC;QAClE,CAAC,CAAC;IAJF,CAAC;IAMD,MAAM;QACF,MAAM,IAAI,KAAK,CAAC,yBAAyB,CAAC,CAAC;IAC/C,CAAC;CACJ,CAAA;6CAnBY,kCAAkC;IAD9C,IAAA,qBAAU,GAAE;;GACA,kCAAkC,CAmB9C"}
|
|
@@ -13,8 +13,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
13
13
|
};
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
15
|
exports.AirQualityHistoryRepository = void 0;
|
|
16
|
-
const constants_1 = require("
|
|
17
|
-
const AirQualityIndexModel_1 = require("
|
|
16
|
+
const constants_1 = require("../../schema-definitions/constants");
|
|
17
|
+
const AirQualityIndexModel_1 = require("../../schema-definitions/models/AirQualityIndexModel");
|
|
18
18
|
const output_gateway_1 = require("@golemio/core/dist/output-gateway");
|
|
19
19
|
const sequelize_1 = __importDefault(require("@golemio/core/dist/shared/sequelize"));
|
|
20
20
|
const tsyringe_1 = require("@golemio/core/dist/shared/tsyringe");
|
|
@@ -23,7 +23,7 @@ const AirQualityStationsRepository_1 = require("./AirQualityStationsRepository")
|
|
|
23
23
|
const HistoryRepositoryHelper_1 = __importDefault(require("./helpers/HistoryRepositoryHelper"));
|
|
24
24
|
const OutputDtoMapper_1 = __importDefault(require("./helpers/OutputDtoMapper"));
|
|
25
25
|
const ParamHelper_1 = require("./helpers/ParamHelper");
|
|
26
|
-
let AirQualityHistoryRepository = class AirQualityHistoryRepository extends output_gateway_1.SequelizeModel {
|
|
26
|
+
let AirQualityHistoryRepository = exports.AirQualityHistoryRepository = class AirQualityHistoryRepository extends output_gateway_1.SequelizeModel {
|
|
27
27
|
constructor() {
|
|
28
28
|
super("AirQualityHistoryRepository", AirQualityIndexModel_1.AirQualityIndexModel.tableName, AirQualityIndexModel_1.AirQualityIndexModel.attributeModel, {
|
|
29
29
|
schema: constants_1.PG_SCHEMA,
|
|
@@ -43,7 +43,7 @@ let AirQualityHistoryRepository = class AirQualityHistoryRepository extends outp
|
|
|
43
43
|
required: true,
|
|
44
44
|
where: {
|
|
45
45
|
[sequelize_1.default.Op.and]: [
|
|
46
|
-
{ region_code: "A" },
|
|
46
|
+
{ region_code: "A" },
|
|
47
47
|
...HistoryRepositoryHelper_1.default.filterByStationId(options),
|
|
48
48
|
],
|
|
49
49
|
},
|
|
@@ -85,7 +85,6 @@ let AirQualityHistoryRepository = class AirQualityHistoryRepository extends outp
|
|
|
85
85
|
throw new Error("Method not implemented.");
|
|
86
86
|
}
|
|
87
87
|
};
|
|
88
|
-
exports.AirQualityHistoryRepository = AirQualityHistoryRepository;
|
|
89
88
|
exports.AirQualityHistoryRepository = AirQualityHistoryRepository = __decorate([
|
|
90
89
|
(0, tsyringe_1.injectable)(),
|
|
91
90
|
__metadata("design:paramtypes", [])
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AirQualityHistoryRepository.js","sourceRoot":"","sources":["../../../src/output-gateway/repositories/AirQualityHistoryRepository.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"AirQualityHistoryRepository.js","sourceRoot":"","sources":["../../../src/output-gateway/repositories/AirQualityHistoryRepository.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,kEAA2C;AAC3C,+FAAwE;AACxE,sEAAmE;AAEnE,oFAA4D;AAC5D,iEAAgE;AAEhE,yFAAsF;AACtF,iFAA8E;AAC9E,gGAAwE;AACxE,gFAAwD;AACxD,uDAAoD;AAG7C,IAAM,2BAA2B,yCAAjC,MAAM,2BAA4B,SAAQ,+BAAc;IAI3D;QACI,KAAK,CAAC,6BAA6B,EAAE,2CAAoB,CAAC,SAAS,EAAE,2CAAoB,CAAC,cAAc,EAAE;YACtG,MAAM,EAAE,qBAAS;SACpB,CAAC,CAAC;QAkBA,WAAM,GAAG,KAAK,EAAE,OAAkC,EAAgB,EAAE;YACvE,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,cAAc,CAAC,OAAO,CAAuB;gBACnE,UAAU,EAAE;oBACR,OAAO,EAAE,CAAC,YAAY,CAAC;iBAC1B;gBACD,OAAO,EAAE;oBACL;wBACI,KAAK,EAAE,IAAI,CAAC,YAAY,CAAC,cAAc;wBACvC,UAAU,EAAE;4BACR,OAAO,EAAE,CAAC,YAAY,CAAC;yBAC1B;wBACD,EAAE,EAAE,SAAS;wBAC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,CAAC,CAAC;QAEH,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,IAAI,CAAC,iBAAiB,CAAC,cAAc,EAAE;YAC/D,SAAS,EAAE,YAAY;YACvB,UAAU,EAAE,YAAY;YACxB,EAAE,EAAE,cAAc;SACrB,CAAC,CAAC;IACP,CAAC;IA8CM,MAAM;QACT,MAAM,IAAI,KAAK,CAAC,yBAAyB,CAAC,CAAC;IAC/C,CAAC;CACJ,CAAA;sCAxEY,2BAA2B;IADvC,IAAA,qBAAU,GAAE;;GACA,2BAA2B,CAwEvC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AirQualityComponentType } from "
|
|
1
|
+
import { AirQualityComponentType } from "../../schema-definitions/models/AirQualityComponentType";
|
|
2
2
|
import { SequelizeModel } from "@golemio/core/dist/output-gateway";
|
|
3
3
|
export declare class AirQualityIndexTypesRepository extends SequelizeModel {
|
|
4
4
|
constructor();
|
|
@@ -10,11 +10,11 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.AirQualityIndexTypesRepository = void 0;
|
|
13
|
-
const constants_1 = require("
|
|
14
|
-
const AirQualityIndexType_1 = require("
|
|
13
|
+
const constants_1 = require("../../schema-definitions/constants");
|
|
14
|
+
const AirQualityIndexType_1 = require("../../schema-definitions/models/AirQualityIndexType");
|
|
15
15
|
const output_gateway_1 = require("@golemio/core/dist/output-gateway");
|
|
16
16
|
const tsyringe_1 = require("@golemio/core/dist/shared/tsyringe");
|
|
17
|
-
let AirQualityIndexTypesRepository = class AirQualityIndexTypesRepository extends output_gateway_1.SequelizeModel {
|
|
17
|
+
let AirQualityIndexTypesRepository = exports.AirQualityIndexTypesRepository = class AirQualityIndexTypesRepository extends output_gateway_1.SequelizeModel {
|
|
18
18
|
constructor() {
|
|
19
19
|
super("AirQualityIndexTypesRepository", "airqualitystations_index_types", AirQualityIndexType_1.AirQualityIndexType.attributeModel, {
|
|
20
20
|
schema: constants_1.PG_SCHEMA,
|
|
@@ -27,7 +27,6 @@ let AirQualityIndexTypesRepository = class AirQualityIndexTypesRepository extend
|
|
|
27
27
|
throw new Error("Method not implemented.");
|
|
28
28
|
}
|
|
29
29
|
};
|
|
30
|
-
exports.AirQualityIndexTypesRepository = AirQualityIndexTypesRepository;
|
|
31
30
|
exports.AirQualityIndexTypesRepository = AirQualityIndexTypesRepository = __decorate([
|
|
32
31
|
(0, tsyringe_1.injectable)(),
|
|
33
32
|
__metadata("design:paramtypes", [])
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AirQualityIndexTypesRepository.js","sourceRoot":"","sources":["../../../src/output-gateway/repositories/AirQualityIndexTypesRepository.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"AirQualityIndexTypesRepository.js","sourceRoot":"","sources":["../../../src/output-gateway/repositories/AirQualityIndexTypesRepository.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kEAA2C;AAE3C,6FAAsE;AACtE,sEAAmE;AACnE,iEAAgE;AAGzD,IAAM,8BAA8B,4CAApC,MAAM,8BAA+B,SAAQ,+BAAc;IAC9D;QACI,KAAK,CAAC,gCAAgC,EAAE,gCAAgC,EAAE,yCAAmB,CAAC,cAAc,EAAE;YAC1G,MAAM,EAAE,qBAAS;SACpB,CAAC,CAAC;QAGA,WAAM,GAAG,GAAuC,EAAE;YACrD,OAAO,IAAI,CAAC,cAAc,CAAC,OAAO,EAA2B,CAAC;QAClE,CAAC,CAAC;IAJF,CAAC;IAMD,MAAM;QACF,MAAM,IAAI,KAAK,CAAC,yBAAyB,CAAC,CAAC;IAC/C,CAAC;CACJ,CAAA;yCAdY,8BAA8B;IAD1C,IAAA,qBAAU,GAAE;;GACA,8BAA8B,CAc1C"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AirQualityIndexModel } from "
|
|
2
|
-
import IAirQualityIndex from "
|
|
1
|
+
import { AirQualityIndexModel } from "../../schema-definitions/models/AirQualityIndexModel";
|
|
2
|
+
import IAirQualityIndex from "../../schema-definitions/models/interfaces/IAirQualityIndex";
|
|
3
3
|
import { IGeoJsonAllFilterParameters, SequelizeModel } from "@golemio/core/dist/output-gateway";
|
|
4
4
|
import { IGeoJsonModel } from "@golemio/core/dist/output-gateway/models/interfaces/IGeoJsonModel";
|
|
5
5
|
export declare class AirQualityIndexesRepository extends SequelizeModel implements IGeoJsonModel {
|
|
@@ -13,15 +13,16 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
13
13
|
};
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
15
|
exports.AirQualityIndexesRepository = void 0;
|
|
16
|
-
const RawQueryProvider_1 = require("
|
|
17
|
-
const constants_1 = require("
|
|
18
|
-
const AirQualityIndexModel_1 = require("
|
|
16
|
+
const RawQueryProvider_1 = require("./helpers/RawQueryProvider");
|
|
17
|
+
const constants_1 = require("../../schema-definitions/constants");
|
|
18
|
+
const AirQualityIndexModel_1 = require("../../schema-definitions/models/AirQualityIndexModel");
|
|
19
|
+
const IAirQualityIndex_1 = __importDefault(require("../../schema-definitions/models/interfaces/IAirQualityIndex"));
|
|
19
20
|
const output_gateway_1 = require("@golemio/core/dist/output-gateway");
|
|
20
21
|
const sequelize_1 = require("@golemio/core/dist/shared/sequelize");
|
|
21
22
|
const tsyringe_1 = require("@golemio/core/dist/shared/tsyringe");
|
|
22
23
|
const OutputDtoMapper_1 = __importDefault(require("./helpers/OutputDtoMapper"));
|
|
23
24
|
const ParamHelper_1 = require("./helpers/ParamHelper");
|
|
24
|
-
let AirQualityIndexesRepository = class AirQualityIndexesRepository extends output_gateway_1.SequelizeModel {
|
|
25
|
+
let AirQualityIndexesRepository = exports.AirQualityIndexesRepository = class AirQualityIndexesRepository extends output_gateway_1.SequelizeModel {
|
|
25
26
|
constructor() {
|
|
26
27
|
super("AirQualityIndexesRepository", AirQualityIndexModel_1.AirQualityIndexModel.tableName, AirQualityIndexModel_1.AirQualityIndexModel.attributeModel, {
|
|
27
28
|
schema: constants_1.PG_SCHEMA,
|
|
@@ -66,7 +67,6 @@ let AirQualityIndexesRepository = class AirQualityIndexesRepository extends outp
|
|
|
66
67
|
return { station_id: arg0 };
|
|
67
68
|
}
|
|
68
69
|
};
|
|
69
|
-
exports.AirQualityIndexesRepository = AirQualityIndexesRepository;
|
|
70
70
|
exports.AirQualityIndexesRepository = AirQualityIndexesRepository = __decorate([
|
|
71
71
|
(0, tsyringe_1.injectable)(),
|
|
72
72
|
__metadata("design:paramtypes", [])
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AirQualityIndexesRepository.js","sourceRoot":"","sources":["../../../src/output-gateway/repositories/AirQualityIndexesRepository.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"AirQualityIndexesRepository.js","sourceRoot":"","sources":["../../../src/output-gateway/repositories/AirQualityIndexesRepository.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,iEAA8E;AAC9E,kEAA2C;AAC3C,+FAAwE;AACxE,mHAAuE;AACvE,sEAK2C;AAE3C,mEAAiE;AACjE,iEAAgE;AAChE,gFAAwD;AACxD,uDAAoD;AAG7C,IAAM,2BAA2B,yCAAjC,MAAM,2BAA4B,SAAQ,+BAAc;IAC3D;QACI,KAAK,CAAC,6BAA6B,EAAE,2CAAoB,CAAC,SAAS,EAAE,2CAAoB,CAAC,cAAc,EAAE;YACtG,MAAM,EAAE,qBAAS;SACpB,CAAC,CAAC;QAGA,WAAM,GAAG,KAAK,EAAE,OAAqC,EAAgB,EAAE;YAC1E,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,cAAc,CAAC,SAAS,EAAE,KAAK,CAAuB,IAAA,oCAAiB,EAAC,OAAO,CAAC,EAAE;gBACxG,IAAI,EAAE,sBAAU,CAAC,MAAM;gBACvB,IAAI,EAAE,IAAI;gBACV,GA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,CAAC,CAAC;IAClC,CAAC;IAED,0BAA0B,CAAC,IAAY;QACnC,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,CAAC;IAChC,CAAC;CAaJ,CAAA;sCAtDY,2BAA2B;IADvC,IAAA,qBAAU,GAAE;;GACA,2BAA2B,CAsDvC"}
|
|
@@ -10,11 +10,11 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.AirQualityMeasurementsRepository = void 0;
|
|
13
|
-
const constants_1 = require("
|
|
14
|
-
const AirQualityMeasurementModel_1 = require("
|
|
13
|
+
const constants_1 = require("../../schema-definitions/constants");
|
|
14
|
+
const AirQualityMeasurementModel_1 = require("../../schema-definitions/models/AirQualityMeasurementModel");
|
|
15
15
|
const output_gateway_1 = require("@golemio/core/dist/output-gateway");
|
|
16
16
|
const tsyringe_1 = require("@golemio/core/dist/shared/tsyringe");
|
|
17
|
-
let AirQualityMeasurementsRepository = class AirQualityMeasurementsRepository extends output_gateway_1.SequelizeModel {
|
|
17
|
+
let AirQualityMeasurementsRepository = exports.AirQualityMeasurementsRepository = class AirQualityMeasurementsRepository extends output_gateway_1.SequelizeModel {
|
|
18
18
|
constructor() {
|
|
19
19
|
super("AirQualityMeasurementsRepository", AirQualityMeasurementModel_1.AirQualityMeasurementModel.tableName, AirQualityMeasurementModel_1.AirQualityMeasurementModel.attributeModel, {
|
|
20
20
|
schema: constants_1.PG_SCHEMA,
|
|
@@ -27,7 +27,6 @@ let AirQualityMeasurementsRepository = class AirQualityMeasurementsRepository ex
|
|
|
27
27
|
throw new Error("Method not implemented.");
|
|
28
28
|
}
|
|
29
29
|
};
|
|
30
|
-
exports.AirQualityMeasurementsRepository = AirQualityMeasurementsRepository;
|
|
31
30
|
exports.AirQualityMeasurementsRepository = AirQualityMeasurementsRepository = __decorate([
|
|
32
31
|
(0, tsyringe_1.injectable)(),
|
|
33
32
|
__metadata("design:paramtypes", [])
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AirQualityMeasurementsRepository.js","sourceRoot":"","sources":["../../../src/output-gateway/repositories/AirQualityMeasurementsRepository.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"AirQualityMeasurementsRepository.js","sourceRoot":"","sources":["../../../src/output-gateway/repositories/AirQualityMeasurementsRepository.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kEAA2C;AAC3C,2GAAoF;AACpF,sEAAmE;AACnE,iEAAgE;AAGzD,IAAM,gCAAgC,8CAAtC,MAAM,gCAAiC,SAAQ,+BAAc;IAChE;QACI,KAAK,CACD,kCAAkC,EAClC,uDAA0B,CAAC,SAAS,EACpC,uDAA0B,CAAC,cAAc,EACzC;YACI,MAAM,EAAE,qBAAS;SACpB,CACJ,CAAC;IACN,CAAC;IAED,MAAM;QACF,MAAM,IAAI,KAAK,CAAC,yBAAyB,CAAC,CAAC;IAC/C,CAAC;IAED,MAAM;QACF,MAAM,IAAI,KAAK,CAAC,yBAAyB,CAAC,CAAC;IAC/C,CAAC;CACJ,CAAA;2CAnBY,gCAAgC;IAD5C,IAAA,qBAAU,GAAE;;GACA,gCAAgC,CAmB5C"}
|
|
@@ -10,11 +10,11 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.AirQualityStationsRepository = void 0;
|
|
13
|
-
const constants_1 = require("
|
|
14
|
-
const AirQualityStationModel_1 = require("
|
|
13
|
+
const constants_1 = require("../../schema-definitions/constants");
|
|
14
|
+
const AirQualityStationModel_1 = require("../../schema-definitions/models/AirQualityStationModel");
|
|
15
15
|
const output_gateway_1 = require("@golemio/core/dist/output-gateway");
|
|
16
16
|
const tsyringe_1 = require("@golemio/core/dist/shared/tsyringe");
|
|
17
|
-
let AirQualityStationsRepository = class AirQualityStationsRepository extends output_gateway_1.SequelizeModel {
|
|
17
|
+
let AirQualityStationsRepository = exports.AirQualityStationsRepository = class AirQualityStationsRepository extends output_gateway_1.SequelizeModel {
|
|
18
18
|
constructor() {
|
|
19
19
|
super("AirQualityStationsRepository", AirQualityStationModel_1.AirQualityStationModel.tableName, AirQualityStationModel_1.AirQualityStationModel.attributeModel, {
|
|
20
20
|
schema: constants_1.PG_SCHEMA,
|
|
@@ -27,7 +27,6 @@ let AirQualityStationsRepository = class AirQualityStationsRepository extends ou
|
|
|
27
27
|
throw new Error("Method not implemented.");
|
|
28
28
|
}
|
|
29
29
|
};
|
|
30
|
-
exports.AirQualityStationsRepository = AirQualityStationsRepository;
|
|
31
30
|
exports.AirQualityStationsRepository = AirQualityStationsRepository = __decorate([
|
|
32
31
|
(0, tsyringe_1.injectable)(),
|
|
33
32
|
__metadata("design:paramtypes", [])
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AirQualityStationsRepository.js","sourceRoot":"","sources":["../../../src/output-gateway/repositories/AirQualityStationsRepository.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"AirQualityStationsRepository.js","sourceRoot":"","sources":["../../../src/output-gateway/repositories/AirQualityStationsRepository.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kEAA2C;AAC3C,mGAA4E;AAC5E,sEAAmE;AACnE,iEAAgE;AAGzD,IAAM,4BAA4B,0CAAlC,MAAM,4BAA6B,SAAQ,+BAAc;IAC5D;QACI,KAAK,CAAC,8BAA8B,EAAE,+CAAsB,CAAC,SAAS,EAAE,+CAAsB,CAAC,cAAc,EAAE;YAC3G,MAAM,EAAE,qBAAS;SACpB,CAAC,CAAC;QAGP,WAAM,GAAG,KAAK,IAAoB,EAAE;YAChC,MAAM,IAAI,KAAK,CAAC,yBAAyB,CAAC,CAAC;QAC/C,CAAC,CAAC;IAJF,CAAC;IAMD,MAAM;QACF,MAAM,IAAI,KAAK,CAAC,yBAAyB,CAAC,CAAC;IAC/C,CAAC;CACJ,CAAA;uCAdY,4BAA4B;IADxC,IAAA,qBAAU,GAAE;;GACA,4BAA4B,CAcxC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import IHistoryFilterParameters from "
|
|
1
|
+
import IHistoryFilterParameters from "../../../schema-definitions/models/interfaces/IHistoryFilterParams";
|
|
2
2
|
import { WhereOptions } from "@golemio/core/dist/shared/sequelize";
|
|
3
3
|
export default class HistoryRepositoryHelper {
|
|
4
4
|
static filterByMeasuredFrom(options: IHistoryFilterParameters): WhereOptions[];
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
2
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
const IHistoryFilterParams_1 = __importDefault(require("../../../schema-definitions/models/interfaces/IHistoryFilterParams"));
|
|
3
7
|
const sequelize_1 = require("@golemio/core/dist/shared/sequelize");
|
|
4
8
|
class HistoryRepositoryHelper {
|
|
5
9
|
static filterByMeasuredFrom(options) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HistoryRepositoryHelper.js","sourceRoot":"","sources":["../../../../src/output-gateway/repositories/helpers/HistoryRepositoryHelper.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"HistoryRepositoryHelper.js","sourceRoot":"","sources":["../../../../src/output-gateway/repositories/helpers/HistoryRepositoryHelper.ts"],"names":[],"mappings":";;;;;AAAA,8HAAmF;AACnF,mEAAuE;AAEvE,MAAqB,uBAAuB;IACjC,MAAM,CAAC,oBAAoB,CAAC,OAAiC;QAChE,OAAO,OAAO,CAAC,IAAI;YACf,CAAC,CAAC;gBACI;oBACI,aAAa,EAAE,EAAE,CAAC,cAAE,CAAC,GAAG,CAAC,EAAE,OAAO,CAAC,IAAI,EAAE;iBAC5C;aACJ;YACH,CAAC,CAAC,EAAE,CAAC;IACb,CAAC;IAEM,MAAM,CAAC,kBAAkB,CAAC,OAAiC;QAC9D,OAAO,OAAO,CAAC,EAAE;YACb,CAAC,CAAC;gBACI;oBACI,WAAW,EAAE,EAAE,CAAC,cAAE,CAAC,EAAE,CAAC,EAAE,OAAO,CAAC,EAAE,EAAE;iBACvC;aACJ;YACH,CAAC,CAAC,EAAE,CAAC;IACb,CAAC;IAEM,MAAM,CAAC,iBAAiB,CAAC,OAA6C;QACzE,OAAO,OAAO,EAAE,QAAQ;YACpB,CAAC,CAAC;gBACI;oBACI,iBAAiB,EAAE,OAAO,CAAC,QAAQ;iBACtC;aACJ;YACH,CAAC,CAAC,EAAE,CAAC;IACb,CAAC;CACJ;AA9BD,0CA8BC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import IAirQualityIndex from "
|
|
1
|
+
import IAirQualityIndex from "../../../schema-definitions/models/interfaces/IAirQualityIndex";
|
|
2
2
|
import { IGeoJSONFeature } from "@golemio/core/dist/output-gateway";
|
|
3
3
|
export default class OutputDtoMapper {
|
|
4
4
|
static mapToHistoricItem: (result: IAirQualityIndex) => any | undefined;
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
2
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
const IAirQualityIndex_1 = __importDefault(require("../../../schema-definitions/models/interfaces/IAirQualityIndex"));
|
|
7
|
+
const IAirQualityMeasurement_1 = __importDefault(require("../../../schema-definitions/models/interfaces/IAirQualityMeasurement"));
|
|
3
8
|
class OutputDtoMapper {
|
|
4
9
|
static mapToMeasurementDto(indexCode, measurements) {
|
|
5
10
|
let measurement = {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OutputDtoMapper.js","sourceRoot":"","sources":["../../../../src/output-gateway/repositories/helpers/OutputDtoMapper.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"OutputDtoMapper.js","sourceRoot":"","sources":["../../../../src/output-gateway/repositories/helpers/OutputDtoMapper.ts"],"names":[],"mappings":";;;;;AAAA,sHAAuE;AACvE,kIAAmF;AAGnF,MAAqB,eAAe;IA8BxB,MAAM,CAAC,mBAAmB,CAAC,SAAiB,EAAE,YAAsC;QACxF,IAAI,WAAW,GAAG,EAAS,CAAC;QAC5B,WAAW,CAAC,eAAe,GAAG,SAAS,CAAC;QACxC,WAAW,CAAC,UAAU,GAAG,YAAY;aAChC,MAAM,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,0BAA0B;aAC7D,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE;YACb,OAAO;gBACH,aAAa,EAAE;oBACX,8DAA8D;oBAC9D,cAAc,EAAE,OAAO,CAAC,oBAAoB,CAAC,QAAQ,CAAC,GAAG,CAAC;wBACtD,CAAC,CAAC,OAAO,CAAC,oBAAoB,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;wBAC3C,CAAC,CAAC,OAAO,CAAC,oBAAoB;oBAClC,KAAK,EAAE,OAAO,CAAC,KAAK;iBACvB;gBACD,IAAI,EAAE,OAAO,CAAC,cAAc;aAC/B,CAAC;QACN,CAAC,CAAC,CAAC;QACP,OAAO,WAAW,CAAC;IACvB,CAAC;;AA/Ca,iCAAiB,GAAG,CAAC,MAAwB,EAAmB,EAAE;IAC5E,IAAI,CAAC,MAAM,IAAI,CAAC,MAAM,CAAC,OAAO,IAAI,CAAC,MAAM,CAAC,YAAY;QAAE,OAAO,SAAS,CAAC;IAEzE,IAAI,MAAM,GAAG,EAAS,CAAC;IACvB,MAAM,CAAC,EAAE,GAAG,MAAM,CAAC,OAAO,CAAC,iBAAiB,CAAC;IAC7C,MAAM,CAAC,WAAW,GAAG,eAAe,CAAC,mBAAmB,CAAC,MAA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Module", { value: true });
|
|
3
3
|
exports.buildIndexesQuery = void 0;
|
|
4
|
-
const constants_1 = require("
|
|
4
|
+
const constants_1 = require("../../../schema-definitions/constants");
|
|
5
5
|
const allIndexes = `
|
|
6
6
|
select
|
|
7
7
|
"aqi"."index_code",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RawQueryProvider.js","sourceRoot":"","sources":["../../../../src/output-gateway/repositories/helpers/RawQueryProvider.ts"],"names":[],"mappings":";;;AACA,
|
|
1
|
+
{"version":3,"file":"RawQueryProvider.js","sourceRoot":"","sources":["../../../../src/output-gateway/repositories/helpers/RawQueryProvider.ts"],"names":[],"mappings":";;;AACA,qEAA2C;AAE3C,MAAM,UAAU,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;eA2BJ,qBAAS;;;;;;;;;;;;;GAarB,qBAAS;;kCAEsB,qBAAS;;aAE9B,qBAAS;;aAET,qBAAS;;;uDAGiC,CAAC;AAExD,MAAM,aAAa,GAAG,sCAAsC,CAAC;AAC7D,MAAM,YAAY,GAAG;;;;GAIlB,CAAC;AACJ,MAAM,aAAa,GAAG,uCAAuC,CAAC;AAC9D,MAAM,cAAc,GAAG;;;wBAGC,CAAC;AACzB,MAAM,OAAO,GAAG,+BAA+B,CAAC;AAChD,MAAM,WAAW,GAAG,eAAe,CAAC;AACpC,MAAM,YAAY,GAAG,iBAAiB,CAAC;AAEhC,MAAM,iBAAiB,GAAG,CAAC,OAAgD,EAAU,EAAE;IAC1F,IAAI,aAAa,GAAG,UAAU,CAAC;IAC/B,aAAa,GAAG,UAAU,CAAC,OAAO,CAAC,qBAAqB,EAAE,OAAO,EAAE,GAAG,IAAI,OAAO,EAAE,GAAG,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC;IAE9G,IAAI,eAAe,GAAG,EAAE,CAAC;IACzB,IAAI,OAAO,EAAE,YAAY;QAAE,eAAe,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;IAC/D,IAAI,OAAO,EAAE,GAAG,IAAI,OAAO,CAAC,GAAG,IAAI,OAAO,CAAC,KAAK;QAAE,eAAe,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;IACrF,IAAI,OAAO,EAAE,SAAS;QAAE,eAAe,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;IAE5D,aAAa,GAAG,aAAa;SACxB,MAAM,CAAC,GAAG,CAAC,eAAe,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,EAAE,eAAe,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC;SACzF,MAAM,CAAC,MAAM,CAAC,QAAQ,CAAC,OAAO,EAAE,GAAG,CAAC,IAAI,MAAM,CAAC,QAAQ,CAAC,OAAO,EAAE,GAAG,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,CAAC;SACrF,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,EAAE,CAAC;SAC3D,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC;IAEnE,OAAO,aAAa,CAAC;AACzB,CAAC,CAAC;AAhBW,QAAA,iBAAiB,qBAgB5B"}
|
|
@@ -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.AirQualityIndexModel = void 0;
|
|
37
27
|
const sequelize_1 = __importStar(require("@golemio/core/dist/shared/sequelize"));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AirQualityIndexModel.js","sourceRoot":"","sources":["../../../src/schema-definitions/models/AirQualityIndexModel.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"AirQualityIndexModel.js","sourceRoot":"","sources":["../../../src/schema-definitions/models/AirQualityIndexModel.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AACA,iFAA6G;AAO7G,MAAa,oBAAqB,SAAQ,iBAA2B;;AAArE,oDAiEC;AAhEiB,8BAAS,GAAG,4BAA4B,CAAC;AAWzC,mCAAc,GAA0C;IAClE,UAAU,EAAE;QACR,SAAS,EAAE,KAAK;QAChB,IAAI,EAAE,mBAAS,CAAC,MAAM;KACzB;IACD,aAAa,EAAE;QACX,UAAU,EAAE,IAAI;QAChB,IAAI,EAAE,mBAAS,CAAC,IAAI;KACvB;IACD,WAAW,EAAE;QACT,UAAU,EAAE,IAAI;QAChB,IAAI,EAAE,mBAAS,CAAC,IAAI;KACvB;IACD,UAAU,EAAE;QACR,UAAU,EAAE,IAAI;QAChB,IAAI,EAAE,mBAAS,CAAC,MAAM;KACzB;IACD,UAAU,EAAE;QACR,SAAS,EAAE,IAAI;QACf,IAAI,EAAE,mBAAS,CAAC,IAAI;KACvB;CACJ,CAAC;AAEY,+BAAU,GAA0B,EAAE,CAAC;AAEvC,wCAAmB,GAAG,MAAM,CAAC,IAAI,CAAC,oBAAoB,CAAC,cAAc,CAAC,CAAC;AAEvE,+BAAU,GAAyD;IAC7E,IAAI,EAAE,OAAO;IACb,KAAK,EAAE;QACH,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACR,UAAU,EAAE;gBACR,IAAI,EAAE,QAAQ;aACjB;YACD,aAAa,EAAE;gBACX,IAAI,EAAE,CAAC,QAAQ,CAAC;aACnB;YACD,WAAW,EAAE;gBACT,IAAI,EAAE,CAAC,QAAQ,CAAC;aACnB;YACD,UAAU,EAAE;gBACR,IAAI,EAAE,QAAQ;aACjB;YACD,UAAU,EAAE;gBACR,IAAI,EAAE,QAAQ;gBACd,MAAM,EAAE,WAAW;gBACnB,QAAQ,EAAE,IAAI;aACjB;SACJ;QACD,QAAQ,EAAE,CAAC,YAAY,EAAE,eAAe,EAAE,aAAa,EAAE,YAAY,CAAC;KACzE;CACJ,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
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
26
|
exports.AirQualityMeasurementModel = void 0;
|
|
37
27
|
const sequelize_1 = __importStar(require("@golemio/core/dist/shared/sequelize"));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AirQualityMeasurementModel.js","sourceRoot":"","sources":["../../../src/schema-definitions/models/AirQualityMeasurementModel.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"AirQualityMeasurementModel.js","sourceRoot":"","sources":["../../../src/schema-definitions/models/AirQualityMeasurementModel.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AACA,iFAA6G;AAG7G,MAAa,0BAA2B,SAAQ,iBAA6B;;AAA7E,gEAiFC;AAhFiB,oCAAS,GAAG,iCAAiC,CAAC;AAS9C,yCAAc,GAAgD;IACxE,oBAAoB,EAAE;QAClB,UAAU,EAAE,IAAI;QAChB,IAAI,EAAE,mBAAS,CAAC,MAAM;KACzB;IACD,cAAc,EAAE;QACZ,UAAU,EAAE,IAAI;QAChB,IAAI,EAAE,mBAAS,CAAC,MAAM;KACzB;IACD,aAAa,EAAE;QACX,UAAU,EAAE,IAAI;QAChB,IAAI,EAAE,mBAAS,CAAC,IAAI;KACvB;IACD,WAAW,EAAE;QACT,UAAU,EAAE,IAAI;QAChB,IAAI,EAAE,mBAAS,CAAC,IAAI;KACvB;IACD,UAAU,EAAE;QACR,UAAU,EAAE,IAAI;QAChB,IAAI,EAAE,mBAAS,CAAC,M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{
|
|
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.AirQualityStationModel = void 0;
|
|
37
27
|
const sequelize_1 = __importStar(require("@golemio/core/dist/shared/sequelize"));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AirQualityStationModel.js","sourceRoot":"","sources":["../../../src/schema-definitions/models/AirQualityStationModel.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"AirQualityStationModel.js","sourceRoot":"","sources":["../../../src/schema-definitions/models/AirQualityStationModel.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AACA,iFAA6G;AAG7G,MAAa,sBAAuB,SAAQ,iBAAyB;;AAArE,wDA6HC;AA5HiB,gCAAS,GAAG,oBAAoB,CAAC;AAgBjC,qCAAc,GAA4C;IACpE,cAAc,EAAE,mBAAS,CAAC,IAAI;IAC9B,EAAE,EAAE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