@golemio/city-districts 1.5.1-dev.2626230507 → 1.5.1-dev.2626613931

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.
@@ -5,7 +5,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.RefreshDataInDBTask = void 0;
7
7
  const CityDistrictsPostgresTransformation_1 = require("#ie/transformations/CityDistrictsPostgresTransformation");
8
- const datasources_1 = require("#ie/datasources");
8
+ const index_1 = require("#ie/datasources/index");
9
9
  const CityDistrictPostgresRepository_1 = __importDefault(require("#ie/repositories/CityDistrictPostgresRepository"));
10
10
  const integration_engine_1 = require("@golemio/core/dist/integration-engine");
11
11
  class RefreshDataInDBTask extends integration_engine_1.AbstractEmptyTask {
@@ -13,7 +13,7 @@ class RefreshDataInDBTask extends integration_engine_1.AbstractEmptyTask {
13
13
  super(queuePrefix);
14
14
  this.queueName = "refreshDataInDB";
15
15
  this.queueTtl = 15 * 24 * 60 * 60 * 1000; // 15 days
16
- this.dataSource = datasources_1.CityDistrictsDataSourceFactory.getDataSource();
16
+ this.dataSource = index_1.CityDistrictsDataSourceFactory.getDataSource();
17
17
  this.postgresRepository = new CityDistrictPostgresRepository_1.default();
18
18
  this.postgresTransformation = new CityDistrictsPostgresTransformation_1.CityDistrictsPostgresTransformation();
19
19
  }
@@ -1 +1 @@
1
- {"version":3,"file":"RefreshDataInDBTask.js","sourceRoot":"","sources":["../../../../src/integration-engine/workers/tasks/RefreshDataInDBTask.ts"],"names":[],"mappings":";;;;;;AAAA,iHAA8G;AAC9G,iDAAiE;AACjE,qHAA8F;AAC9F,8EAA0E;AAG1E,MAAa,mBAAoB,SAAQ,sCAAiB;IAQtD,YAAY,WAAmB;QAC3B,KAAK,CAAC,WAAW,CAAC,CAAC;QARP,cAAS,GAAG,iBAAiB,CAAC;QAC9B,aAAQ,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE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I,EAAE,CAAC;QAClC,MAAM,IAAI,GAAG,MAAM,IAAI,CAAC,UAAU,CAAC,MAAM,EAAE,CAAC;QAC5C,MAAM,uBAAuB,GAAG,IAAI,CAAC,sBAAsB,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC;QAEjF,MAAM,IAAI,CAAC,kBAAkB,CAAC,WAAW,CAAC,uBAAuB,EAAE,cAAc,CAAC,CAAC;IACvF,CAAC;CACJ;AAvBD,kDAuBC"}
@@ -2,10 +2,10 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.cityDistrictsPostgresRouter = exports.CityDistrictsPostgresRouter = void 0;
4
4
  const output_gateway_1 = require("@golemio/core/dist/output-gateway");
5
- const repositories_1 = require("#og/repositories");
5
+ const index_1 = require("#og/repositories/index");
6
6
  class CityDistrictsPostgresRouter extends output_gateway_1.GeoJsonRouter {
7
7
  constructor() {
8
- super(new repositories_1.CityDistrictsPostgresRepository());
8
+ super(new index_1.CityDistrictsPostgresRepository());
9
9
  this.initRoutes({ maxAge: 12 * 60 * 60, staleWhileRevalidate: 60 * 60 });
10
10
  }
11
11
  }
@@ -1 +1 @@
1
- {"version":3,"file":"CityDistrictsPostgresRouter.js","sourceRoot":"","sources":["../../src/output-gateway/CityDistrictsPostgresRouter.ts"],"names":[],"mappings":";;;AACA,sEAAkE;AAClE,mDAAmE;AAEnE,MAAa,2BAA4B,SAAQ,8BAAa;IAC1D;QACI,KAAK,CAAC,IAAI,8CAA+B,EAAE,CAAC,CAAC;QAC7C,IAAI,CAAC,UAAU,CAAC,EAAE,MAAM,EAAE,EAAE,GAAG,EAAE,GAAG,EAAE,EAAE,oBAAoB,EAAE,EAAE,GAAG,EAAE,EAAE,CAAC,CAAC;IAC7E,CAAC;CACJ;AALD,kEAKC;AAED,MAAM,2BAA2B,GAAW,IAAI,2BAA2B,EAAE,CAAC,MAAM,CAAC;AAE5E,kEAA2B"}
1
+ {"version":3,"file":"CityDistrictsPostgresRouter.js","sourceRoot":"","sources":["../../src/output-gateway/CityDistrictsPostgresRouter.ts"],"names":[],"mappings":";;;AACA,sEAAkE;AAClE,kDAAyE;AAEzE,MAAa,2BAA4B,SAAQ,8BAAa;IAC1D;QACI,KAAK,CAAC,IAAI,uCAA+B,EAAE,CAAC,CAAC;QAC7C,IAAI,CAAC,UAAU,CAAC,EAAE,MAAM,EAAE,EAAE,GAAG,EAAE,GAAG,EAAE,EAAE,oBAAoB,EAAE,EAAE,GAAG,EAAE,EAAE,CAAC,CAAC;IAC7E,CAAC;CACJ;AALD,kEAKC;AAED,MAAM,2BAA2B,GAAW,IAAI,2BAA2B,EAAE,CAAC,MAAM,CAAC;AAE5E,kEAA2B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@golemio/city-districts",
3
- "version": "1.5.1-dev.2626230507",
3
+ "version": "1.5.1-dev.2626613931",
4
4
  "description": "Golemio City Districts Module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -9,14 +9,6 @@
9
9
  "development": "./src/integration-engine/index.ts",
10
10
  "default": "./dist/integration-engine/index.js"
11
11
  },
12
- "#ie/datasources": {
13
- "development": "./src/integration-engine/datasources/index.ts",
14
- "default": "./dist/integration-engine/datasources/index.js"
15
- },
16
- "#ie/workers/tasks": {
17
- "development": "./src/integration-engine/workers/tasks/index.ts",
18
- "default": "./dist/integration-engine/workers/tasks/index.js"
19
- },
20
12
  "#ie/*": {
21
13
  "development": "./src/integration-engine/*.ts",
22
14
  "default": "./dist/integration-engine/*.js"
@@ -25,10 +17,6 @@
25
17
  "development": "./src/output-gateway/index.ts",
26
18
  "default": "./dist/output-gateway/index.js"
27
19
  },
28
- "#og/repositories": {
29
- "development": "./src/output-gateway/repositories/index.ts",
30
- "default": "./dist/output-gateway/repositories/index.js"
31
- },
32
20
  "#og/*": {
33
21
  "development": "./src/output-gateway/*.ts",
34
22
  "default": "./dist/output-gateway/*.js"
@@ -107,6 +95,9 @@
107
95
  "peerDependencies": {
108
96
  "@golemio/core": ">=1.9.9"
109
97
  },
98
+ "overrides": {
99
+ "openapi-format": "1.30.0"
100
+ },
110
101
  "dependencies": {
111
102
  "slugify": "1.3.2"
112
103
  }