@konsumation/model
Advanced tools
Comparing version 3.6.0 to 3.7.0
{ | ||
"name": "@konsumation/model", | ||
"version": "3.6.0", | ||
"description": "data model of the konsumation apps", | ||
"version": "3.7.0", | ||
"publishConfig": { | ||
@@ -16,2 +15,3 @@ "access": "public", | ||
}, | ||
"description": "data model of the konsumation apps", | ||
"contributors": [ | ||
@@ -39,3 +39,3 @@ { | ||
"devDependencies": { | ||
"@konsumation/db-test": "^3.1.8", | ||
"@konsumation/db-test": "^3.2.2", | ||
"ava": "^6.1.2", | ||
@@ -45,3 +45,3 @@ "browser-ava": "^2.2.8", | ||
"documentation": "^14.0.3", | ||
"semantic-release": "^23.0.7", | ||
"semantic-release": "^23.0.8", | ||
"typescript": "^5.4.4" | ||
@@ -48,0 +48,0 @@ }, |
@@ -33,2 +33,3 @@ [![npm](https://img.shields.io/npm/v/@konsumation/model.svg)](https://www.npmjs.com/package/@konsumation/model) | ||
* [fractionalDigits](#fractionaldigits-1) | ||
* [order](#order) | ||
* [Base](#base) | ||
@@ -49,2 +50,3 @@ * [attributeNames](#attributenames) | ||
* [unit](#unit-2) | ||
* [order](#order-1) | ||
* [write](#write) | ||
@@ -66,8 +68,10 @@ * [Parameters](#parameters-2) | ||
* [Parameters](#parameters-9) | ||
* [latestValue](#latestvalue) | ||
* [Parameters](#parameters-10) | ||
* [writeValue](#writevalue) | ||
* [Parameters](#parameters-10) | ||
* [Parameters](#parameters-11) | ||
* [deleteValue](#deletevalue) | ||
* [Parameters](#parameters-11) | ||
* [Parameters](#parameters-12) | ||
* [text](#text) | ||
* [Parameters](#parameters-12) | ||
* [Parameters](#parameters-13) | ||
* [type](#type-1) | ||
@@ -78,17 +82,17 @@ * [SCHEMA\_VERSION\_2](#schema_version_2) | ||
* [Master](#master) | ||
* [Parameters](#parameters-13) | ||
* [Parameters](#parameters-14) | ||
* [Properties](#properties-1) | ||
* [write](#write-1) | ||
* [Parameters](#parameters-14) | ||
* [Parameters](#parameters-15) | ||
* [close](#close) | ||
* [addCategory](#addcategory) | ||
* [Parameters](#parameters-15) | ||
* [Parameters](#parameters-16) | ||
* [categories](#categories) | ||
* [category](#category-1) | ||
* [Parameters](#parameters-16) | ||
* [Parameters](#parameters-17) | ||
* [text](#text-1) | ||
* [initialize](#initialize) | ||
* [Parameters](#parameters-17) | ||
* [Parameters](#parameters-18) | ||
* [Meter](#meter-1) | ||
* [Parameters](#parameters-18) | ||
* [Parameters](#parameters-19) | ||
* [name](#name-2) | ||
@@ -100,20 +104,22 @@ * [category](#category-2) | ||
* [write](#write-2) | ||
* [Parameters](#parameters-19) | ||
* [Parameters](#parameters-20) | ||
* [delete](#delete-1) | ||
* [Parameters](#parameters-20) | ||
* [Parameters](#parameters-21) | ||
* [values](#values-1) | ||
* [Parameters](#parameters-21) | ||
* [Parameters](#parameters-22) | ||
* [writeValue](#writevalue-1) | ||
* [Parameters](#parameters-22) | ||
* [Parameters](#parameters-23) | ||
* [deleteValue](#deletevalue-1) | ||
* [Parameters](#parameters-23) | ||
* [Parameters](#parameters-24) | ||
* [latestValue](#latestvalue-1) | ||
* [Parameters](#parameters-25) | ||
* [notes](#notes-1) | ||
* [Parameters](#parameters-24) | ||
* [Parameters](#parameters-26) | ||
* [addNote](#addnote) | ||
* [Parameters](#parameters-25) | ||
* [Parameters](#parameters-27) | ||
* [text](#text-2) | ||
* [Parameters](#parameters-26) | ||
* [Parameters](#parameters-28) | ||
* [type](#type-2) | ||
* [Note](#note) | ||
* [Parameters](#parameters-27) | ||
* [Parameters](#parameters-29) | ||
* [name](#name-3) | ||
@@ -123,10 +129,10 @@ * [description](#description-3) | ||
* [write](#write-3) | ||
* [Parameters](#parameters-28) | ||
* [Parameters](#parameters-30) | ||
* [delete](#delete-2) | ||
* [Parameters](#parameters-29) | ||
* [Parameters](#parameters-31) | ||
* [text](#text-3) | ||
* [Parameters](#parameters-30) | ||
* [Parameters](#parameters-32) | ||
* [type](#type-3) | ||
* [toText](#totext) | ||
* [Parameters](#parameters-31) | ||
* [Parameters](#parameters-33) | ||
@@ -187,2 +193,6 @@ ## AttributeDefinition | ||
## order | ||
Type: [AttributeDefinition](#attributedefinition) | ||
## Base | ||
@@ -258,2 +268,6 @@ | ||
### order | ||
Type: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)? | ||
### write | ||
@@ -341,2 +355,12 @@ | ||
### latestValue | ||
Get the latest value. | ||
#### Parameters | ||
* `context` **any**  | ||
Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)<({date: [Date](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Date), value: [number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)} | [undefined](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/undefined))>**  | ||
### writeValue | ||
@@ -522,2 +546,12 @@ | ||
### latestValue | ||
Get the latest value. | ||
#### Parameters | ||
* `context` **any**  | ||
Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)<({date: [Date](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Date), value: [number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)} | [undefined](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/undefined))>**  | ||
### notes | ||
@@ -524,0 +558,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
55056
847
660