@golemio/energetics 1.3.7-dev.1315648116 → 1.3.7-dev.1317526410
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/04_measurements.sql +27 -0
- package/db/migrations/postgresql/20240531150935-measurements-partitions.js +53 -0
- package/db/migrations/postgresql/sqls/20240531150935-measurements-partitions-down.sql +9 -0
- package/db/migrations/postgresql/sqls/20240531150935-measurements-partitions-up.sql +47 -0
- package/dist/output-gateway/constants/Links.d.ts +1 -0
- package/dist/output-gateway/constants/Links.js +2 -1
- package/dist/output-gateway/constants/Links.js.map +1 -1
- package/dist/output-gateway/{routers/helpers/parseParams.d.ts → controllers/helpers/parsePaginationParams.d.ts} +1 -1
- package/dist/output-gateway/{routers/helpers/parseParams.js → controllers/helpers/parsePaginationParams.js} +5 -5
- package/dist/output-gateway/controllers/helpers/parsePaginationParams.js.map +1 -0
- package/dist/output-gateway/controllers/interfaces/IMeasurementsParams.d.ts +15 -0
- package/dist/output-gateway/controllers/interfaces/IMeasurementsParams.js +3 -0
- package/dist/output-gateway/controllers/interfaces/IMeasurementsParams.js.map +1 -0
- package/dist/output-gateway/controllers/interfaces/IPaginationParams.js.map +1 -0
- package/dist/output-gateway/controllers/v2/V2DevicesController.js +2 -2
- package/dist/output-gateway/controllers/v2/V2DevicesController.js.map +1 -1
- package/dist/output-gateway/controllers/v2/V2MeasurementsController.d.ts +9 -0
- package/dist/output-gateway/controllers/v2/V2MeasurementsController.js +70 -0
- package/dist/output-gateway/controllers/v2/V2MeasurementsController.js.map +1 -0
- package/dist/output-gateway/controllers/v2/V2OrganizationsController.js +2 -2
- package/dist/output-gateway/controllers/v2/V2OrganizationsController.js.map +1 -1
- package/dist/output-gateway/index.d.ts +2 -1
- package/dist/output-gateway/index.js +3 -2
- package/dist/output-gateway/index.js.map +1 -1
- package/dist/output-gateway/ioc/Di.js +11 -3
- package/dist/output-gateway/ioc/Di.js.map +1 -1
- package/dist/output-gateway/ioc/ModuleContainerToken.d.ts +4 -0
- package/dist/output-gateway/ioc/ModuleContainerToken.js +4 -0
- package/dist/output-gateway/ioc/ModuleContainerToken.js.map +1 -1
- package/dist/output-gateway/models/BuildingsSecondaryModel.d.ts +1 -1
- package/dist/output-gateway/models/BuildingsSecondaryModel.js.map +1 -1
- package/dist/output-gateway/repositories/DevicesRepository.d.ts +1 -1
- package/dist/output-gateway/repositories/MeasurementRepository.d.ts +10 -0
- package/dist/output-gateway/repositories/MeasurementRepository.js +101 -0
- package/dist/output-gateway/repositories/MeasurementRepository.js.map +1 -0
- package/dist/output-gateway/repositories/OrganizationsRepository.d.ts +1 -1
- package/dist/output-gateway/routers/interfaces/IMeasurementResponse.d.ts +8 -0
- package/dist/output-gateway/routers/interfaces/IMeasurementResponse.js +3 -0
- package/dist/output-gateway/routers/interfaces/IMeasurementResponse.js.map +1 -0
- package/dist/output-gateway/routers/v2/{BuildingsRouter.d.ts → V2BuildingsRouter.d.ts} +1 -3
- package/dist/output-gateway/routers/v2/{BuildingsRouter.js → V2BuildingsRouter.js} +18 -7
- package/dist/output-gateway/routers/v2/V2BuildingsRouter.js.map +1 -0
- package/dist/output-gateway/routers/v2/V2MeasurementsRouter.d.ts +7 -0
- package/dist/output-gateway/routers/v2/V2MeasurementsRouter.js +66 -0
- package/dist/output-gateway/routers/v2/V2MeasurementsRouter.js.map +1 -0
- package/dist/schema-definitions/models/MeasurementsModel.js +3 -2
- package/dist/schema-definitions/models/MeasurementsModel.js.map +1 -1
- package/dist/schema-definitions/models/constants/MeasurementConstants.d.ts +2 -0
- package/dist/schema-definitions/models/constants/MeasurementConstants.js +19 -0
- package/dist/schema-definitions/models/constants/MeasurementConstants.js.map +1 -0
- package/docs/implementation_documentation.md +8 -0
- package/docs/openapi-output.yaml +210 -22
- package/package.json +1 -1
- package/dist/output-gateway/routers/helpers/parseParams.js.map +0 -1
- package/dist/output-gateway/routers/interfaces/IPaginationParams.js.map +0 -1
- package/dist/output-gateway/routers/v2/BuildingsRouter.js.map +0 -1
- /package/dist/output-gateway/{routers → controllers}/interfaces/IPaginationParams.d.ts +0 -0
- /package/dist/output-gateway/{routers → controllers}/interfaces/IPaginationParams.js +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"parseParams.js","sourceRoot":"","sources":["../../../../src/output-gateway/routers/helpers/parseParams.ts"],"names":[],"mappings":";;;AACA,6EAAwE;AAGxE,SAAgB,WAAW,CAAC,GAAY;IACpC,IAAI;QACA,OAAO;YACH,KAAK,EAAE,GAAG,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,QAAQ,CAAC,GAAG,CAAC,KAAK,CAAC,KAAe,CAAC,CAAC,CAAC,CAAC,SAAS;YACxE,MAAM,EAAE,GAAG,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,QAAQ,CAAC,GAAG,CAAC,KAAK,CAAC,MAAgB,CAAC,CAAC,CAAC,CAAC,SAAS;SAC9E,CAAC;KACL;IAAC,OAAO,GAAG,EAAE;QACV,MAAM,IAAI,6BAAY,CAAC,qBAAqB,EAAE,qBAAqB,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC;KAClF;AACL,CAAC;AATD,kCASC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IPaginationParams.js","sourceRoot":"","sources":["../../../../src/output-gateway/routers/interfaces/IPaginationParams.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BuildingsRouter.js","sourceRoot":"","sources":["../../../../src/output-gateway/routers/v2/BuildingsRouter.ts"],"names":[],"mappings":";;;AAAA,iDAAoD;AACpD,+DAA0D;AAC1D,kFAA6E;AAC7E,qCAAmD;AACnD,sFAAmF;AAEnF,6EAA2E;AAC3E,+DAAuE;AACvE,mFAAoE;AAEpE,MAAa,eAAgB,SAAQ,+BAAc;IAK/C;QACI,KAAK,CAAC,2BAAY,CAAC,EAAE,EAAE,qBAAa,CAAC,CAAC;QAHlC,WAAM,GAAG,CAAC,GAAG,EAAE,GAAG,EAAE,CAAC,CAAC,UAAU;QAIpC,IAAI,CAAC,UAAU,GAAG,IAAI,yCAAmB,EAAE,CAAC;QAC5C,IAAI,CAAC,qBAAqB,GAAG,0BAAqB,CAAC,OAAO,CAAwB,oBAAc,CAAC,qBAAqB,CAAC,CAAC;QACxH,IAAI,CAAC,UAAU,EAAE,CAAC;IACtB,CAAC;IAES,UAAU;QAChB,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,GAAG,EAAE,IAAI,CAAC,qBAAqB,CAAC,aAAa,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC;QACpG,IAAI,CAAC,MAAM,CAAC,GAAG,CACX,MAAM,EACN,IAAI,CAAC,qBAAqB,CAAC,aAAa,CAAC,IAAI,CAAC,MAAM,CAAC,EACrD,IAAA,yBAAK,EAAC,IAAI,CAAC,CAAC,MAAM,EAAE,CAAC,SAAS,EAAE,CAAC,GAAG,EAAE,CAAC,OAAO,EAAE,EAChD,wBAAW,EACX,IAAI,CAAC,UAAU,CAAC,MAAM,CACzB,CAAC;IACN,CAAC;CACJ;AAtBD,0CAsBC;AAED,MAAM,iBAAiB,GAAmB,IAAI,eAAe,EAAE,CAAC;AAEvD,8CAAiB"}
|
|
File without changes
|
|
File without changes
|