@golemio/gardens 1.3.3-rc.2561328902 → 1.4.0-dev.2635610773

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 CHANGED
@@ -1,3 +1,3 @@
1
- export * as IntegrationEngine from "./integration-engine/index";
2
- export * as OutputGateway from "./output-gateway/index";
3
- export * as SchemaDefinitions from "./schema-definitions/index";
1
+ export * as IntegrationEngine from "#ie";
2
+ export * as OutputGateway from "#og";
3
+ export * as SchemaDefinitions from "#sch";
package/dist/index.js CHANGED
@@ -15,17 +15,27 @@ 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) || 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
- };
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
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
+ })();
25
35
  Object.defineProperty(exports, "__esModule", { value: true });
26
36
  exports.SchemaDefinitions = exports.OutputGateway = exports.IntegrationEngine = void 0;
27
37
  // Library exports
28
- exports.IntegrationEngine = __importStar(require("./integration-engine/index"));
29
- exports.OutputGateway = __importStar(require("./output-gateway/index"));
30
- exports.SchemaDefinitions = __importStar(require("./schema-definitions/index"));
38
+ exports.IntegrationEngine = __importStar(require("#ie"));
39
+ exports.OutputGateway = __importStar(require("#og"));
40
+ exports.SchemaDefinitions = __importStar(require("#sch"));
31
41
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kBAAkB;AAClB,gFAA+C;AAC/C,wEAA2C;AAC3C,gFAAgD"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kBAAkB;AAClB,yDAAyC;AACzC,qDAAqC;AACrC,0DAA0C"}
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.gardensDataSource = void 0;
4
- const _sch_1 = require("../../schema-definitions");
4
+ const _sch_1 = require("#sch");
5
5
  const config_1 = require("@golemio/core/dist/integration-engine/config");
6
6
  const datasources_1 = require("@golemio/core/dist/integration-engine/datasources");
7
7
  const HTTPFetchProtocolStrategy_1 = require("@golemio/core/dist/integration-engine/datasources/protocol-strategy/HTTPFetchProtocolStrategy");
@@ -1 +1 @@
1
- {"version":3,"file":"GardensDataSourceFactory.js","sourceRoot":"","sources":["../../../src/integration-engine/datasources/GardensDataSourceFactory.ts"],"names":[],"mappings":";;;AAAA,mDAA+B;AAC/B,yEAAsE;AACtE,mFAAqG;AACrG,6IAA0I;AAC1I,mFAAkF;AAElF,MAAM,wBAAwB;IAG1B;QACI,IAAI,CAAC,iBAAiB,GAAG,IAAI,wBAAU,CACnC,cAAO,CAAC,WAAW,CAAC,iBAAiB,CAAC,IAAI,EAC1C,IAAI,qDAAyB,CAAC;YAC1B,OAAO,EAAE;gBACL,aAAa,EAAE,QAAQ,GAAG,eAAM,CAAC,WAAW,CAAC,kBAAkB;aAClE;YACD,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,eAAM,CAAC,WAAW,CAAC,OAAO;SAClC,CAAC,EACF,IAAI,kCAAoB,CAAC,EAAE,WAAW,EAAE,EAAE,EAAE,CAAC,EAC7C,IAAI,uCAAmB,CACnB,cAAO,CAAC,WAAW,CAAC,iBAAiB,CAAC,IAAI,GAAG,WAAW,EACxD,cAAO,CAAC,WAAW,CAAC,iBAAiB,CAAC,UAAU,CACnD,CACJ,CAAC;IACN,CAAC;CACJ;AAED,MAAM,wBAAwB,GAAG,IAAI,wBAAwB,EAAE,CAAC;AAChE,MAAM,iBAAiB,GAAG,wBAAwB,CAAC,iBAAiB,CAAC;AAE5D,8CAAiB"}
1
+ {"version":3,"file":"GardensDataSourceFactory.js","sourceRoot":"","sources":["../../../src/integration-engine/datasources/GardensDataSourceFactory.ts"],"names":[],"mappings":";;;AAAA,+BAA+B;AAC/B,yEAAsE;AACtE,mFAAqG;AACrG,6IAA0I;AAC1I,mFAAkF;AAElF,MAAM,wBAAwB;IAG1B;QACI,IAAI,CAAC,iBAAiB,GAAG,IAAI,wBAAU,CACnC,cAAO,CAAC,WAAW,CAAC,iBAAiB,CAAC,IAAI,EAC1C,IAAI,qDAAyB,CAAC;YAC1B,OAAO,EAAE;gBACL,aAAa,EAAE,QAAQ,GAAG,eAAM,CAAC,WAAW,CAAC,kBAAkB;aAClE;YACD,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,eAAM,CAAC,WAAW,CAAC,OAAO;SAClC,CAAC,EACF,IAAI,kCAAoB,CAAC,EAAE,WAAW,EAAE,EAAE,EAAE,CAAC,EAC7C,IAAI,uCAAmB,CACnB,cAAO,CAAC,WAAW,CAAC,iBAAiB,CAAC,IAAI,GAAG,WAAW,EACxD,cAAO,CAAC,WAAW,CAAC,iBAAiB,CAAC,UAAU,CACnD,CACJ,CAAC;IACN,CAAC;CACJ;AAED,MAAM,wBAAwB,GAAG,IAAI,wBAAwB,EAAE,CAAC;AAChE,MAAM,iBAAiB,GAAG,wBAAwB,CAAC,iBAAiB,CAAC;AAE5D,8CAAiB"}
@@ -1,5 +1,5 @@
1
1
  import { IModel, PostgresModel } from "@golemio/core/dist/integration-engine/models";
