From 771de3c4ed5d70ef37f018ba5ff25960c527e7ed Mon Sep 17 00:00:00 2001 From: build-pipeline <build-token> Date: Wed, 2 Feb 2022 14:01:54 +0000 Subject: [PATCH] publish: Merge branch 'feat/Add-new-elec-price' into 'dev' generated from commit 60a57dcf5e33d9c534d8f2a777039dff72977a9d --- ...094c8a63536ad3315d0.js => ecolyo.a979d58f0007f34f828f.js} | 5 +++-- index.html | 2 +- services/fluidsPrices/ecolyo.js | 3 ++- 3 files changed, 6 insertions(+), 4 deletions(-) rename app/{ecolyo.4094c8a63536ad3315d0.js => ecolyo.a979d58f0007f34f828f.js} (99%) diff --git a/app/ecolyo.4094c8a63536ad3315d0.js b/app/ecolyo.a979d58f0007f34f828f.js similarity index 99% rename from app/ecolyo.4094c8a63536ad3315d0.js rename to app/ecolyo.a979d58f0007f34f828f.js index 9433e3f71..3f9c265cb 100644 --- a/app/ecolyo.4094c8a63536ad3315d0.js +++ b/app/ecolyo.a979d58f0007f34f828f.js @@ -20048,7 +20048,8 @@ var FluidPricesService = /*#__PURE__*/function () { while (1) { switch (_context.prev = _context.next) { case 0: - query = (0, _cozyClient.Q)(_doctypes.FLUIDPRICES_DOCTYPE); + query = (0, _cozyClient.Q)(_doctypes.FLUIDPRICES_DOCTYPE).limitBy(900); //TODO : handle case of 1000+ entries in doctype + _context.next = 3; return this._client.query(query); @@ -27829,7 +27830,7 @@ exports.decoreText = decoreText; /***/ "j6C6": /***/ (function(module) { -module.exports = JSON.parse("[{\"fluidType\":0,\"price\":0.1256,\"startDate\":\"2012-07-23T00:00:00.000Z\",\"endDate\":\"2013-07-31T23:59:59.000Z\"},{\"fluidType\":0,\"price\":0.1329,\"startDate\":\"2013-08-01T00:00:00.000Z\",\"endDate\":\"2014-10-31T23:59:59.000Z\"},{\"fluidType\":0,\"price\":0.1401,\"startDate\":\"2014-01-11T00:00:00.000Z\",\"endDate\":\"2015-07-31T23:59:59.000Z\"},{\"fluidType\":0,\"price\":0.1437,\"startDate\":\"2015-08-01T00:00:00.000Z\",\"endDate\":\"2016-07-31T23:59:59.000Z\"},{\"fluidType\":0,\"price\":0.1503,\"startDate\":\"2016-08-01T00:00:00.000Z\",\"endDate\":\"2017-07-31T23:59:59.000Z\"},{\"fluidType\":0,\"price\":0.1546,\"startDate\":\"2017-08-01T00:00:00.000Z\",\"endDate\":\"2018-01-31T23:59:59.000Z\"},{\"fluidType\":0,\"price\":0.1555,\"startDate\":\"2018-02-01T00:00:00.000Z\",\"endDate\":\"2018-07-31T23:59:59.000Z\"},{\"fluidType\":0,\"price\":0.145,\"startDate\":\"2018-08-01T00:00:00.000Z\",\"endDate\":\"2019-05-31T23:59:59.000Z\"},{\"fluidType\":0,\"price\":0.1531,\"startDate\":\"2019-06-01T00:00:00.000Z\",\"endDate\":\"2019-07-31T23:59:59.000Z\"},{\"fluidType\":0,\"price\":0.1524,\"startDate\":\"2019-08-01T00:00:00.000Z\",\"endDate\":\"2020-01-31T23:59:59.000Z\"},{\"fluidType\":0,\"price\":0.1546,\"startDate\":\"2020-02-01T00:00:00.000Z\",\"endDate\":\"2020-07-31T23:59:59.000Z\"},{\"fluidType\":0,\"price\":0.1557,\"startDate\":\"2020-08-01T00:00:00.000Z\",\"endDate\":\"2021-01-31T23:59:59.000Z\"},{\"fluidType\":0,\"price\":0.1582,\"startDate\":\"2021-02-01T00:00:00.000Z\",\"endDate\":\"2021-07-31T23:59:59.000Z\"},{\"fluidType\":0,\"price\":0.1558,\"startDate\":\"2021-08-01T00:00:00.000Z\",\"endDate\":null},{\"fluidType\":1,\"price\":0.0030735,\"startDate\":\"2012-01-01T00:00:00.000Z\",\"endDate\":\"2012-12-31T23:59:59.000Z\"},{\"fluidType\":1,\"price\":0.0031483,\"startDate\":\"2013-01-01T00:00:00.000Z\",\"endDate\":\"2013-12-31T23:59:59.000Z\"},{\"fluidType\":1,\"price\":0.0031381,\"startDate\":\"2014-01-01T00:00:00.000Z\",\"endDate\":\"2014-12-31T23:59:59.000Z\"},{\"fluidType\":1,\"price\":0.00307,\"startDate\":\"2015-01-01T00:00:00.000Z\",\"endDate\":\"2015-12-31T23:59:59.000Z\"},{\"fluidType\":1,\"price\":0.0031,\"startDate\":\"2016-01-01T00:00:00.000Z\",\"endDate\":\"2016-12-31T23:59:59.000Z\"},{\"fluidType\":1,\"price\":0.00311,\"startDate\":\"2017-01-01T00:00:00.000Z\",\"endDate\":\"2017-12-31T23:59:59.000Z\"},{\"fluidType\":1,\"price\":0.00313,\"startDate\":\"2018-01-01T00:00:00.000Z\",\"endDate\":\"2018-12-31T23:59:59.000Z\"},{\"fluidType\":1,\"price\":0.00313,\"startDate\":\"2019-01-01T00:00:00.000Z\",\"endDate\":\"2019-12-31T23:59:59.000Z\"},{\"fluidType\":1,\"price\":0.00315,\"startDate\":\"2020-01-01T00:00:00.000Z\",\"endDate\":\"2020-12-31T23:59:59.000Z\"},{\"fluidType\":1,\"price\":0.00319,\"startDate\":\"2021-01-01T00:00:00.000Z\",\"endDate\":null},{\"fluidType\":2,\"price\":0.0919,\"startDate\":\"2017-01-01T00:00:00.000Z\",\"endDate\":\"2017-01-31T23:59:59.000Z\"},{\"fluidType\":2,\"price\":0.0915,\"startDate\":\"2017-02-01T00:00:00.000Z\",\"endDate\":\"2017-02-28T23:59:59.000Z\"},{\"fluidType\":2,\"price\":0.0932,\"startDate\":\"2017-03-01T00:00:00.000Z\",\"endDate\":\"2017-03-31T23:59:59.000Z\"},{\"fluidType\":2,\"price\":0.0927,\"startDate\":\"2017-04-01T00:00:00.000Z\",\"endDate\":\"2017-04-30T23:59:59.000Z\"},{\"fluidType\":2,\"price\":0.0906,\"startDate\":\"2017-05-01T00:00:00.000Z\",\"endDate\":\"2017-05-31T23:59:59.000Z\"},{\"fluidType\":2,\"price\":0.0906,\"startDate\":\"2017-06-01T00:00:00.000Z\",\"endDate\":\"2017-06-30T23:59:59.000Z\"},{\"fluidType\":2,\"price\":0.0788,\"startDate\":\"2017-07-01T00:00:00.000Z\",\"endDate\":\"2017-07-31T23:59:59.000Z\"},{\"fluidType\":2,\"price\":0.0783,\"startDate\":\"2017-08-01T00:00:00.000Z\",\"endDate\":\"2017-08-31T23:59:59.000Z\"},{\"fluidType\":2,\"price\":0.0783,\"startDate\":\"2017-09-01T00:00:00.000Z\",\"endDate\":\"2017-09-30T23:59:59.000Z\"},{\"fluidType\":2,\"price\":0.0791,\"startDate\":\"2017-10-01T00:00:00.000Z\",\"endDate\":\"2017-10-31T23:59:59.000Z\"},{\"fluidType\":2,\"price\":0.0806,\"startDate\":\"2017-11-01T00:00:00.000Z\",\"endDate\":\"2017-11-30T23:59:59.000Z\"},{\"fluidType\":2,\"price\":0.0812,\"startDate\":\"2017-12-01T00:00:00.000Z\",\"endDate\":\"2017-12-31T23:59:59.000Z\"},{\"fluidType\":2,\"price\":0.0857,\"startDate\":\"2018-01-01T00:00:00.000Z\",\"endDate\":\"2018-01-31T23:59:59.000Z\"},{\"fluidType\":2,\"price\":0.0866,\"startDate\":\"2018-02-01T00:00:00.000Z\",\"endDate\":\"2018-02-28T23:59:59.000Z\"},{\"fluidType\":2,\"price\":0.0847,\"startDate\":\"2018-03-01T00:00:00.000Z\",\"endDate\":\"2018-03-31T23:59:59.000Z\"},{\"fluidType\":2,\"price\":0.0839,\"startDate\":\"2018-04-01T00:00:00.000Z\",\"endDate\":\"2018-04-30T23:59:59.000Z\"},{\"fluidType\":2,\"price\":0.0842,\"startDate\":\"2018-05-01T00:00:00.000Z\",\"endDate\":\"2018-05-31T23:59:59.000Z\"},{\"fluidType\":2,\"price\":0.0855,\"startDate\":\"2018-06-01T00:00:00.000Z\",\"endDate\":\"2018-06-30T23:59:59.000Z\"},{\"fluidType\":2,\"price\":0.0959,\"startDate\":\"2018-07-01T00:00:00.000Z\",\"endDate\":\"2018-07-31T23:59:59.000Z\"},{\"fluidType\":2,\"price\":0.0961,\"startDate\":\"2018-08-01T00:00:00.000Z\",\"endDate\":\"2018-08-31T23:59:59.000Z\"},{\"fluidType\":2,\"price\":0.0967,\"startDate\":\"2018-09-01T00:00:00.000Z\",\"endDate\":\"2018-09-30T23:59:59.000Z\"},{\"fluidType\":2,\"price\":0.0989,\"startDate\":\"2018-10-01T00:00:00.000Z\",\"endDate\":\"2018-10-31T23:59:59.000Z\"},{\"fluidType\":2,\"price\":0.1031,\"startDate\":\"2018-11-01T00:00:00.000Z\",\"endDate\":\"2018-11-30T23:59:59.000Z\"},{\"fluidType\":2,\"price\":0.1013,\"startDate\":\"2018-12-01T00:00:00.000Z\",\"endDate\":\"2018-12-31T23:59:59.000Z\"},{\"fluidType\":2,\"price\":0.0999,\"startDate\":\"2019-01-01T00:00:00.000Z\",\"endDate\":\"2019-01-31T23:59:59.000Z\"},{\"fluidType\":2,\"price\":0.0993,\"startDate\":\"2019-02-01T00:00:00.000Z\",\"endDate\":\"2019-02-28T23:59:59.000Z\"},{\"fluidType\":2,\"price\":0.0993,\"startDate\":\"2019-03-01T00:00:00.000Z\",\"endDate\":\"2019-03-31T23:59:59.000Z\"},{\"fluidType\":2,\"price\":0.0977,\"startDate\":\"2019-04-01T00:00:00.000Z\",\"endDate\":\"2019-04-30T23:59:59.000Z\"},{\"fluidType\":2,\"price\":0.0973,\"startDate\":\"2019-05-01T00:00:00.000Z\",\"endDate\":\"2019-05-31T23:59:59.000Z\"},{\"fluidType\":2,\"price\":0.0969,\"startDate\":\"2019-06-01T00:00:00.000Z\",\"endDate\":\"2019-06-30T23:59:59.000Z\"},{\"fluidType\":2,\"price\":0.0795,\"startDate\":\"2019-07-01T00:00:00.000Z\",\"endDate\":\"2019-07-31T23:59:59.000Z\"},{\"fluidType\":2,\"price\":0.0791,\"startDate\":\"2019-08-01T00:00:00.000Z\",\"endDate\":\"2019-08-31T23:59:59.000Z\"},{\"fluidType\":2,\"price\":0.0785,\"startDate\":\"2019-09-01T00:00:00.000Z\",\"endDate\":\"2019-09-30T23:59:59.000Z\"},{\"fluidType\":2,\"price\":0.077,\"startDate\":\"2019-10-01T00:00:00.000Z\",\"endDate\":\"2019-10-31T23:59:59.000Z\"},{\"fluidType\":2,\"price\":0.0789,\"startDate\":\"2019-11-01T00:00:00.000Z\",\"endDate\":\"2019-11-30T23:59:59.000Z\"},{\"fluidType\":2,\"price\":0.0793,\"startDate\":\"2019-12-01T00:00:00.000Z\",\"endDate\":\"2019-12-31T23:59:59.000Z\"},{\"fluidType\":2,\"price\":0.0787,\"startDate\":\"2020-01-01T00:00:00.000Z\",\"endDate\":\"2020-01-31T23:59:59.000Z\"},{\"fluidType\":2,\"price\":0.0765,\"startDate\":\"2020-02-01T00:00:00.000Z\",\"endDate\":\"2020-02-29T23:59:59.000Z\"},{\"fluidType\":2,\"price\":0.0736,\"startDate\":\"2020-03-01T00:00:00.000Z\",\"endDate\":\"2020-03-31T23:59:59.000Z\"},{\"fluidType\":2,\"price\":0.071,\"startDate\":\"2020-04-01T00:00:00.000Z\",\"endDate\":\"2020-04-30T23:59:59.000Z\"},{\"fluidType\":2,\"price\":0.0703,\"startDate\":\"2020-05-01T00:00:00.000Z\",\"endDate\":\"2020-05-31T23:59:59.000Z\"},{\"fluidType\":2,\"price\":0.0687,\"startDate\":\"2020-06-01T00:00:00.000Z\",\"endDate\":\"2020-06-30T23:59:59.000Z\"},{\"fluidType\":2,\"price\":0.0698,\"startDate\":\"2020-07-01T00:00:00.000Z\",\"endDate\":\"2020-07-31T23:59:59.000Z\"},{\"fluidType\":2,\"price\":0.0705,\"startDate\":\"2020-08-01T00:00:00.000Z\",\"endDate\":\"2020-08-31T23:59:59.000Z\"},{\"fluidType\":2,\"price\":0.0709,\"startDate\":\"2020-09-01T00:00:00.000Z\",\"endDate\":\"2020-09-30T23:59:59.000Z\"},{\"fluidType\":2,\"price\":0.0735,\"startDate\":\"2020-10-01T00:00:00.000Z\",\"endDate\":\"2020-10-31T23:59:59.000Z\"},{\"fluidType\":2,\"price\":0.0745,\"startDate\":\"2020-11-01T00:00:00.000Z\",\"endDate\":\"2020-11-30T23:59:59.000Z\"},{\"fluidType\":2,\"price\":0.0759,\"startDate\":\"2020-12-01T00:00:00.000Z\",\"endDate\":\"2020-12-31T23:59:59.000Z\"},{\"fluidType\":2,\"price\":0.076,\"startDate\":\"2021-01-01T00:00:00.000Z\",\"endDate\":\"2021-01-31T23:59:59.000Z\"},{\"fluidType\":2,\"price\":0.0782,\"startDate\":\"2021-02-01T00:00:00.000Z\",\"endDate\":\"2021-02-28T23:59:59.000Z\"},{\"fluidType\":2,\"price\":0.0818,\"startDate\":\"2021-03-01T00:00:00.000Z\",\"endDate\":\"2021-03-31T23:59:59.000Z\"},{\"fluidType\":2,\"price\":0.079,\"startDate\":\"2021-04-01T00:00:00.000Z\",\"endDate\":\"2021-04-30T23:59:59.000Z\"},{\"fluidType\":2,\"price\":0.0797,\"startDate\":\"2021-05-01T00:00:00.000Z\",\"endDate\":\"2021-05-31T23:59:59.000Z\"},{\"fluidType\":2,\"price\":0.0826,\"startDate\":\"2021-06-01T00:00:00.000Z\",\"endDate\":\"2021-06-30T23:59:59.000Z\"},{\"fluidType\":2,\"price\":0.0895,\"startDate\":\"2021-07-01T00:00:00.000Z\",\"endDate\":\"2021-07-31T23:59:59.000Z\"},{\"fluidType\":2,\"price\":0.0934,\"startDate\":\"2021-08-01T00:00:00.000Z\",\"endDate\":\"2021-08-31T23:59:59.000Z\"},{\"fluidType\":2,\"price\":0.1002,\"startDate\":\"2021-09-01T00:00:00.000Z\",\"endDate\":\"2021-09-30T23:59:59.000Z\"},{\"fluidType\":2,\"price\":0.1121,\"startDate\":\"2021-10-01T00:00:00.000Z\",\"endDate\":null}]"); +module.exports = JSON.parse("[{\"fluidType\":0,\"price\":0.1256,\"startDate\":\"2012-07-23T00:00:00.000Z\",\"endDate\":\"2013-07-31T23:59:59.000Z\"},{\"fluidType\":0,\"price\":0.1329,\"startDate\":\"2013-08-01T00:00:00.000Z\",\"endDate\":\"2014-10-31T23:59:59.000Z\"},{\"fluidType\":0,\"price\":0.1401,\"startDate\":\"2014-01-11T00:00:00.000Z\",\"endDate\":\"2015-07-31T23:59:59.000Z\"},{\"fluidType\":0,\"price\":0.1437,\"startDate\":\"2015-08-01T00:00:00.000Z\",\"endDate\":\"2016-07-31T23:59:59.000Z\"},{\"fluidType\":0,\"price\":0.1503,\"startDate\":\"2016-08-01T00:00:00.000Z\",\"endDate\":\"2017-07-31T23:59:59.000Z\"},{\"fluidType\":0,\"price\":0.1546,\"startDate\":\"2017-08-01T00:00:00.000Z\",\"endDate\":\"2018-01-31T23:59:59.000Z\"},{\"fluidType\":0,\"price\":0.1555,\"startDate\":\"2018-02-01T00:00:00.000Z\",\"endDate\":\"2018-07-31T23:59:59.000Z\"},{\"fluidType\":0,\"price\":0.145,\"startDate\":\"2018-08-01T00:00:00.000Z\",\"endDate\":\"2019-05-31T23:59:59.000Z\"},{\"fluidType\":0,\"price\":0.1531,\"startDate\":\"2019-06-01T00:00:00.000Z\",\"endDate\":\"2019-07-31T23:59:59.000Z\"},{\"fluidType\":0,\"price\":0.1524,\"startDate\":\"2019-08-01T00:00:00.000Z\",\"endDate\":\"2020-01-31T23:59:59.000Z\"},{\"fluidType\":0,\"price\":0.1546,\"startDate\":\"2020-02-01T00:00:00.000Z\",\"endDate\":\"2020-07-31T23:59:59.000Z\"},{\"fluidType\":0,\"price\":0.1557,\"startDate\":\"2020-08-01T00:00:00.000Z\",\"endDate\":\"2021-01-31T23:59:59.000Z\"},{\"fluidType\":0,\"price\":0.1582,\"startDate\":\"2021-02-01T00:00:00.000Z\",\"endDate\":\"2021-07-31T23:59:59.000Z\"},{\"fluidType\":0,\"price\":0.1558,\"startDate\":\"2021-08-01T00:00:00.000Z\",\"endDate\":\"2022-01-31T23:59:59.000Z\"},{\"fluidType\":0,\"price\":0.174,\"startDate\":\"2022-02-01T00:00:00.000Z\",\"endDate\":null},{\"fluidType\":1,\"price\":0.0030735,\"startDate\":\"2012-01-01T00:00:00.000Z\",\"endDate\":\"2012-12-31T23:59:59.000Z\"},{\"fluidType\":1,\"price\":0.0031483,\"startDate\":\"2013-01-01T00:00:00.000Z\",\"endDate\":\"2013-12-31T23:59:59.000Z\"},{\"fluidType\":1,\"price\":0.0031381,\"startDate\":\"2014-01-01T00:00:00.000Z\",\"endDate\":\"2014-12-31T23:59:59.000Z\"},{\"fluidType\":1,\"price\":0.00307,\"startDate\":\"2015-01-01T00:00:00.000Z\",\"endDate\":\"2015-12-31T23:59:59.000Z\"},{\"fluidType\":1,\"price\":0.0031,\"startDate\":\"2016-01-01T00:00:00.000Z\",\"endDate\":\"2016-12-31T23:59:59.000Z\"},{\"fluidType\":1,\"price\":0.00311,\"startDate\":\"2017-01-01T00:00:00.000Z\",\"endDate\":\"2017-12-31T23:59:59.000Z\"},{\"fluidType\":1,\"price\":0.00313,\"startDate\":\"2018-01-01T00:00:00.000Z\",\"endDate\":\"2018-12-31T23:59:59.000Z\"},{\"fluidType\":1,\"price\":0.00313,\"startDate\":\"2019-01-01T00:00:00.000Z\",\"endDate\":\"2019-12-31T23:59:59.000Z\"},{\"fluidType\":1,\"price\":0.00315,\"startDate\":\"2020-01-01T00:00:00.000Z\",\"endDate\":\"2020-12-31T23:59:59.000Z\"},{\"fluidType\":1,\"price\":0.00319,\"startDate\":\"2021-01-01T00:00:00.000Z\",\"endDate\":null},{\"fluidType\":2,\"price\":0.0919,\"startDate\":\"2017-01-01T00:00:00.000Z\",\"endDate\":\"2017-01-31T23:59:59.000Z\"},{\"fluidType\":2,\"price\":0.0915,\"startDate\":\"2017-02-01T00:00:00.000Z\",\"endDate\":\"2017-02-28T23:59:59.000Z\"},{\"fluidType\":2,\"price\":0.0932,\"startDate\":\"2017-03-01T00:00:00.000Z\",\"endDate\":\"2017-03-31T23:59:59.000Z\"},{\"fluidType\":2,\"price\":0.0927,\"startDate\":\"2017-04-01T00:00:00.000Z\",\"endDate\":\"2017-04-30T23:59:59.000Z\"},{\"fluidType\":2,\"price\":0.0906,\"startDate\":\"2017-05-01T00:00:00.000Z\",\"endDate\":\"2017-05-31T23:59:59.000Z\"},{\"fluidType\":2,\"price\":0.0906,\"startDate\":\"2017-06-01T00:00:00.000Z\",\"endDate\":\"2017-06-30T23:59:59.000Z\"},{\"fluidType\":2,\"price\":0.0788,\"startDate\":\"2017-07-01T00:00:00.000Z\",\"endDate\":\"2017-07-31T23:59:59.000Z\"},{\"fluidType\":2,\"price\":0.0783,\"startDate\":\"2017-08-01T00:00:00.000Z\",\"endDate\":\"2017-08-31T23:59:59.000Z\"},{\"fluidType\":2,\"price\":0.0783,\"startDate\":\"2017-09-01T00:00:00.000Z\",\"endDate\":\"2017-09-30T23:59:59.000Z\"},{\"fluidType\":2,\"price\":0.0791,\"startDate\":\"2017-10-01T00:00:00.000Z\",\"endDate\":\"2017-10-31T23:59:59.000Z\"},{\"fluidType\":2,\"price\":0.0806,\"startDate\":\"2017-11-01T00:00:00.000Z\",\"endDate\":\"2017-11-30T23:59:59.000Z\"},{\"fluidType\":2,\"price\":0.0812,\"startDate\":\"2017-12-01T00:00:00.000Z\",\"endDate\":\"2017-12-31T23:59:59.000Z\"},{\"fluidType\":2,\"price\":0.0857,\"startDate\":\"2018-01-01T00:00:00.000Z\",\"endDate\":\"2018-01-31T23:59:59.000Z\"},{\"fluidType\":2,\"price\":0.0866,\"startDate\":\"2018-02-01T00:00:00.000Z\",\"endDate\":\"2018-02-28T23:59:59.000Z\"},{\"fluidType\":2,\"price\":0.0847,\"startDate\":\"2018-03-01T00:00:00.000Z\",\"endDate\":\"2018-03-31T23:59:59.000Z\"},{\"fluidType\":2,\"price\":0.0839,\"startDate\":\"2018-04-01T00:00:00.000Z\",\"endDate\":\"2018-04-30T23:59:59.000Z\"},{\"fluidType\":2,\"price\":0.0842,\"startDate\":\"2018-05-01T00:00:00.000Z\",\"endDate\":\"2018-05-31T23:59:59.000Z\"},{\"fluidType\":2,\"price\":0.0855,\"startDate\":\"2018-06-01T00:00:00.000Z\",\"endDate\":\"2018-06-30T23:59:59.000Z\"},{\"fluidType\":2,\"price\":0.0959,\"startDate\":\"2018-07-01T00:00:00.000Z\",\"endDate\":\"2018-07-31T23:59:59.000Z\"},{\"fluidType\":2,\"price\":0.0961,\"startDate\":\"2018-08-01T00:00:00.000Z\",\"endDate\":\"2018-08-31T23:59:59.000Z\"},{\"fluidType\":2,\"price\":0.0967,\"startDate\":\"2018-09-01T00:00:00.000Z\",\"endDate\":\"2018-09-30T23:59:59.000Z\"},{\"fluidType\":2,\"price\":0.0989,\"startDate\":\"2018-10-01T00:00:00.000Z\",\"endDate\":\"2018-10-31T23:59:59.000Z\"},{\"fluidType\":2,\"price\":0.1031,\"startDate\":\"2018-11-01T00:00:00.000Z\",\"endDate\":\"2018-11-30T23:59:59.000Z\"},{\"fluidType\":2,\"price\":0.1013,\"startDate\":\"2018-12-01T00:00:00.000Z\",\"endDate\":\"2018-12-31T23:59:59.000Z\"},{\"fluidType\":2,\"price\":0.0999,\"startDate\":\"2019-01-01T00:00:00.000Z\",\"endDate\":\"2019-01-31T23:59:59.000Z\"},{\"fluidType\":2,\"price\":0.0993,\"startDate\":\"2019-02-01T00:00:00.000Z\",\"endDate\":\"2019-02-28T23:59:59.000Z\"},{\"fluidType\":2,\"price\":0.0993,\"startDate\":\"2019-03-01T00:00:00.000Z\",\"endDate\":\"2019-03-31T23:59:59.000Z\"},{\"fluidType\":2,\"price\":0.0977,\"startDate\":\"2019-04-01T00:00:00.000Z\",\"endDate\":\"2019-04-30T23:59:59.000Z\"},{\"fluidType\":2,\"price\":0.0973,\"startDate\":\"2019-05-01T00:00:00.000Z\",\"endDate\":\"2019-05-31T23:59:59.000Z\"},{\"fluidType\":2,\"price\":0.0969,\"startDate\":\"2019-06-01T00:00:00.000Z\",\"endDate\":\"2019-06-30T23:59:59.000Z\"},{\"fluidType\":2,\"price\":0.0795,\"startDate\":\"2019-07-01T00:00:00.000Z\",\"endDate\":\"2019-07-31T23:59:59.000Z\"},{\"fluidType\":2,\"price\":0.0791,\"startDate\":\"2019-08-01T00:00:00.000Z\",\"endDate\":\"2019-08-31T23:59:59.000Z\"},{\"fluidType\":2,\"price\":0.0785,\"startDate\":\"2019-09-01T00:00:00.000Z\",\"endDate\":\"2019-09-30T23:59:59.000Z\"},{\"fluidType\":2,\"price\":0.077,\"startDate\":\"2019-10-01T00:00:00.000Z\",\"endDate\":\"2019-10-31T23:59:59.000Z\"},{\"fluidType\":2,\"price\":0.0789,\"startDate\":\"2019-11-01T00:00:00.000Z\",\"endDate\":\"2019-11-30T23:59:59.000Z\"},{\"fluidType\":2,\"price\":0.0793,\"startDate\":\"2019-12-01T00:00:00.000Z\",\"endDate\":\"2019-12-31T23:59:59.000Z\"},{\"fluidType\":2,\"price\":0.0787,\"startDate\":\"2020-01-01T00:00:00.000Z\",\"endDate\":\"2020-01-31T23:59:59.000Z\"},{\"fluidType\":2,\"price\":0.0765,\"startDate\":\"2020-02-01T00:00:00.000Z\",\"endDate\":\"2020-02-29T23:59:59.000Z\"},{\"fluidType\":2,\"price\":0.0736,\"startDate\":\"2020-03-01T00:00:00.000Z\",\"endDate\":\"2020-03-31T23:59:59.000Z\"},{\"fluidType\":2,\"price\":0.071,\"startDate\":\"2020-04-01T00:00:00.000Z\",\"endDate\":\"2020-04-30T23:59:59.000Z\"},{\"fluidType\":2,\"price\":0.0703,\"startDate\":\"2020-05-01T00:00:00.000Z\",\"endDate\":\"2020-05-31T23:59:59.000Z\"},{\"fluidType\":2,\"price\":0.0687,\"startDate\":\"2020-06-01T00:00:00.000Z\",\"endDate\":\"2020-06-30T23:59:59.000Z\"},{\"fluidType\":2,\"price\":0.0698,\"startDate\":\"2020-07-01T00:00:00.000Z\",\"endDate\":\"2020-07-31T23:59:59.000Z\"},{\"fluidType\":2,\"price\":0.0705,\"startDate\":\"2020-08-01T00:00:00.000Z\",\"endDate\":\"2020-08-31T23:59:59.000Z\"},{\"fluidType\":2,\"price\":0.0709,\"startDate\":\"2020-09-01T00:00:00.000Z\",\"endDate\":\"2020-09-30T23:59:59.000Z\"},{\"fluidType\":2,\"price\":0.0735,\"startDate\":\"2020-10-01T00:00:00.000Z\",\"endDate\":\"2020-10-31T23:59:59.000Z\"},{\"fluidType\":2,\"price\":0.0745,\"startDate\":\"2020-11-01T00:00:00.000Z\",\"endDate\":\"2020-11-30T23:59:59.000Z\"},{\"fluidType\":2,\"price\":0.0759,\"startDate\":\"2020-12-01T00:00:00.000Z\",\"endDate\":\"2020-12-31T23:59:59.000Z\"},{\"fluidType\":2,\"price\":0.076,\"startDate\":\"2021-01-01T00:00:00.000Z\",\"endDate\":\"2021-01-31T23:59:59.000Z\"},{\"fluidType\":2,\"price\":0.0782,\"startDate\":\"2021-02-01T00:00:00.000Z\",\"endDate\":\"2021-02-28T23:59:59.000Z\"},{\"fluidType\":2,\"price\":0.0818,\"startDate\":\"2021-03-01T00:00:00.000Z\",\"endDate\":\"2021-03-31T23:59:59.000Z\"},{\"fluidType\":2,\"price\":0.079,\"startDate\":\"2021-04-01T00:00:00.000Z\",\"endDate\":\"2021-04-30T23:59:59.000Z\"},{\"fluidType\":2,\"price\":0.0797,\"startDate\":\"2021-05-01T00:00:00.000Z\",\"endDate\":\"2021-05-31T23:59:59.000Z\"},{\"fluidType\":2,\"price\":0.0826,\"startDate\":\"2021-06-01T00:00:00.000Z\",\"endDate\":\"2021-06-30T23:59:59.000Z\"},{\"fluidType\":2,\"price\":0.0895,\"startDate\":\"2021-07-01T00:00:00.000Z\",\"endDate\":\"2021-07-31T23:59:59.000Z\"},{\"fluidType\":2,\"price\":0.0934,\"startDate\":\"2021-08-01T00:00:00.000Z\",\"endDate\":\"2021-08-31T23:59:59.000Z\"},{\"fluidType\":2,\"price\":0.1002,\"startDate\":\"2021-09-01T00:00:00.000Z\",\"endDate\":\"2021-09-30T23:59:59.000Z\"},{\"fluidType\":2,\"price\":0.1121,\"startDate\":\"2021-10-01T00:00:00.000Z\",\"endDate\":null}]"); /***/ }), diff --git a/index.html b/index.html index c0b860868..e06daebd4 100644 --- a/index.html +++ b/index.html @@ -1 +1 @@ -<!DOCTYPE html><html lang="{{.Locale}}"><head><meta charset="utf-8"><title>Ecolyo</title><link rel="icon" type="image/png" href="/favicon-32x32.png" sizes="32x32"><link rel="icon" type="image/png" href="/favicon-16x16.png" sizes="16x16"><!-- PWA Manifest --><link rel="manifest" href="/manifest.json" crossorigin="use-credentials"><link rel="mask-icon" href="/safari-pinned-tab.svg" color="#297EF2"><meta name="viewport" content="width=device-width,height=device-height,initial-scale=1,user-scalable=0,viewport-fit=cover"><!-- PWA Chrome --><link rel="icon" sizes="192x192" href="/android-chrome-192x192.png"><link rel="icon" sizes="512x512" href="/android-chrome-512x512.png"><!-- PWA iOS --><link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png"><link rel="apple-touch-startup-image" href="/apple-touch-icon.png"><meta name="apple-mobile-web-app-title" content="Ecolyo"><meta name="apple-mobile-web-app-capable" content="yes"><meta name="apple-mobile-web-app-status-bar-style" content="black">{{.ThemeCSS}} {{.CozyBar}}</head><body><div role="application" class="application" data-cozy-token="{{.Token}}" data-cozy-domain="{{.Domain}}" data-cozy-locale="{{.Locale}}" data-cozy-app-name="{{.AppName}}" data-cozy-app-slug="{{.AppSlug}}" data-cozy-app-name-prefix="{{.AppNamePrefix}}" data-cozy-app-editor="{{.AppEditor}}" data-cozy-icon-path="{{.IconPath}}"><script src="vendors/ecolyo.3256cfd41a1e2c66ff46.js"></script><script src="app/ecolyo.4094c8a63536ad3315d0.js"></script></div></body></html> \ No newline at end of file +<!DOCTYPE html><html lang="{{.Locale}}"><head><meta charset="utf-8"><title>Ecolyo</title><link rel="icon" type="image/png" href="/favicon-32x32.png" sizes="32x32"><link rel="icon" type="image/png" href="/favicon-16x16.png" sizes="16x16"><!-- PWA Manifest --><link rel="manifest" href="/manifest.json" crossorigin="use-credentials"><link rel="mask-icon" href="/safari-pinned-tab.svg" color="#297EF2"><meta name="viewport" content="width=device-width,height=device-height,initial-scale=1,user-scalable=0,viewport-fit=cover"><!-- PWA Chrome --><link rel="icon" sizes="192x192" href="/android-chrome-192x192.png"><link rel="icon" sizes="512x512" href="/android-chrome-512x512.png"><!-- PWA iOS --><link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png"><link rel="apple-touch-startup-image" href="/apple-touch-icon.png"><meta name="apple-mobile-web-app-title" content="Ecolyo"><meta name="apple-mobile-web-app-capable" content="yes"><meta name="apple-mobile-web-app-status-bar-style" content="black">{{.ThemeCSS}} {{.CozyBar}}</head><body><div role="application" class="application" data-cozy-token="{{.Token}}" data-cozy-domain="{{.Domain}}" data-cozy-locale="{{.Locale}}" data-cozy-app-name="{{.AppName}}" data-cozy-app-slug="{{.AppSlug}}" data-cozy-app-name-prefix="{{.AppNamePrefix}}" data-cozy-app-editor="{{.AppEditor}}" data-cozy-icon-path="{{.IconPath}}"><script src="vendors/ecolyo.3256cfd41a1e2c66ff46.js"></script><script src="app/ecolyo.a979d58f0007f34f828f.js"></script></div></body></html> \ No newline at end of file diff --git a/services/fluidsPrices/ecolyo.js b/services/fluidsPrices/ecolyo.js index 278a14824..87042e289 100644 --- a/services/fluidsPrices/ecolyo.js +++ b/services/fluidsPrices/ecolyo.js @@ -75985,7 +75985,8 @@ class FluidPricesService { async getAllPrices() { - const query = (0, _cozyClient.Q)(_doctypes.FLUIDPRICES_DOCTYPE); + const query = (0, _cozyClient.Q)(_doctypes.FLUIDPRICES_DOCTYPE).limitBy(900); //TODO : handle case of 1000+ entries in doctype + const { data: fluidsPrices } = await this._client.query(query); -- GitLab