@golemio/core 1.2.2-dev.485952740 → 1.2.2-dev.486001369

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,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SequelizeModel = void 0;
4
- const database_1 = require("../database");
4
+ const PostgreDatabase_1 = require("../database/PostgreDatabase");
5
5
  const models_1 = require("./");
6
6
  /**
7
7
  * General model for data stored in PostgreSQL.
@@ -19,7 +19,7 @@ class SequelizeModel extends models_1.BaseModel {
19
19
  return;
20
20
  };
21
21
  // @ts-ignore
22
- this.sequelizeModel = database_1.sequelizeConnection.define(tableName, attributes, Object.assign({
22
+ this.sequelizeModel = PostgreDatabase_1.sequelizeConnection.define(tableName, attributes, Object.assign({
23
23
  // Remove all audit fields in the default scope: they will be automatically excluded,
24
24
  // as they're not needed in the output view, but are present in the table/data
25
25
  defaultScope: {
@@ -1 +1 @@
1
- {"version":3,"file":"SequelizeModel.js","sourceRoot":"","sources":["../../../src/output-gateway/models/SequelizeModel.ts"],"names":[],"mappings":";;;AACA,0CAAmD;AACnD,+BAAuC;AAEvC;;;;;GAKG;AACH,MAAsB,cAAe,SAAQ,kBAAS;IAOlD,YAAsB,IAAY,EAAE,SAAiB,EAAE,UAAgC,EAAE,OAA2B;QAChH,KAAK,CAAC,IAAI,CAAC,CAAC;QAchB;;WAEG;QACI,cAAS,GAAG,CAAC,MAAW,EAAQ,EAAE;YACrC,OAAO;QACX,CAAC,CAAC;QAlBE,aAAa;QACb,IAAI,CAAC,cAAc,GAAG,8BAAmB,CAAC,MAAM,CAAC,SAAS,EAAE,UAAU;YAClE,qFAAqF;YACrF,8EAA8E;YAC9E,YAAY,EAAE;gBACV,UAAU,EAAE;oBACR,OAAO,EAAE,CAAC,YAAY,EAAE,YAAY,EAAE,YAAY,EAAE,YAAY,EAAE,iBAAiB,EAAE,iBAAiB,CAAC;iBAC1G;aACJ,IACE,OAAO,EACZ,CAAC;IACP,CAAC;CAQJ;AA5BD,wCA4BC"}
1
+ {"version":3,"file":"SequelizeModel.js","sourceRoot":"","sources":["../../../src/output-gateway/models/SequelizeModel.ts"],"names":[],"mappings":";;;AACA,iEAAmE;AACnE,+BAAuC;AAEvC;;;;;GAKG;AACH,MAAsB,cAAe,SAAQ,kBAAS;IAOlD,YAAsB,IAAY,EAAE,SAAiB,EAAE,UAAgC,EAAE,OAA2B;QAChH,KAAK,CAAC,IAAI,CAAC,CAAC;QAchB;;WAEG;QACI,cAAS,GAAG,CAAC,MAAW,EAAQ,EAAE;YACrC,OAAO;QACX,CAAC,CAAC;QAlBE,aAAa;QACb,IAAI,CAAC,cAAc,GAAG,qCAAmB,CAAC,MAAM,CAAC,SAAS,EAAE,UAAU;YAClE,qFAAqF;YACrF,8EAA8E;YAC9E,YAAY,EAAE;gBACV,UAAU,EAAE;oBACR,OAAO,EAAE,CAAC,YAAY,EAAE,YAAY,EAAE,YAAY,EAAE,YAAY,EAAE,iBAAiB,EAAE,iBAAiB,CAAC;iBAC1G;aACJ,IACE,OAAO,EACZ,CAAC;IACP,CAAC;CAQJ;AA5BD,wCA4BC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@golemio/core",
3
- "version": "1.2.2-dev.485952740",
3
+ "version": "1.2.2-dev.486001369",
4
4
  "description": "Golemio Core Module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",