2
- import { IGarden } from "../../schema-definitions/Gardens";
2
+ import { IGarden } from "#sch/Gardens";
3
3
  export declare class GardensRepository extends PostgresModel implements IModel {
4
4
  constructor();
5
5
  saveBulk: (data: IGarden[]) => Promise<void>;
@@ -3,8 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.GardensRepository = void 0;
4
4
  const models_1 = require("@golemio/core/dist/integration-engine/models");
5
5
  const golemio_validator_1 = require("@golemio/core/dist/shared/golemio-validator");
6
- const _sch_1 = require("../../schema-definitions");
7
- const GardensModel_1 = require("../../schema-definitions/models/GardensModel");
6
+ const _sch_1 = require("#sch");
7
+ const GardensModel_1 = require("#sch/models/GardensModel");
8
8
  class GardensRepository extends models_1.PostgresModel {
9
9
  constructor() {
10
10
  super("GardensRepository", {
@@ -1 +1 @@
1
- {"version":3,"file":"GardensRepository.js","sourceRoot":"","sources":["../../../src/integration-engine/repositories/GardensRepository.ts"],"names":[],"mappings":";;;AAAA,yEAAqF;AACrF,mFAAkF;AAClF,mDAA+B;AAC/B,+EAAwD;AAGxD,MAAa,iBAAkB,SAAQ,sBAAa;IAChD;QACI,KAAK,CACD,mBAAmB,EACnB;YACI,yBAAyB,EAAE,2BAAY,CAAC,cAAc;YACtD,WAAW,EAAE,cAAO,CAAC,WAAW,CAAC,OAAO,CAAC,WAAW;YACpD,QAAQ,EAAE,cAAO,CAAC,QAAQ;YAC1B,UAAU,EAAE,gBAAgB;SAC/B,EACD,IAAI,uCAAmB,CAAC,4BAA4B,EAAE,2BAAY,CAAC,UAAU,CAAC,CACjF,CAAC;QAGC,aAAQ,GAAG,KAAK,EAAE,IAAe,EAAE,EAAE;YACxC,IAAI,IAAI,IAAI,IAAI,CAAC,MAAM,IAAI,CAAC,MAAM,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,EAAE;gBACpD,MAAM,cAAc,GAAG,MAAM,CAAC,mBAAmB,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;qBACrD,MAAM,CAAC,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,KAAK,IAAI,CAAC;qBAC3B,GAAG,CAAgB,CAAC,EAAE,EAAE,EAAE,CAAC,EAAmB,CAAC,CAAC;gBACrD,cAAc,CAAC,IAAI,CAAC,YAAmB,CAAC,CAAC;gBACzC,MAAM,IAAI,CAAC,cAAc,CAAC,UAAU,CAAe,IAAI,EAAE;oBACrD,iBAAiB,EAAE,cAAc;iBACpC,CAAC,CAAC;aACN;QACL,CAAC,CAAC;IAZF,CAAC;CAaJ;AAzBD,8CAyBC"}
1
+ {"version":3,"file":"GardensRepository.js","sourceRoot":"","sources":["../../../src/integration-engine/repositories/GardensRepository.ts"],"names":[],"mappings":";;;AAAA,yEAAqF;AACrF,mFAAkF;AAClF,+BAA+B;AAC/B,2DAAwD;AAGxD,MAAa,iBAAkB,SAAQ,sBAAa;IAChD;QACI,KAAK,CACD,mBAAmB,EACnB;YACI,yBAAyB,EAAE,2BAAY,CAAC,cAAc;YACtD,WAAW,EAAE,cAAO,CAAC,WAAW,CAAC,OAAO,CAAC,WAAW;YACpD,QAAQ,EAAE,cAAO,CAAC,QAAQ;YAC1B,UAAU,EAAE,gBAAgB;SAC/B,EACD,IAAI,uCAAmB,CAAC,4BAA4B,EAAE,2BAAY,CAAC,UAAU,CAAC,CACjF,CAAC;QAGC,aAAQ,GAAG,KAAK,EAAE,IAAe,EAAE,EAAE;YACxC,IAAI,IAAI,IAAI,IAAI,CAAC,MAAM,IAAI,CAAC,MAAM,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,EAAE,CAAC;gBACrD,MAAM,cAAc,GAAG,MAAM,CAAC,mBAAmB,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;qBACrD,MAAM,CAAC,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,KAAK,IAAI,CAAC;qBAC3B,GAAG,CAAgB,CAAC,EAAE,EAAE,EAAE,CAAC,EAAmB,CAAC,CAAC;gBACrD,cAAc,CAAC,IAAI,CAAC,YAAmB,CAAC,CAAC;gBACzC,MAAM,IAAI,CAAC,cAAc,CAAC,UAAU,CAAe,IAAI,EAAE;oBACrD,iBAAiB,EAAE,cAAc;iBACpC,CAAC,CAAC;YACP,CAAC;QACL,CAAC,CAAC;IAZF,CAAC;CAaJ;AAzBD,8CAyBC"}
@@ -1,6 +1,6 @@
1
1
  import { BaseTransformation, ITransformation } from "@golemio/core/dist/integration-engine/transformations";
2
- import { IGarden } from "../../schema-definitions/Gardens";
3
- import { IGardensInput } from "../../schema-definitions/datasources/GardensJsonSchema";
2
+ import { IGarden } from "#sch/Gardens";
3
+ import { IGardensInput } from "#sch/datasources/GardensJsonSchema";
4
4
  export declare class GardensTransformation extends BaseTransformation implements ITransformation {
5
5
  name: string;
6
6
  constructor();
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.GardensTransformation = void 0;
4
4
  const transformations_1 = require("@golemio/core/dist/integration-engine/transformations");
5
- const _sch_1 = require("../../schema-definitions");
5
+ const _sch_1 = require("#sch");
6
6
  class GardensTransformation extends transformations_1.BaseTransformation {
7
7
  constructor() {
8
8
  super();
@@ -1 +1 @@
1
- {"version":3,"file":"GardensTransformation.js","sourceRoot":"","sources":["../../../src/integration-engine/transformations/GardensTransformation.ts"],"names":[],"mappings":";;;AAAA,2FAA4G;AAC5G,mDAA+B;AAI/B,MAAa,qBAAsB,SAAQ,oCAAkB;IAGzD;QACI,KAAK,EAAE,CAAC;QAIL,cAAS,GAAG,KAAK,EAAE,IAAqB,EAAsB,EAAE;YACnE,MAAM,OAAO,GAAc,EAAE,CAAC;YAE9B,KAAK,MAAM,IAAI,IAAI,IAAI,EAAE;gBACrB,MAAM,eAAe,GAAG,MAAM,IAAI,CAAC,gBAAgB,C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M,EAAE,OAAO,CAAC,iBAAiB;gBACjC,KAAK,EAAE,OAAO,CAAC,gBAAgB;gBAC/B,EAAE,EAAE,OAAO,CAAC,aAAa;aAC5B,CAAC;YACF,OAAO,GAAG,CAAC;QACf,CAAC,CAAC;QA3CE,IAAI,CAAC,IAAI,GAAG,cAAO,CAAC,IAAI,CAAC;IAC7B,CAAC;CA2CJ;AAjDD,sDAiDC"}
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.GardensWorker = void 0;
4
4
  const workers_1 = require("@golemio/core/dist/integration-engine/workers");
5
- const RefreshDataInDBTask_1 = require("./tasks/RefreshDataInDBTask");
5
+ const RefreshDataInDBTask_1 = require("#ie/workers/tasks/RefreshDataInDBTask");
6
6
  class GardensWorker extends workers_1.AbstractWorker {
7
7
  constructor() {
8
8
  super();
@@ -1 +1 @@
1
- {"version":3,"file":"GardensWorker.js","sourceRoot":"","sources":["../../../src/integration-engine/workers/GardensWorker.ts"],"names":[],"mappings":";;;AAAA,2EAA+E;AAC/E,qEAA4E;AAE5E,MAAa,aAAc,SAAQ,wBAAc;IAG7C;QACI,KAAK,EAAE,CAAC;QAHO,SAAI,GAAG,SAAS,CAAC;QAIhC,IAAI,CAAC,YAAY,CAAC,IAAI,yCAAmB,CAAC,IAAI,CAAC,cAAc,EAAE,CAAC,CAAC,CAAC;IACtE,CAAC;CACJ;AAPD,sCAOC"}
1
+ {"version":3,"file":"GardensWorker.js","sourceRoot":"","sources":["../../../src/integration-engine/workers/GardensWorker.ts"],"names":[],"mappings":";;;AAAA,2EAA+E;AAC/E,+EAA4E;AAE5E,MAAa,aAAc,SAAQ,wBAAc;IAG7C;QACI,KAAK,EAAE,CAAC;QAHO,SAAI,GAAG,SAAS,CAAC;QAIhC,IAAI,CAAC,YAAY,CAAC,IAAI,yCAAmB,CAAC,IAAI,CAAC,cAAc,EAAE,CAAC,CAAC,CAAC;IACtE,CAAC;CACJ;AAPD,sCAOC"}
@@ -2,16 +2,16 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.RefreshDataInDBTask = void 0;
4
4
  const integration_engine_1 = require("@golemio/core/dist/integration-engine");
5
- const GardensDataSourceFactory_1 = require("../../datasources/GardensDataSourceFactory");
6
- const _ie_1 = require("../..");
7
- const GardensRepository_1 = require("../../repositories/GardensRepository");
5
+ const GardensDataSourceFactory_1 = require("#ie/datasources/GardensDataSourceFactory");
6
+ const GardensTransformation_1 = require("#ie/transformations/GardensTransformation");
7
+ const GardensRepository_1 = require("#ie/repositories/GardensRepository");
8
8
  class RefreshDataInDBTask extends integration_engine_1.AbstractEmptyTask {
9
9
  constructor(queuePrefix) {
10
10
  super(queuePrefix);
11
11
  this.queueName = "refreshDataInDB";
12
12
  this.queueTtl = 23 * 60 * 60 * 1000; // 23 hours
13
13
  this.dataSource = GardensDataSourceFactory_1.gardensDataSource;
14
- this.transformation = new _ie_1.GardensTransformation();
14
+ this.transformation = new GardensTransformation_1.GardensTransformation();
15
15
  this.repository = new GardensRepository_1.GardensRepository();
16
16
  }
17
17
  async execute() {
@@ -1 +1 @@
1
- {"version":3,"file":"RefreshDataInDBTask.js","sourceRoot":"","sources":["../../../../src/integration-engine/workers/tasks/RefreshDataInDBTask.ts"],"names":[],"mappings":";;;AAAA,8EAA0E;AAG1E,yFAA6E;AAC7E,+BAA4C;AAC5C,4EAAuE;AAEvE,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,GAAG,IAAI,CAAC,CAAC,WAAW;QAQvD,IAAI,CAAC,UAAU,GAAG,4CAAiB,CAAC;QACpC,IAAI,CAAC,cAAc,GAAG,IAAI,2BAAqB,EAAE,CAAC;QAClD,IAAI,CAAC,UAAU,GAAG,IAAI,qCAAiB,EAAE,CAAC;IAC9C,CAAC;IAES,KAAK,CAAC,OAAO;QACnB,MAAM,IAAI,GAAG,MAAM,IAAI,CAAC,UAAU,CAAC,MAAM,EAAE,CAAC;QAC5C,MAAM,eAAe,GAAG,MAAM,IAAI,CAAC,cAAc,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;QAClE,MAAM,IAAI,CAAC,UAAU,CAAC,QAAQ,CAAC,eAAe,CAAC,CAAC;IACpD,CAAC;CACJ;AApBD,kDAoBC"}
1
+ {"version":3,"file":"RefreshDataInDBTask.js","sourceRoot":"","sources":["../../../../src/integration-engine/workers/tasks/RefreshDataInDBTask.ts"],"names":[],"mappings":";;;AAAA,8EAA0E;AAG1E,uFAA6E;AAC7E,qFAAkF;AAClF,0EAAuE;AAEvE,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,GAAG,IAAI,CAAC,CAAC,WAAW;QAQvD,IAAI,CAAC,UAAU,GAAG,4CAAiB,CAAC;QACpC,IAAI,CAAC,cAAc,GAAG,IAAI,6CAAqB,EAAE,CAAC;QAClD,IAAI,CAAC,UAAU,GAAG,IAAI,qCAAiB,EAAE,CAAC;IAC9C,CAAC;IAES,KAAK,CAAC,OAAO;QACnB,MAAM,IAAI,GAAG,MAAM,IAAI,CAAC,UAAU,CAAC,MAAM,EAAE,CAAC;QAC5C,MAAM,eAAe,GAAG,MAAM,IAAI,CAAC,cAAc,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;QAClE,MAAM,IAAI,CAAC,UAAU,CAAC,QAAQ,CAAC,eAAe,CAAC,CAAC;IACpD,CAAC;CACJ;AApBD,kDAoBC"}
@@ -1,4 +1,3 @@
1
- /// <reference types="express" />
2
1
  import { Router } from "@golemio/core/dist/shared/express";
3
2
  import { GeoJsonRouter } from "@golemio/core/dist/output-gateway/routes";
4
3
  export declare class GardensRouter extends GeoJsonRouter {
@@ -8,8 +8,8 @@ const sequelize_1 = __importDefault(require("@golemio/core/dist/shared/sequelize
8
8
  const output_gateway_1 = require("@golemio/core/dist/output-gateway");
9
9
  const output_gateway_2 = require("@golemio/core/dist/output-gateway");
10
10
  const FilterHelper_1 = require("./FilterHelper");
11
- const _sch_1 = require("../../schema-definitions");
12
- const GardensModel_1 = require("../../schema-definitions/models/GardensModel");
11
+ const _sch_1 = require("#sch");
12
+ const GardensModel_1 = require("#sch/models/GardensModel");
13
13
  class GardensRepository extends output_gateway_1.SequelizeModel {
14
14
  constructor() {
15
15
  super("GardensRepository", _sch_1.Gardens.definitions.gardens.pgTableName, GardensModel_1.GardensModel.attributeModel, {
@@ -1 +1 @@
1
- {"version":3,"file":"GardensRepository.js","sourceRoot":"","sources":["../../../src/output-gateway/repositories/GardensRepository.ts"],"names":[],"mappings":";;;;;;AAAA,oFAA4D;AAC5D,sEAAmE;AAEnE,sEAM2C;AAC3C,iDAA8C;AAE9C,mDAA+B;AAC/B,+EAAwD;AAiBxD,MAAa,iBAAkB,SAAQ,+BAAc;IACjD;QACI,KAAK,CAAC,mBAAmB,EAAE,cAAO,CAAC,WAAW,CAAC,OAAO,CAAC,WAAW,EAAE,2BAAY,CAAC,cAAc,EAAE;YAC7F,MAAM,EAAE,cAAO,CAAC,QAAQ;SAC3B,CAAC,CAAC;QAWA,kBAAa,GAAG,KAAK,IAAkB,EAAE;YAC5C,MAAM,IAAI,KAAK,CAAC,yBAAyB,CAAC,CAAC;QAC/C,CAAC,CAAC;QAEK,WAAM,GAAG,KAAK,EAAE,UAAuC,EAAE,EAAsC,EAAE;YACpG,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,cAAc,CAAC,OAAO,CAAe;gBAC3D,UAAU,EAAE;oBACR,OAAO,EAAE,CAAC,YAAY,CAAC;iBAC1B;gBACD,KAAK,EAAE,OAAO;oBACV,CAAC,CAAC;wBACI,CAAC,mBAAS,CAAC,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,UAAU,CAAC;gBACtB,KAAK,OAAO;oBACR,OAAO,kBAAkB,CAAC;gBAC9B,KAAK,KAAK;oBACN,OAAO,KAAK,CAAC;gBACjB,KAAK,SAAS;oBACV,OAAO,WAAW,CAAC;gBACvB,KAAK,OAAO;oBACR,OAAO,aAAa,CAAC;gBACzB,KAAK,QAAQ;oBACT,OAAO,cAAc,CAAC;gBAC1B,KAAK,MAAM;oBACP,OAAO,gBAAgB,CAAC;gBAC5B;oBACI,OAAO,IAAI,CAAC;aACnB;QACL,CAAC,CAAC;IA5HF,CAAC;IAEM,iBAAiB,CAAC,KAAa;QAClC,OAAO,OAAO,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;IAClC,CAAC;IAEM,0BAA0B,CAAC,EAAU;QACxC,OAAO,EAAE,EAAE,EAAE,CAAC;IAClB,CAAC;CAqHJ;AAlID,8CAkIC"}
1
+ {"version":3,"file":"GardensRepository.js","sourceRoot":"","sources":["../../../src/output-gateway/repositories/GardensRepository.ts"],"names":[],"mappings":";;;;;;AAAA,oFAA4D;AAC5D,sEAAmE;AAEnE,sEAM2C;AAC3C,iDAA8C;AAE9C,+BAA+B;AAC/B,2DAAwD;AAiBxD,MAAa,iBAAkB,SAAQ,+BAAc;IACjD;QACI,KAAK,CAAC,mBAAmB,EAAE,cAAO,CAAC,WAAW,CAAC,OAAO,CAAC,WAAW,EAAE,2BAAY,CAAC,cAAc,EAAE;YAC7F,MAAM,EAAE,cAAO,CAAC,QAAQ;SAC3B,CAAC,CAAC;QAWA,kBAAa,GAAG,KAAK,IAAkB,EAAE;YAC5C,MAAM,IAAI,KAAK,CAAC,yBAAyB,CAAC,CAAC;QAC/C,CAAC,CAAC;QAEK,WAAM,GAAG,KAAK,EAAE,UAAuC,EAAE,EAAsC,EAAE;YACpG,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,cAAc,CAAC,OAAO,CAAe;gBAC3D,UAAU,EAAE;oBACR,OAAO,EAAE,CAAC,YAAY,CAAC;iBAC1B;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a,CAAC;gBACzB,KAAK,QAAQ;oBACT,OAAO,eAAe,CAAC;gBAC3B,KAAK,QAAQ;oBACT,OAAO,UAAU,CAAC;gBACtB,KAAK,OAAO;oBACR,OAAO,kBAAkB,CAAC;gBAC9B,KAAK,KAAK;oBACN,OAAO,KAAK,CAAC;gBACjB,KAAK,SAAS;oBACV,OAAO,WAAW,CAAC;gBACvB,KAAK,OAAO;oBACR,OAAO,aAAa,CAAC;gBACzB,KAAK,QAAQ;oBACT,OAAO,cAAc,CAAC;gBAC1B,KAAK,MAAM;oBACP,OAAO,gBAAgB,CAAC;gBAC5B;oBACI,OAAO,IAAI,CAAC;YACpB,CAAC;QACL,CAAC,CAAC;IA5HF,CAAC;IAEM,iBAAiB,CAAC,KAAa;QAClC,OAAO,OAAO,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;IAClC,CAAC;IAEM,0BAA0B,CAAC,EAAU;QACxC,OAAO,EAAE,EAAE,EAAE,CAAC;IAClB,CAAC;CAqHJ;AAlID,8CAkIC"}
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Gardens = void 0;
4
- const GardensJsonSchema_1 = require("./datasources/GardensJsonSchema");
5
- const Gardens_1 = require("./Gardens");
4
+ const GardensJsonSchema_1 = require("#sch/datasources/GardensJsonSchema");
5
+ const Gardens_1 = require("#sch/Gardens");
6
6
  const forExport = {
7
7
  name: "Gardens",
8
8
  pgSchema: "gardens",
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/schema-definitions/index.ts"],"names":[],"mappings":";;;AAAA,uEAAuE;AACvE,uCAAuC;AAEvC,MAAM,SAAS,GAAQ;IACnB,IAAI,EAAE,SAAS;IACf,QAAQ,EAAE,SAAS;IACnB,WAAW,EAAE;QACT,iBAAiB,EAAjB,qCAAiB;KACpB;IACD,WAAW,EAAE;QACT,OAAO,EAAP,iBAAO;KACV;CACJ,CAAC;AAEoB,4BAAO"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/schema-definitions/index.ts"],"names":[],"mappings":";;;AAAA,0EAAuE;AACvE,0CAAuC;AAEvC,MAAM,SAAS,GAAQ;IACnB,IAAI,EAAE,SAAS;IACf,QAAQ,EAAE,SAAS;IACnB,WAAW,EAAE;QACT,iBAAiB,EAAjB,qCAAiB;KACpB;IACD,WAAW,EAAE;QACT,OAAO,EAAP,iBAAO;KACV;CACJ,CAAC;AAEoB,4BAAO"}
@@ -1,7 +1,7 @@
1
1
  import { Point } from "@golemio/core/dist/shared/geojson";
2
2
  import { JSONSchemaType } from "@golemio/core/dist/shared/ajv";
3
3
  import { Model, ModelAttributes } from "@golemio/core/dist/shared/sequelize";
4
- import { IGarden } from "../Gardens";
4
+ import { IGarden } from "#sch/Gardens";
5
5
  export declare class GardensModel extends Model<IGarden> implements IGarden {
6
6
  id: string;
7
7
  geometry: Point;
package/package.json CHANGED
@@ -1,73 +1,98 @@
1
1
  {
2
- "name": "@golemio/gardens",
3
- "version": "1.3.3-rc.2561328902",
4
- "description": "Golemio Gardens Module",
5
- "main": "dist/index.js",
6
- "types": "dist/index.d.ts",
7
- "scripts": {
8
- "build": "rimraf ./dist && tspc -p ./tsconfig.build.json",
9
- "build-minimal": "run-s 'build -- --sourceMap false --declaration false'",
10
- "build-watch": "run-s 'build -- --watch --preserveWatchOutput'",
11
- "migrate-db": "golemio migrate-db up --postgres",
12
- "prepare-db": "golemio import-db-data --postgres",
13
- "test:only": "cross-env NODE_ENV=test mocha --exit --check-leaks --timeout 120000 -r ts-node/register -r tsconfig-paths/register -r dotenv/config --file 'test/setup.ts' 'test/**/*.test.ts'",
14
- "test": "run-s prepare-db test:only",
15
- "test-debug": "run-s 'test -- --inspect-brk=9230'",
16
- "coverage:only": "nyc --reporter=text --reporter=lcov npm run test:only -- -r source-map-support/register",
17
- "code-coverage": "run-s prepare-db coverage:only",
18
- "generate-docs": "typedoc --out docs/typedoc src",
19
- "lint": "eslint '{src,test}/**/*.ts'"
2
+ "name": "@golemio/gardens",
3
+ "version": "1.4.0-dev.2635610773",
4
+ "description": "Golemio Gardens Module",
5
+ "main": "dist/index.js",
6
+ "types": "dist/index.d.ts",
7
+ "imports": {
8
+ "#ie": {
9
+ "development": "./src/integration-engine/index.ts",
10
+ "default": "./dist/integration-engine/index.js"
20
11
  },
21
- "keywords": [
22
- "golemio"
23
- ],
24
- "author": "Operator ICT, a.s.",
25
- "license": "MIT",
26
- "repository": {
27
- "type": "git",
28
- "url": "https://gitlab.com/operator-ict/golemio/code/modules/gardens"
12
+ "#ie/*": {
13
+ "development": "./src/integration-engine/*.ts",
14
+ "default": "./dist/integration-engine/*.js"
29
15
  },
30
- "engines": {
31
- "node": ">=24.0.0",
32
- "npm": ">=11.0.0"
16
+ "#og": {
17
+ "development": "./src/output-gateway/index.ts",
18
+ "default": "./dist/output-gateway/index.js"
33
19
  },
34
- "devDependencies": {
35
- "@commitlint/cli": "^16.2.1",
36
- "@commitlint/config-conventional": "^16.2.1",
37
- "@golemio/cli": "1.11.2",
38
- "@golemio/core": "3.0.3",
39
- "@golemio/db-common": "1.2.2",
40
- "@golemio/eslint-config": "1.1.3",
41
- "@types/chai": "^5.2.3",
42
- "@types/chai-as-promised": "^8.0.2",
43
- "@types/geojson": "^7946.0.10",
44
- "@types/mocha": "^10.0.10",
45
- "@types/node": "^24.12.4",
46
- "@types/sinon": "^21.0.0",
47
- "@types/supertest": "^6.0.3",
48
- "chai": "^6.2.2",
49
- "chai-as-promised": "^8.0.2",
50
- "cross-env": "^7.0.3",
51
- "dotenv": "^8.2.0",
52
- "eslint": "^8.1.1",
53
- "husky": "^4.3.7",
54
- "mocha": "^11.7.5",
55
- "npm-run-all": "^4.1.5",
56
- "nyc": "^15.1.0",
57
- "prettier": "^2.7.1",
58
- "pretty-quick": "^3.1.0",
59
- "rimraf": "^3.0.2",
60
- "sinon": "^21.0.1",
61
- "source-map-support": "0.5.21",
62
- "supertest": "^7.1.4",
63
- "ts-node": "^10.9.1",
64
- "ts-patch": "3.0.0-beta3",
65
- "tsconfig-paths": "^4.2.0",
66
- "typedoc": "^0.24.8",
67
- "typescript": "5.1.3",
68
- "typescript-transform-paths": "^3.4.6"
20
+ "#og/*": {
21
+ "development": "./src/output-gateway/*.ts",
22
+ "default": "./dist/output-gateway/*.js"
69
23
  },
70
- "peerDependencies": {
71
- "@golemio/core": ">=1.9.0"
24
+ "#sch": {
25
+ "development": "./src/schema-definitions/index.ts",
26
+ "default": "./dist/schema-definitions/index.js"
27
+ },
28
+ "#sch/*": {
29
+ "development": "./src/schema-definitions/*.ts",
30
+ "default": "./dist/schema-definitions/*.js"
72
31
  }
32
+ },
33
+ "scripts": {
34
+ "build": "rimraf ./dist && tsc -p ./tsconfig.build.json",
35
+ "build-minimal": "run-s 'build -- --sourceMap false --declaration false'",
36
+ "build-watch": "run-s 'build -- --watch --preserveWatchOutput'",
37
+ "migrate-db": "golemio migrate-db up --postgres",
38
+ "prepare-db": "golemio import-db-data --postgres",
39
+ "test:only": "cross-env NODE_ENV=test NODE_OPTIONS=\"--conditions=development --import=tsx\" mocha --exit --check-leaks --timeout 120000 -r dotenv/config --file 'test/setup.ts' 'test/**/*.test.ts'",
40
+ "test": "run-s prepare-db test:only",
41
+ "test-debug": "run-s 'test -- --inspect-brk=9230'",
42
+ "coverage:only": "nyc --reporter=text --reporter=lcov npm run test:only",
43
+ "code-coverage": "run-s prepare-db coverage:only",
44
+ "generate-docs": "typedoc --out docs/typedoc src",
45
+ "lint": "eslint \"{src,test}/**/*.ts\""
46
+ },
47
+ "keywords": [
48
+ "golemio"
49
+ ],
50
+ "author": "Operator ICT, a.s.",
51
+ "license": "MIT",
52
+ "repository": {
53
+ "type": "git",
54
+ "url": "https://gitlab.com/operator-ict/golemio/code/modules/gardens"
55
+ },
56
+ "engines": {
57
+ "node": ">=24.0.0",
58
+ "npm": ">=11.0.0"
59
+ },
60
+ "devDependencies": {
61
+ "@commitlint/cli": "^16.2.1",
62
+ "@commitlint/config-conventional": "^16.2.1",
63
+ "@golemio/cli": "1.11.2",
64
+ "@golemio/core": "3.2.2-dev.2622707631",
65
+ "@golemio/db-common": "1.2.2",
66
+ "@golemio/eslint-config": "1.1.4",
67
+ "@swc/core": "^1.15.33",
68
+ "@types/chai": "^5.2.3",
69
+ "@types/chai-as-promised": "^8.0.2",
70
+ "@types/geojson": "^7946.0.10",
71
+ "@types/mocha": "^10.0.10",
72
+ "@types/node": "^24.12.4",
73
+ "@types/sinon": "^21.0.0",
74
+ "@types/supertest": "^6.0.3",
75
+ "chai": "^6.2.2",
76
+ "chai-as-promised": "^8.0.2",
77
+ "cross-env": "^7.0.3",
78
+ "dotenv": "^8.2.0",
79
+ "eslint": "^8.1.1",
80
+ "husky": "^4.3.7",
81
+ "mocha": "^11.7.5",
82
+ "npm-run-all": "^4.1.5",
83
+ "nyc": "^15.1.0",
84
+ "prettier": "^2.7.1",
85
+ "pretty-quick": "^3.1.0",
86
+ "rimraf": "^3.0.2",
87
+ "sinon": "^21.0.1",
88
+ "source-map-support": "0.5.21",
89
+ "supertest": "^7.1.4",
90
+ "ts-node": "^10.9.2",
91
+ "typedoc": "^0.24.8",
92
+ "typescript": "6.0.3",
93
+ "tsx": "^4.20.6"
94
+ },
95
+ "peerDependencies": {
96
+ "@golemio/core": ">=1.9.0"
97
+ }
73
98
  }