From 91a27e646be1f1e1b38fb5614aea6ccb0b57fa3b Mon Sep 17 00:00:00 2001 From: Florian Hotze Date: Mon, 19 Dec 2022 21:21:59 +0100 Subject: [PATCH] [items] ItemHistory: Add new methods (#196) * [items] ItemHistory: Fix typos in JSDoc * [items] ItemHistory: Add `count****` methods Reference https://github.com/openhab/openhab-core/pull/3145. Reference https://github.com/openhab/openhab-core/pull/3211. * [items] ItemHistory: Fix param JSDoc * Update CHANGELOG Signed-off-by: Florian Hotze --- CHANGELOG.md | 1 + items/item-history.js | 164 ++++++++++++++++--------- types/items/item-history.d.ts | 198 +++++++++++++++++------------- types/items/item-history.d.ts.map | 2 +- 4 files changed, 223 insertions(+), 142 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0308c17df..f3a69c17e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ | Type | Namespace | Description | Reference | Breaking | |-------------|------------|----------------------------------------------------------|--------------------------------------------------------|----------| | Enhancement | `triggers` | Add support for `Item` as argument & Add arg type checks | [#194](https://github.com/openhab/openhab-js/pull/194) | No | +| Enhancement | `items` | ItemHistory: Add new persistence methods | [#196](https://github.com/openhab/openhab-js/pull/196) | No | Also see the [Release Milestone](https://github.com/openhab/openhab-js/milestone/10). diff --git a/items/item-history.js b/items/item-history.js index 1b5621558..7aa1959c1 100644 --- a/items/item-history.js +++ b/items/item-history.js @@ -19,9 +19,9 @@ class ItemHistory { /** * Gets the average value of the state of a given Item between two certain points in time. * - * @param {(ZonedDateTime | Date)} begin begin - * @param {(ZonedDateTime | Date)} end end - * @param {string} [serviceId] Optional persistance service ID, if omitted, the default persistance service will be used. + * @param {(time.ZonedDateTime | Date)} begin begin + * @param {(time.ZonedDateTime | Date)} end end + * @param {string} [serviceId] Optional persistence service ID, if omitted, the default persistence service will be used. * @returns {(number | null)} */ averageBetween (begin, end, serviceId) { @@ -36,8 +36,8 @@ class ItemHistory { * var item = items.getItem('KitchenDimmer'); * console.log('KitchenDimmer average since yesterday', item.history.averageSince(yesterday)); * - * @param {(ZonedDateTime | Date)} timestamp - * @param {string} [serviceId] Optional persistance service ID, if omitted, the default persistance service will be used. + * @param {(time.ZonedDateTime | Date)} timestamp + * @param {string} [serviceId] Optional persistence service ID, if omitted, the default persistence service will be used. * @returns {(number | null)} */ averageSince (timestamp, serviceId) { @@ -47,9 +47,9 @@ class ItemHistory { /** * Checks if the state of a given Item has changed between two certain points in time. * - * @param {(ZonedDateTime | Date)} begin begin - * @param {(ZonedDateTime | Date)} end end - * @param {string} [serviceId] Optional persistance service ID, if omitted, the default persistance service will be used. + * @param {(time.ZonedDateTime | Date)} begin begin + * @param {(time.ZonedDateTime | Date)} end end + * @param {string} [serviceId] Optional persistence service ID, if omitted, the default persistence service will be used. * @returns {boolean} */ changedBetween (begin, end, serviceId) { @@ -59,20 +59,66 @@ class ItemHistory { /** * Checks if the state of a given Item has changed since a certain point in time. * - * @param {(ZonedDateTime | Date)} timestamp - * @param {string} [serviceId] Optional persistance service ID, if omitted, the default persistance service will be used. + * @param {(time.ZonedDateTime | Date)} timestamp + * @param {string} [serviceId] Optional persistence service ID, if omitted, the default persistence service will be used. * @returns {boolean} */ changedSince (timestamp, serviceId) { return PersistenceExtensions.changedSince(this.rawItem, ...arguments); } + /** + * Gets the number of available historic data points of a given Item between two certain points in time. + * + * @param {(time.ZonedDateTime | Date)} begin begin + * @param {(time.ZonedDateTime | Date)} end end + * @param {string} [serviceId] Optional persistence service ID, if omitted, the default persistence service will be used. + * @returns {number} + */ + countBetween (begin, end, serviceId) { + return PersistenceExtensions.countBetween(this.rawItem, ...arguments); + } + + /** + * Gets the number of available historic data points of a given Item since a certain point in time. + * + * @param {(time.ZonedDateTime | Date)} timestamp + * @param {string} [serviceId] Optional persistence service ID, if omitted, the default persistence service will be used. + * @returns {number} + */ + countSince (timestamp, serviceId) { + return PersistenceExtensions.countSince(this.rawItem, ...arguments); + } + + /** + * Gets the number of changes in historic data points of a given Item between two certain points in time. + * + * @param {(time.ZonedDateTime | Date)} begin begin + * @param {(time.ZonedDateTime | Date)} end end + * @param {string} [serviceId] Optional persistence service ID, if omitted, the default persistence service will be used. + * @returns {number} + */ + countStateChangesBetween (begin, end, serviceId) { + return PersistenceExtensions.countStateChangesBetween(this.rawItem, ...arguments); + } + + /** + * Gets the number of changes in historic data points of a given Item since a certain point in time. + * + * @param {(time.ZonedDateTime | Date)} timestamp + * @param {string} [serviceId] Optional persistence service ID, if omitted, the default persistence service will be used. + * @returns {number} + */ + countStateChangesSince (timestamp, serviceId) { + return PersistenceExtensions.countStateChangesSince(this.rawItem, ...arguments); + } + /** * Gets the difference value of the state of a given Item between two certain points in time. * - * @param {(ZonedDateTime | Date)} begin begin - * @param {(ZonedDateTime | Date)} end end - * @param {string} [serviceId] Optional persistance service ID, if omitted, the default persistance service will be used. + * @param {(time.ZonedDateTime | Date)} begin begin + * @param {(time.ZonedDateTime | Date)} end end + * @param {string} [serviceId] Optional persistence service ID, if omitted, the default persistence service will be used. * @returns {(number | null)} */ deltaBetween (begin, end, serviceId) { @@ -82,8 +128,8 @@ class ItemHistory { /** * Gets the difference value of the state of a given Item since a certain point in time. * - * @param {(ZonedDateTime | Date)} timestamp - * @param {string} [serviceId] Optional persistance service ID, if omitted, the default persistance service will be used. + * @param {(time.ZonedDateTime | Date)} timestamp + * @param {string} [serviceId] Optional persistence service ID, if omitted, the default persistence service will be used. * @returns {(number | null)} */ deltaSince (timestamp, serviceId) { @@ -93,9 +139,9 @@ class ItemHistory { /** * Gets the standard deviation of the state of the given Item between two certain points in time. * - * @param {(ZonedDateTime | Date)} begin begin - * @param {(ZonedDateTime | Date)} end end - * @param {string} [serviceId] Optional persistance service ID, if omitted, the default persistance service will be used. + * @param {(time.ZonedDateTime | Date)} begin begin + * @param {(time.ZonedDateTime | Date)} end end + * @param {string} [serviceId] Optional persistence service ID, if omitted, the default persistence service will be used. * @returns {(number | null)} */ deviationBetween (begin, end, serviceId) { @@ -105,8 +151,8 @@ class ItemHistory { /** * Gets the standard deviation of the state of the given Item since a certain point in time. * - * @param {(ZonedDateTime | Date)} timestamp - * @param {string} [serviceId] Optional persistance service ID, if omitted, the default persistance service will be used. + * @param {(time.ZonedDateTime | Date)} timestamp + * @param {string} [serviceId] Optional persistence service ID, if omitted, the default persistence service will be used. * @returns {(number | null)} */ deviationSince (timestamp, serviceId) { @@ -117,8 +163,8 @@ class ItemHistory { * Gets the evolution rate of the state of a given Item since a certain point in time. * * @deprecated Replaced by evolutionRateSince and evolutionRateBetween. - * @param {(ZonedDateTime | Date)} timestamp - * @param {string} [serviceId] Optional persistance service ID, if omitted, the default persistance service will be used. + * @param {(time.ZonedDateTime | Date)} timestamp + * @param {string} [serviceId] Optional persistence service ID, if omitted, the default persistence service will be used. * @returns {(number | null)} */ evolutionRate (timestamp, serviceId) { @@ -129,9 +175,9 @@ class ItemHistory { /** * Gets the evolution rate of the state of a given Item between two certain points in time. * - * @param {(ZonedDateTime | Date)} begin begin - * @param {(ZonedDateTime | Date)} end end - * @param {string} [serviceId] Optional persistance service ID, if omitted, the default persistance service will be used. + * @param {(time.ZonedDateTime | Date)} begin begin + * @param {(time.ZonedDateTime | Date)} end end + * @param {string} [serviceId] Optional persistence service ID, if omitted, the default persistence service will be used. * @returns {(number | null)} */ evolutionRateBetween (begin, end, serviceId) { @@ -141,8 +187,8 @@ class ItemHistory { /** * Gets the evolution rate of the state of a given Item since a certain point in time. * - * @param {(ZonedDateTime | Date)} timestamp - * @param {string} [serviceId] Optional persistance service ID, if omitted, the default persistance service will be used. + * @param {(time.ZonedDateTime | Date)} timestamp + * @param {string} [serviceId] Optional persistence service ID, if omitted, the default persistence service will be used. * @returns {(number | null)} */ evolutionRateSince (timestamp, serviceId) { @@ -152,8 +198,8 @@ class ItemHistory { /** * Retrieves the historic state for a given Item at a certain point in time. * - * @param {(ZonedDateTime | Date)} timestamp - * @param {string} [serviceId] Optional persistance service ID, if omitted, the default persistance service will be used. + * @param {(time.ZonedDateTime | Date)} timestamp + * @param {string} [serviceId] Optional persistence service ID, if omitted, the default persistence service will be used. * @returns {(string | null)} state */ historicState (timestamp, serviceId) { @@ -163,8 +209,8 @@ class ItemHistory { /** * Query the last update time of a given Item. * - * @param {string} [serviceId] Optional persistance service ID, if omitted, the default persistance service will be used. - * @returns {(ZonedDateTime | null)} + * @param {string} [serviceId] Optional persistence service ID, if omitted, the default persistence service will be used. + * @returns {(time.ZonedDateTime | null)} */ lastUpdate (serviceId) { return this._dateOrNull(PersistenceExtensions.lastUpdate(this.rawItem, ...arguments)); @@ -173,7 +219,7 @@ class ItemHistory { /** * Retrieves the historic item state for a given Item at the current point in time. * - * @param {string} [serviceId] Optional persistance service ID, if omitted, the default persistance service will be used. + * @param {string} [serviceId] Optional persistence service ID, if omitted, the default persistence service will be used. * @returns {(string | null)} state */ latestState (serviceId) { @@ -183,9 +229,9 @@ class ItemHistory { /** * Gets the state with the maximum value of a given Item between two certain points in time. * - * @param {(ZonedDateTime | Date)} begin begin - * @param {(ZonedDateTime | Date)} end end - * @param {string} [serviceId] Optional persistance service ID, if omitted, the default persistance service will be used. + * @param {(time.ZonedDateTime | Date)} begin begin + * @param {(time.ZonedDateTime | Date)} end end + * @param {string} [serviceId] Optional persistence service ID, if omitted, the default persistence service will be used. * @returns {(number | null)} state or null */ maximumBetween (begin, end, serviceId) { @@ -197,8 +243,8 @@ class ItemHistory { /** * Gets the state with the maximum value of a given Item since a certain point in time. * - * @param {(ZonedDateTime | Date)} timestamp - * @param {string} [serviceId] Optional persistance service ID, if omitted, the default persistance service will be used. + * @param {(time.ZonedDateTime | Date)} timestamp + * @param {string} [serviceId] Optional persistence service ID, if omitted, the default persistence service will be used. * @returns {(number | null)} state or null */ maximumSince (timestamp, serviceId) { @@ -210,9 +256,9 @@ class ItemHistory { /** * Gets the state with the minimum value of a given Item between two certain points in time. * - * @param {(ZonedDateTime | Date)} begin begin - * @param {(ZonedDateTime | Date)} end end - * @param {string} [serviceId] Optional persistance service ID, if omitted, the default persistance service will be used. + * @param {(time.ZonedDateTime | Date)} begin begin + * @param {(time.ZonedDateTime | Date)} end end + * @param {string} [serviceId] Optional persistence service ID, if omitted, the default persistence service will be used. * @returns {(number | null)} state or null */ minimumBetween (begin, end, serviceId) { @@ -224,8 +270,8 @@ class ItemHistory { /** * Gets the state with the minimum value of a given Item since a certain point in time. * - * @param {(ZonedDateTime | Date)} timestamp - * @param {string} [serviceId] Optional persistance service ID, if omitted, the default persistance service will be used. + * @param {(time.ZonedDateTime | Date)} timestamp + * @param {string} [serviceId] Optional persistence service ID, if omitted, the default persistence service will be used. * @returns {(number | null)} state or null */ minimumSince (timestamp, serviceId) { @@ -237,7 +283,7 @@ class ItemHistory { /** * Persists the state of a given Item. * - * @param {string} [serviceId] Optional persistance service ID, if omitted, the default persistance service will be used. + * @param {string} [serviceId] Optional persistence service ID, if omitted, the default persistence service will be used. */ persist (serviceId) { PersistenceExtensions.persist(this.rawItem, ...arguments); @@ -247,7 +293,7 @@ class ItemHistory { * Returns the previous state of a given Item. * * @param {boolean} [skipEqual] optional, if true, skips equal state values and searches the first state not equal the current state - * @param {string} [serviceId] Optional persistance service ID, if omitted, the default persistance service will be used. + * @param {string} [serviceId] Optional persistence service ID, if omitted, the default persistence service will be used. * @returns {(string | null)} state or null */ previousState (skipEqual, serviceId) { @@ -257,9 +303,9 @@ class ItemHistory { /** * Gets the sum of the states of a given Item between two certain points in time. * - * @param {(ZonedDateTime | Date)} begin begin - * @param {(ZonedDateTime | Date)} end end - * @param {string} [serviceId] Optional persistance service ID, if omitted, the default persistance service will be used. + * @param {(time.ZonedDateTime | Date)} begin begin + * @param {(time.ZonedDateTime | Date)} end end + * @param {string} [serviceId] Optional persistence service ID, if omitted, the default persistence service will be used. * @returns {(number | null)} */ sumBetween (begin, end, serviceId) { @@ -269,8 +315,8 @@ class ItemHistory { /** * Gets the sum of the states of a given Item since a certain point in time. * - * @param {(ZonedDateTime | Date)} timestamp - * @param {string} [serviceId] Optional persistance service ID, if omitted, the default persistance service will be used. + * @param {(time.ZonedDateTime | Date)} timestamp + * @param {string} [serviceId] Optional persistence service ID, if omitted, the default persistence service will be used. * @returns {(number | null)} */ sumSince (timestamp, serviceId) { @@ -280,9 +326,9 @@ class ItemHistory { /** * Checks if the state of a given Item has been updated between two certain points in time. * - * @param {(ZonedDateTime | Date)} begin begin - * @param {(ZonedDateTime | Date)} end end - * @param {string} [serviceId] Optional persistance service ID, if omitted, the default persistance service will be used. + * @param {(time.ZonedDateTime | Date)} begin begin + * @param {(time.ZonedDateTime | Date)} end end + * @param {string} [serviceId] Optional persistence service ID, if omitted, the default persistence service will be used. * @returns {boolean} */ updatedBetween (begin, end, serviceId) { @@ -292,8 +338,8 @@ class ItemHistory { /** * Checks if the state of a given Item has been updated since a certain point in time. * - * @param {(ZonedDateTime | Date)} timestamp - * @param {string} [serviceId] Optional persistance service ID, if omitted, the default persistance service will be used. + * @param {(time.ZonedDateTime | Date)} timestamp + * @param {string} [serviceId] Optional persistence service ID, if omitted, the default persistence service will be used. * @returns {boolean} */ updatedSince (timestamp, serviceId) { @@ -303,9 +349,9 @@ class ItemHistory { /** * Gets the variance of the state of the given Item between two certain points in time. * - * @param {(ZonedDateTime | Date)} begin begin - * @param {(ZonedDateTime | Date)} end end - * @param {string} [serviceId] Optional persistance service ID, if omitted, the default persistance service will be used. + * @param {(time.ZonedDateTime | Date)} begin begin + * @param {(time.ZonedDateTime | Date)} end end + * @param {string} [serviceId] Optional persistence service ID, if omitted, the default persistence service will be used. * @returns {(number | null)} */ varianceBetween (begin, end, serviceId) { @@ -315,8 +361,8 @@ class ItemHistory { /** * Gets the variance of the state of the given Item since a certain point in time. * - * @param {(ZonedDateTime | Date)} timestamp - * @param {string} [serviceId] Optional persistance service ID, if omitted, the default persistance service will be used. + * @param {(time.ZonedDateTime | Date)} timestamp + * @param {string} [serviceId] Optional persistence service ID, if omitted, the default persistence service will be used. * @returns {(number | null)} */ varianceSince (timestamp, serviceId) { diff --git a/types/items/item-history.d.ts b/types/items/item-history.d.ts index 163dd74e5..ad5b04973 100644 --- a/types/items/item-history.d.ts +++ b/types/items/item-history.d.ts @@ -13,12 +13,12 @@ declare class ItemHistory { /** * Gets the average value of the state of a given Item between two certain points in time. * - * @param {(ZonedDateTime | Date)} begin begin - * @param {(ZonedDateTime | Date)} end end - * @param {string} [serviceId] Optional persistance service ID, if omitted, the default persistance service will be used. + * @param {(time.ZonedDateTime | Date)} begin begin + * @param {(time.ZonedDateTime | Date)} end end + * @param {string} [serviceId] Optional persistence service ID, if omitted, the default persistence service will be used. * @returns {(number | null)} */ - averageBetween(begin: (ZonedDateTime | Date), end: (ZonedDateTime | Date), serviceId?: string, ...args: any[]): (number | null); + averageBetween(begin: (time.ZonedDateTime | Date), end: (time.ZonedDateTime | Date), serviceId?: string, ...args: any[]): (number | null); /** * Gets the average value of the state of a given Item since a certain point in time. * @@ -27,209 +27,243 @@ declare class ItemHistory { * var item = items.getItem('KitchenDimmer'); * console.log('KitchenDimmer average since yesterday', item.history.averageSince(yesterday)); * - * @param {(ZonedDateTime | Date)} timestamp - * @param {string} [serviceId] Optional persistance service ID, if omitted, the default persistance service will be used. + * @param {(time.ZonedDateTime | Date)} timestamp + * @param {string} [serviceId] Optional persistence service ID, if omitted, the default persistence service will be used. * @returns {(number | null)} */ - averageSince(timestamp: (ZonedDateTime | Date), serviceId?: string, ...args: any[]): (number | null); + averageSince(timestamp: (time.ZonedDateTime | Date), serviceId?: string, ...args: any[]): (number | null); /** * Checks if the state of a given Item has changed between two certain points in time. * - * @param {(ZonedDateTime | Date)} begin begin - * @param {(ZonedDateTime | Date)} end end - * @param {string} [serviceId] Optional persistance service ID, if omitted, the default persistance service will be used. + * @param {(time.ZonedDateTime | Date)} begin begin + * @param {(time.ZonedDateTime | Date)} end end + * @param {string} [serviceId] Optional persistence service ID, if omitted, the default persistence service will be used. * @returns {boolean} */ - changedBetween(begin: (ZonedDateTime | Date), end: (ZonedDateTime | Date), serviceId?: string, ...args: any[]): boolean; + changedBetween(begin: (time.ZonedDateTime | Date), end: (time.ZonedDateTime | Date), serviceId?: string, ...args: any[]): boolean; /** * Checks if the state of a given Item has changed since a certain point in time. * - * @param {(ZonedDateTime | Date)} timestamp - * @param {string} [serviceId] Optional persistance service ID, if omitted, the default persistance service will be used. + * @param {(time.ZonedDateTime | Date)} timestamp + * @param {string} [serviceId] Optional persistence service ID, if omitted, the default persistence service will be used. * @returns {boolean} */ - changedSince(timestamp: (ZonedDateTime | Date), serviceId?: string, ...args: any[]): boolean; + changedSince(timestamp: (time.ZonedDateTime | Date), serviceId?: string, ...args: any[]): boolean; + /** + * Gets the number of available historic data points of a given Item between two certain points in time. + * + * @param {(time.ZonedDateTime | Date)} begin begin + * @param {(time.ZonedDateTime | Date)} end end + * @param {string} [serviceId] Optional persistence service ID, if omitted, the default persistence service will be used. + * @returns {number} + */ + countBetween(begin: (time.ZonedDateTime | Date), end: (time.ZonedDateTime | Date), serviceId?: string, ...args: any[]): number; + /** + * Gets the number of available historic data points of a given Item since a certain point in time. + * + * @param {(time.ZonedDateTime | Date)} timestamp + * @param {string} [serviceId] Optional persistence service ID, if omitted, the default persistence service will be used. + * @returns {number} + */ + countSince(timestamp: (time.ZonedDateTime | Date), serviceId?: string, ...args: any[]): number; + /** + * Gets the number of changes in historic data points of a given Item between two certain points in time. + * + * @param {(time.ZonedDateTime | Date)} begin begin + * @param {(time.ZonedDateTime | Date)} end end + * @param {string} [serviceId] Optional persistence service ID, if omitted, the default persistence service will be used. + * @returns {number} + */ + countStateChangesBetween(begin: (time.ZonedDateTime | Date), end: (time.ZonedDateTime | Date), serviceId?: string, ...args: any[]): number; + /** + * Gets the number of changes in historic data points of a given Item since a certain point in time. + * + * @param {(time.ZonedDateTime | Date)} timestamp + * @param {string} [serviceId] Optional persistence service ID, if omitted, the default persistence service will be used. + * @returns {number} + */ + countStateChangesSince(timestamp: (time.ZonedDateTime | Date), serviceId?: string, ...args: any[]): number; /** * Gets the difference value of the state of a given Item between two certain points in time. * - * @param {(ZonedDateTime | Date)} begin begin - * @param {(ZonedDateTime | Date)} end end - * @param {string} [serviceId] Optional persistance service ID, if omitted, the default persistance service will be used. + * @param {(time.ZonedDateTime | Date)} begin begin + * @param {(time.ZonedDateTime | Date)} end end + * @param {string} [serviceId] Optional persistence service ID, if omitted, the default persistence service will be used. * @returns {(number | null)} */ - deltaBetween(begin: (ZonedDateTime | Date), end: (ZonedDateTime | Date), serviceId?: string, ...args: any[]): (number | null); + deltaBetween(begin: (time.ZonedDateTime | Date), end: (time.ZonedDateTime | Date), serviceId?: string, ...args: any[]): (number | null); /** * Gets the difference value of the state of a given Item since a certain point in time. * - * @param {(ZonedDateTime | Date)} timestamp - * @param {string} [serviceId] Optional persistance service ID, if omitted, the default persistance service will be used. + * @param {(time.ZonedDateTime | Date)} timestamp + * @param {string} [serviceId] Optional persistence service ID, if omitted, the default persistence service will be used. * @returns {(number | null)} */ - deltaSince(timestamp: (ZonedDateTime | Date), serviceId?: string, ...args: any[]): (number | null); + deltaSince(timestamp: (time.ZonedDateTime | Date), serviceId?: string, ...args: any[]): (number | null); /** * Gets the standard deviation of the state of the given Item between two certain points in time. * - * @param {(ZonedDateTime | Date)} begin begin - * @param {(ZonedDateTime | Date)} end end - * @param {string} [serviceId] Optional persistance service ID, if omitted, the default persistance service will be used. + * @param {(time.ZonedDateTime | Date)} begin begin + * @param {(time.ZonedDateTime | Date)} end end + * @param {string} [serviceId] Optional persistence service ID, if omitted, the default persistence service will be used. * @returns {(number | null)} */ - deviationBetween(begin: (ZonedDateTime | Date), end: (ZonedDateTime | Date), serviceId?: string, ...args: any[]): (number | null); + deviationBetween(begin: (time.ZonedDateTime | Date), end: (time.ZonedDateTime | Date), serviceId?: string, ...args: any[]): (number | null); /** * Gets the standard deviation of the state of the given Item since a certain point in time. * - * @param {(ZonedDateTime | Date)} timestamp - * @param {string} [serviceId] Optional persistance service ID, if omitted, the default persistance service will be used. + * @param {(time.ZonedDateTime | Date)} timestamp + * @param {string} [serviceId] Optional persistence service ID, if omitted, the default persistence service will be used. * @returns {(number | null)} */ - deviationSince(timestamp: (ZonedDateTime | Date), serviceId?: string, ...args: any[]): (number | null); + deviationSince(timestamp: (time.ZonedDateTime | Date), serviceId?: string, ...args: any[]): (number | null); /** * Gets the evolution rate of the state of a given Item since a certain point in time. * * @deprecated Replaced by evolutionRateSince and evolutionRateBetween. - * @param {(ZonedDateTime | Date)} timestamp - * @param {string} [serviceId] Optional persistance service ID, if omitted, the default persistance service will be used. + * @param {(time.ZonedDateTime | Date)} timestamp + * @param {string} [serviceId] Optional persistence service ID, if omitted, the default persistence service will be used. * @returns {(number | null)} */ - evolutionRate(timestamp: (ZonedDateTime | Date), serviceId?: string, ...args: any[]): (number | null); + evolutionRate(timestamp: (time.ZonedDateTime | Date), serviceId?: string, ...args: any[]): (number | null); /** * Gets the evolution rate of the state of a given Item between two certain points in time. * - * @param {(ZonedDateTime | Date)} begin begin - * @param {(ZonedDateTime | Date)} end end - * @param {string} [serviceId] Optional persistance service ID, if omitted, the default persistance service will be used. + * @param {(time.ZonedDateTime | Date)} begin begin + * @param {(time.ZonedDateTime | Date)} end end + * @param {string} [serviceId] Optional persistence service ID, if omitted, the default persistence service will be used. * @returns {(number | null)} */ - evolutionRateBetween(begin: (ZonedDateTime | Date), end: (ZonedDateTime | Date), serviceId?: string, ...args: any[]): (number | null); + evolutionRateBetween(begin: (time.ZonedDateTime | Date), end: (time.ZonedDateTime | Date), serviceId?: string, ...args: any[]): (number | null); /** * Gets the evolution rate of the state of a given Item since a certain point in time. * - * @param {(ZonedDateTime | Date)} timestamp - * @param {string} [serviceId] Optional persistance service ID, if omitted, the default persistance service will be used. + * @param {(time.ZonedDateTime | Date)} timestamp + * @param {string} [serviceId] Optional persistence service ID, if omitted, the default persistence service will be used. * @returns {(number | null)} */ - evolutionRateSince(timestamp: (ZonedDateTime | Date), serviceId?: string, ...args: any[]): (number | null); + evolutionRateSince(timestamp: (time.ZonedDateTime | Date), serviceId?: string, ...args: any[]): (number | null); /** * Retrieves the historic state for a given Item at a certain point in time. * - * @param {(ZonedDateTime | Date)} timestamp - * @param {string} [serviceId] Optional persistance service ID, if omitted, the default persistance service will be used. + * @param {(time.ZonedDateTime | Date)} timestamp + * @param {string} [serviceId] Optional persistence service ID, if omitted, the default persistence service will be used. * @returns {(string | null)} state */ - historicState(timestamp: (ZonedDateTime | Date), serviceId?: string, ...args: any[]): (string | null); + historicState(timestamp: (time.ZonedDateTime | Date), serviceId?: string, ...args: any[]): (string | null); /** * Query the last update time of a given Item. * - * @param {string} [serviceId] Optional persistance service ID, if omitted, the default persistance service will be used. - * @returns {(ZonedDateTime | null)} + * @param {string} [serviceId] Optional persistence service ID, if omitted, the default persistence service will be used. + * @returns {(time.ZonedDateTime | null)} */ - lastUpdate(serviceId?: string, ...args: any[]): (ZonedDateTime | null); + lastUpdate(serviceId?: string, ...args: any[]): (time.ZonedDateTime | null); /** * Retrieves the historic item state for a given Item at the current point in time. * - * @param {string} [serviceId] Optional persistance service ID, if omitted, the default persistance service will be used. + * @param {string} [serviceId] Optional persistence service ID, if omitted, the default persistence service will be used. * @returns {(string | null)} state */ latestState(serviceId?: string, ...args: any[]): (string | null); /** * Gets the state with the maximum value of a given Item between two certain points in time. * - * @param {(ZonedDateTime | Date)} begin begin - * @param {(ZonedDateTime | Date)} end end - * @param {string} [serviceId] Optional persistance service ID, if omitted, the default persistance service will be used. + * @param {(time.ZonedDateTime | Date)} begin begin + * @param {(time.ZonedDateTime | Date)} end end + * @param {string} [serviceId] Optional persistence service ID, if omitted, the default persistence service will be used. * @returns {(number | null)} state or null */ - maximumBetween(begin: (ZonedDateTime | Date), end: (ZonedDateTime | Date), serviceId?: string, ...args: any[]): (number | null); + maximumBetween(begin: (time.ZonedDateTime | Date), end: (time.ZonedDateTime | Date), serviceId?: string, ...args: any[]): (number | null); /** * Gets the state with the maximum value of a given Item since a certain point in time. * - * @param {(ZonedDateTime | Date)} timestamp - * @param {string} [serviceId] Optional persistance service ID, if omitted, the default persistance service will be used. + * @param {(time.ZonedDateTime | Date)} timestamp + * @param {string} [serviceId] Optional persistence service ID, if omitted, the default persistence service will be used. * @returns {(number | null)} state or null */ - maximumSince(timestamp: (ZonedDateTime | Date), serviceId?: string, ...args: any[]): (number | null); + maximumSince(timestamp: (time.ZonedDateTime | Date), serviceId?: string, ...args: any[]): (number | null); /** * Gets the state with the minimum value of a given Item between two certain points in time. * - * @param {(ZonedDateTime | Date)} begin begin - * @param {(ZonedDateTime | Date)} end end - * @param {string} [serviceId] Optional persistance service ID, if omitted, the default persistance service will be used. + * @param {(time.ZonedDateTime | Date)} begin begin + * @param {(time.ZonedDateTime | Date)} end end + * @param {string} [serviceId] Optional persistence service ID, if omitted, the default persistence service will be used. * @returns {(number | null)} state or null */ - minimumBetween(begin: (ZonedDateTime | Date), end: (ZonedDateTime | Date), serviceId?: string, ...args: any[]): (number | null); + minimumBetween(begin: (time.ZonedDateTime | Date), end: (time.ZonedDateTime | Date), serviceId?: string, ...args: any[]): (number | null); /** * Gets the state with the minimum value of a given Item since a certain point in time. * - * @param {(ZonedDateTime | Date)} timestamp - * @param {string} [serviceId] Optional persistance service ID, if omitted, the default persistance service will be used. + * @param {(time.ZonedDateTime | Date)} timestamp + * @param {string} [serviceId] Optional persistence service ID, if omitted, the default persistence service will be used. * @returns {(number | null)} state or null */ - minimumSince(timestamp: (ZonedDateTime | Date), serviceId?: string, ...args: any[]): (number | null); + minimumSince(timestamp: (time.ZonedDateTime | Date), serviceId?: string, ...args: any[]): (number | null); /** * Persists the state of a given Item. * - * @param {string} [serviceId] Optional persistance service ID, if omitted, the default persistance service will be used. + * @param {string} [serviceId] Optional persistence service ID, if omitted, the default persistence service will be used. */ persist(serviceId?: string, ...args: any[]): void; /** * Returns the previous state of a given Item. * * @param {boolean} [skipEqual] optional, if true, skips equal state values and searches the first state not equal the current state - * @param {string} [serviceId] Optional persistance service ID, if omitted, the default persistance service will be used. + * @param {string} [serviceId] Optional persistence service ID, if omitted, the default persistence service will be used. * @returns {(string | null)} state or null */ previousState(skipEqual?: boolean, serviceId?: string, ...args: any[]): (string | null); /** * Gets the sum of the states of a given Item between two certain points in time. * - * @param {(ZonedDateTime | Date)} begin begin - * @param {(ZonedDateTime | Date)} end end - * @param {string} [serviceId] Optional persistance service ID, if omitted, the default persistance service will be used. + * @param {(time.ZonedDateTime | Date)} begin begin + * @param {(time.ZonedDateTime | Date)} end end + * @param {string} [serviceId] Optional persistence service ID, if omitted, the default persistence service will be used. * @returns {(number | null)} */ - sumBetween(begin: (ZonedDateTime | Date), end: (ZonedDateTime | Date), serviceId?: string, ...args: any[]): (number | null); + sumBetween(begin: (time.ZonedDateTime | Date), end: (time.ZonedDateTime | Date), serviceId?: string, ...args: any[]): (number | null); /** * Gets the sum of the states of a given Item since a certain point in time. * - * @param {(ZonedDateTime | Date)} timestamp - * @param {string} [serviceId] Optional persistance service ID, if omitted, the default persistance service will be used. + * @param {(time.ZonedDateTime | Date)} timestamp + * @param {string} [serviceId] Optional persistence service ID, if omitted, the default persistence service will be used. * @returns {(number | null)} */ - sumSince(timestamp: (ZonedDateTime | Date), serviceId?: string, ...args: any[]): (number | null); + sumSince(timestamp: (time.ZonedDateTime | Date), serviceId?: string, ...args: any[]): (number | null); /** * Checks if the state of a given Item has been updated between two certain points in time. * - * @param {(ZonedDateTime | Date)} begin begin - * @param {(ZonedDateTime | Date)} end end - * @param {string} [serviceId] Optional persistance service ID, if omitted, the default persistance service will be used. + * @param {(time.ZonedDateTime | Date)} begin begin + * @param {(time.ZonedDateTime | Date)} end end + * @param {string} [serviceId] Optional persistence service ID, if omitted, the default persistence service will be used. * @returns {boolean} */ - updatedBetween(begin: (ZonedDateTime | Date), end: (ZonedDateTime | Date), serviceId?: string, ...args: any[]): boolean; + updatedBetween(begin: (time.ZonedDateTime | Date), end: (time.ZonedDateTime | Date), serviceId?: string, ...args: any[]): boolean; /** * Checks if the state of a given Item has been updated since a certain point in time. * - * @param {(ZonedDateTime | Date)} timestamp - * @param {string} [serviceId] Optional persistance service ID, if omitted, the default persistance service will be used. + * @param {(time.ZonedDateTime | Date)} timestamp + * @param {string} [serviceId] Optional persistence service ID, if omitted, the default persistence service will be used. * @returns {boolean} */ - updatedSince(timestamp: (ZonedDateTime | Date), serviceId?: string, ...args: any[]): boolean; + updatedSince(timestamp: (time.ZonedDateTime | Date), serviceId?: string, ...args: any[]): boolean; /** * Gets the variance of the state of the given Item between two certain points in time. * - * @param {(ZonedDateTime | Date)} begin begin - * @param {(ZonedDateTime | Date)} end end - * @param {string} [serviceId] Optional persistance service ID, if omitted, the default persistance service will be used. + * @param {(time.ZonedDateTime | Date)} begin begin + * @param {(time.ZonedDateTime | Date)} end end + * @param {string} [serviceId] Optional persistence service ID, if omitted, the default persistence service will be used. * @returns {(number | null)} */ - varianceBetween(begin: (ZonedDateTime | Date), end: (ZonedDateTime | Date), serviceId?: string, ...args: any[]): (number | null); + varianceBetween(begin: (time.ZonedDateTime | Date), end: (time.ZonedDateTime | Date), serviceId?: string, ...args: any[]): (number | null); /** * Gets the variance of the state of the given Item since a certain point in time. * - * @param {(ZonedDateTime | Date)} timestamp - * @param {string} [serviceId] Optional persistance service ID, if omitted, the default persistance service will be used. + * @param {(time.ZonedDateTime | Date)} timestamp + * @param {string} [serviceId] Optional persistence service ID, if omitted, the default persistence service will be used. * @returns {(number | null)} */ - varianceSince(timestamp: (ZonedDateTime | Date), serviceId?: string, ...args: any[]): (number | null); + varianceSince(timestamp: (time.ZonedDateTime | Date), serviceId?: string, ...args: any[]): (number | null); /** * @private */ diff --git a/types/items/item-history.d.ts.map b/types/items/item-history.d.ts.map index f00c1fd9d..b2dfd6c52 100644 --- a/types/items/item-history.d.ts.map +++ b/types/items/item-history.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"item-history.d.ts","sourceRoot":"","sources":["../../items/item-history.js"],"names":[],"mappings":";AAKA;;;;;;;GAOG;AACH;IACE,0BAEC;IADC,aAAsB;IAGxB;;;;;;;OAOG;IACH,sBALW,CAAC,gBAAgB,IAAI,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;IAED;;;;;;;OAOG;IACH,sBALW,CAAC,gBAAgB,IAAI,CAAC,OACtB,CAAC,gBAAgB,IAAI,CAAC,cACtB,MAAM,mBACJ,OAAO,CAInB;IAED;;;;;;OAMG;IACH,wBAJW,CAAC,gBAAgB,IAAI,CAAC,cACtB,MAAM,mBACJ,OAAO,CAInB;IAED;;;;;;;OAOG;IACH,uBALW,CAAC,gBAAgB,IAAI,CAAC,OACtB,CAAC,gBAAgB,IAAI,CAAC,cACtB,MAAM,mBACJ,CAAC,MAAM,GAAG,IAAI,CAAC,CAI3B;IAED;;;;;;OAMG;IACH,yBAJW,CAAC,gBAAgB,IAAI,CAAC,cACtB,MAAM,mBACJ,CAAC,MAAM,GAAG,IAAI,CAAC,CAI3B;IAED;;OAEG;IACH,qBAEC;IAED;;OAEG;IACH,oBAEC;IAED;;OAEG;IACH,uBAEC;CACF"} \ No newline at end of file +{"version":3,"file":"item-history.d.ts","sourceRoot":"","sources":["../../items/item-history.js"],"names":[],"mappings":";AAKA;;;;;;;GAOG;AACH;IACE,0BAEC;IADC,aAAsB;IAGxB;;;;;;;OAOG;IACH,sBALW,CAAC,qBAAqB,IAAI,CAAC,OAC3B,CAAC,qBAAqB,IAAI,CAAC,cAC3B,MAAM,mBACJ,CAAC,MAAM,GAAG,IAAI,CAAC,CAI3B;IAED;;;;;;;;;;;OAWG;IACH,wBAJW,CAAC,qBAAqB,IAAI,CAAC,cAC3B,MAAM,mBACJ,CAAC,MAAM,GAAG,IAAI,CAAC,CAI3B;IAED;;;;;;;OAOG;IACH,sBALW,CAAC,qBAAqB,IAAI,CAAC,OAC3B,CAAC,qBAAqB,IAAI,CAAC,cAC3B,MAAM,mBACJ,OAAO,CAInB;IAED;;;;;;OAMG;IACH,wBAJW,CAAC,qBAAqB,IAAI,CAAC,cAC3B,MAAM,mBACJ,OAAO,CAInB;IAED;;;;;;;OAOG;IACH,oBALW,CAAC,qBAAqB,IAAI,CAAC,OAC3B,CAAC,qBAAqB,IAAI,CAAC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