@golemio/traffic-common 0.1.0-dev.877492401 → 0.1.0-dev.879995381
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/db/example/01_lteCze90MockupData.sql +1 -1
- package/dist/integration-engine/repositories/LteCze90PointsSjtskInAreaRepository.d.ts +4 -0
- package/dist/integration-engine/repositories/LteCze90PointsSjtskInAreaRepository.js +9 -1
- package/dist/integration-engine/repositories/LteCze90PointsSjtskInAreaRepository.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
INSERT INTO ltecze90_points_sjtsk_in_area (cid,tabcd,lcd,class,tcd,stcd,jnumber,roadnumber,roadname,firstname,secondname,area_ref,area_name,roa_lcd,seg_lcd,roa_type,inpos,outpos,inneg,outneg,presentpos,presentneg,interrupt,urban,int_lcd,neg_off,pos_off,wgs84_x,wgs84_y,sjtsk_x,sjtsk_y,isolated,inside_project_area) VALUES
|
|
2
2
|
(11,25,20761,'P',1,12,NULL,'II/425','','odb. Starovice','',33476,'Starovice',581,NULL,'L1.3',1,1,1,1,1,1,NULL,0,'20761,20762',14816,4959,'16,71753','48,95999','-592997,6958','-1187603,397',0,'nepravda'),
|
|
3
|
-
(11,25,22579,'P',1,12,NULL,'II/352','','Ždířec-odb. Střítež','',33780,'Ždírec',9288,NULL,'L1.3',1,1,1,1,1,1,NULL,0,'22579,22578',17910,11111,'15,67244','49,45365','-662457,6851','-1124460,336',0,'
|
|
3
|
+
(11,25,22579,'P',1,12,NULL,'II/352','','Ždířec-odb. Střítež','',33780,'Ždírec',9288,NULL,'L1.3',1,1,1,1,1,1,NULL,0,'22579,22578',17910,11111,'15,67244','49,45365','-662457,6851','-1124460,336',0,'pravda'),
|
|
4
4
|
(11,25,21583,'P',1,11,NULL,'III/19850','','odb. Nové Sedliště','II/198',31389,'Staré Sedliště',15136,NULL,'L1.4',1,1,1,1,1,1,NULL,0,'21583,21588',21582,21584,'12,69184','49,7181','-871745,118','-1065281,078',0,'nepravda');
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
import { IModel, PostgresModel } from "@golemio/core/dist/integration-engine/models";
|
|
2
|
+
export declare enum InsideProjectAreaEnum {
|
|
3
|
+
PRAVDA = "pravda",
|
|
4
|
+
NEPRAVDA = "nepravda"
|
|
5
|
+
}
|
|
2
6
|
export declare class LteCze90PointsSjtskInAreaRepository extends PostgresModel implements IModel {
|
|
3
7
|
constructor();
|
|
4
8
|
getFiltrationData(): Promise<Array<{
|
|
@@ -18,12 +18,17 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
18
18
|
});
|
|
19
19
|
};
|
|
20
20
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
21
|
-
exports.LteCze90PointsSjtskInAreaRepository = void 0;
|
|
21
|
+
exports.LteCze90PointsSjtskInAreaRepository = exports.InsideProjectAreaEnum = void 0;
|
|
22
22
|
const _sch_1 = require("../../schema-definitions");
|
|
23
23
|
const LteCze90PointsSjtskInAreaModel_1 = require("../../schema-definitions/models/LteCze90PointsSjtskInAreaModel");
|
|
24
24
|
const models_1 = require("@golemio/core/dist/integration-engine/models");
|
|
25
25
|
const golemio_validator_1 = require("@golemio/core/dist/shared/golemio-validator");
|
|
26
26
|
const tsyringe_1 = require("@golemio/core/dist/shared/tsyringe");
|
|
27
|
+
var InsideProjectAreaEnum;
|
|
28
|
+
(function (InsideProjectAreaEnum) {
|
|
29
|
+
InsideProjectAreaEnum["PRAVDA"] = "pravda";
|
|
30
|
+
InsideProjectAreaEnum["NEPRAVDA"] = "nepravda";
|
|
31
|
+
})(InsideProjectAreaEnum = exports.InsideProjectAreaEnum || (exports.InsideProjectAreaEnum = {}));
|
|
27
32
|
let LteCze90PointsSjtskInAreaRepository = class LteCze90PointsSjtskInAreaRepository extends models_1.PostgresModel {
|
|
28
33
|
constructor() {
|
|
29
34
|
super("LteCze90PointsSjtskInAreaRepository", {
|
|
@@ -41,6 +46,9 @@ let LteCze90PointsSjtskInAreaRepository = class LteCze90PointsSjtskInAreaReposit
|
|
|
41
46
|
return __awaiter(this, void 0, void 0, function* () {
|
|
42
47
|
return yield this.find({
|
|
43
48
|
attributes: ["lcd"],
|
|
49
|
+
where: {
|
|
50
|
+
inside_project_area: InsideProjectAreaEnum.PRAVDA.toString(),
|
|
51
|
+
},
|
|
44
52
|
raw: true,
|
|
45
53
|
});
|
|
46
54
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LteCze90PointsSjtskInAreaRepository.js","sourceRoot":"","sources":["../../../src/integration-engine/repositories/LteCze90PointsSjtskInAreaRepository.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,mDAA6C;AAC7C,mHAA4F;AAC5F,yEAAqF;AACrF,mFAAkF;AAClF,iEAAgE;
|
|
1
|
+
{"version":3,"file":"LteCze90PointsSjtskInAreaRepository.js","sourceRoot":"","sources":["../../../src/integration-engine/repositories/LteCze90PointsSjtskInAreaRepository.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,mDAA6C;AAC7C,mHAA4F;AAC5F,yEAAqF;AACrF,mFAAkF;AAClF,iEAAgE;AAEhE,IAAY,qBAGX;AAHD,WAAY,qBAAqB;IAC7B,0CAAiB,CAAA;IACjB,8CAAqB,CAAA;AACzB,CAAC,EAHW,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAGhC;AAGD,IAAa,mCAAmC,GAAhD,MAAa,mCAAoC,SAAQ,sBAAa;IAClE;QACI,KAAK,CACD,qCAAqC,EACrC;YACI,yBAAyB,EAAE,+DAA8B,CAAC,cAAc;YACxE,WAAW,EAAE,+BAA+B;YAC5C,QAAQ,EAAE,4BAAqB,CAAC,QAAQ;YACxC,UAAU,EAAE,YAAY;YACxB,2BAA2B,EAAE;gBACzB,UAAU,EAAE,KAAK;aACpB;SACJ,EACD,IAAI,uCAAmB,CAAC,qCAAqC,EAAE,EAAE,CAAC,CAAC,4BAA4B;SAClG,CAAC;IACN,CAAC;IAEY,iBAAiB;;YAC1B,OAAO,MAAM,IAAI,CAAC,IAAI,CAAC;gBACnB,UAAU,EAAE,CAAC,KAAK,CAAC;gBACnB,KAAK,EAAE;oBACH,mBAAmB,EAAE,qBAAqB,CAAC,MAAM,CAAC,QAAQ,EAAE;iBAC/D;gBACD,GAAG,EAAE,IAAI;aACZ,CAAC,CAAC;QACP,CAAC;KAAA;CACJ,CAAA;AA1BY,mCAAmC;IAD/C,IAAA,qBAAU,GAAE;;GACA,mCAAmC,CA0B/C;AA1BY,kFAAmC"}
|