@golemio/playgrounds 1.0.8-dev.747380880 → 1.1.0-dev.779985978
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.
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { IPlayground } from "../../schema-definitions/sequelize-models/interfaces/IPlayground";
|
|
2
2
|
import { Playground } from "../../schema-definitions/sequelize-models/Playground";
|
|
3
|
-
import CityDistrictsModel from "@golemio/city-districts/dist/integration-engine/
|
|
3
|
+
import CityDistrictsModel from "@golemio/city-districts/dist/integration-engine/repositories/CityDistrictPostgresRepository";
|
|
4
4
|
import { Point } from "geojson";
|
|
5
5
|
export declare class AddressHelper {
|
|
6
6
|
static isLocationChanged: (point1: Point, point2: Point) => boolean;
|
|
@@ -14,7 +14,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
15
|
exports.UpdateAddressAndDistrictTask = void 0;
|
|
16
16
|
const workers_1 = require("@golemio/core/dist/integration-engine/workers");
|
|
17
|
-
const
|
|
17
|
+
const CityDistrictPostgresRepository_1 = __importDefault(require("@golemio/city-districts/dist/integration-engine/repositories/CityDistrictPostgresRepository"));
|
|
18
18
|
const AddressHelper_1 = require("../../../helpers/AddressHelper");
|
|
19
19
|
const schema_1 = require("../../../schema");
|
|
20
20
|
const PlaygroundsModel_1 = require("../../../models/PlaygroundsModel");
|
|
@@ -25,7 +25,7 @@ class UpdateAddressAndDistrictTask extends workers_1.AbstractTask {
|
|
|
25
25
|
this.queueTtl = 23 * 60 * 60 * 1000; // 23 hours
|
|
26
26
|
this.schema = schema_1.PlaygroundsValidationSchema;
|
|
27
27
|
this.model = new PlaygroundsModel_1.PlaygroundsModel();
|
|
28
|
-
this.cityDistrictsModel = new
|
|
28
|
+
this.cityDistrictsModel = new CityDistrictPostgresRepository_1.default();
|
|
29
29
|
}
|
|
30
30
|
execute(data) {
|
|
31
31
|
return __awaiter(this, void 0, void 0, function* () {
|
package/dist/integration-engine/workers/playgrounds/tasks/UpdateAddressAndDistrictTask.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UpdateAddressAndDistrictTask.js","sourceRoot":"","sources":["../../../../../src/integration-engine/workers/playgrounds/tasks/UpdateAddressAndDistrictTask.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,2EAA6E;AAC7E,
|
|
1
|
+
{"version":3,"file":"UpdateAddressAndDistrictTask.js","sourceRoot":"","sources":["../../../../../src/integration-engine/workers/playgrounds/tasks/UpdateAddressAndDistrictTask.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,2EAA6E;AAC7E,iKAA6H;AAE7H,kEAA0D;AAC1D,4CAA2E;AAC3E,uEAA+D;AAE/D,MAAa,4BAA6B,SAAQ,sBAA8B;IAQ5E,YAAY,WAAmB;QAC3B,KAAK,CAAC,WAAW,CAAC,CAAC;QARP,cAAS,GAAG,0BAA0B,CAAC;QACvC,aAAQ,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC,CAAC,WAAW;QAC3C,WAAM,GAAG,oCAA2B,CAAC;QAOjD,IAAI,CAAC,KAAK,GAAG,IAAI,mCAAgB,EAAE,CAAC;QACpC,IAAI,CAAC,kBAAkB,GAAG,IAAI,wCAAkB,EAAE,CAAC;IACvD,CAAC;IAEe,OAAO,CAAC,IAAsB;;YAC1C,MAAM,MAAM,GAAe,MAAM,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC;gBAChD,KAAK,EAAE,IAAI;aACd,CAAC,CAAC;YAEH,MAAM,6BAAa,CAAC,cAAc,CAAC,MAAM,EAAE,IAAI,CAAC,kBAAkB,CAAC,CAAC;YACpE,MAAM,6BAAa,CAAC,aAAa,CAAC,MAAM,CAAC,CAAC;QAC9C,CAAC;KAAA;CACJ;AAtBD,oEAsBC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@golemio/playgrounds",
|
|
3
|
-
"version": "1.0
|
|
3
|
+
"version": "1.1.0-dev.779985978",
|
|
4
4
|
"description": "Golemio Playgrounds Module",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"@commitlint/cli": "^11.0.0",
|
|
34
34
|
"@commitlint/config-conventional": "^11.0.0",
|
|
35
|
-
"@golemio/city-districts": "1.0.
|
|
35
|
+
"@golemio/city-districts": "1.2.0-dev.775903079",
|
|
36
36
|
"@golemio/cli": "1.3.3",
|
|
37
37
|
"@golemio/core": "1.2.22",
|
|
38
38
|
"@golemio/db-common": "1.0.2",
|