@konsumation/model
Advanced tools
Comparing version 7.0.4 to 7.1.0
{ | ||
"name": "@konsumation/model", | ||
"version": "7.0.4", | ||
"version": "7.1.0", | ||
"publishConfig": { | ||
@@ -38,3 +38,3 @@ "access": "public", | ||
"devDependencies": { | ||
"@konsumation/db-test": "^4.1.14", | ||
"@konsumation/db-test": "^4.2.4", | ||
"ava": "^6.1.2", | ||
@@ -41,0 +41,0 @@ "browser-ava": "^2.2.10", |
120
README.md
@@ -37,8 +37,10 @@ [![npm](https://img.shields.io/npm/v/@konsumation/model.svg)](https://www.npmjs.com/package/@konsumation/model) | ||
* [Base](#base) | ||
* [isDefinedAttribute](#isdefinedattribute) | ||
* [Parameters](#parameters) | ||
* [\_getAttributes](#_getattributes) | ||
* [Parameters](#parameters) | ||
* [Parameters](#parameters-1) | ||
* [getLocalAttributes](#getlocalattributes) | ||
* [Parameters](#parameters-1) | ||
* [Parameters](#parameters-2) | ||
* [setAttributes](#setattributes) | ||
* [Parameters](#parameters-2) | ||
* [Parameters](#parameters-3) | ||
* [type](#type) | ||
@@ -48,3 +50,3 @@ * [attributes](#attributes) | ||
* [Category](#category) | ||
* [Parameters](#parameters-3) | ||
* [Parameters](#parameters-4) | ||
* [name](#name-1) | ||
@@ -56,29 +58,31 @@ * [description](#description-1) | ||
* [write](#write) | ||
* [Parameters](#parameters-4) | ||
* [Parameters](#parameters-5) | ||
* [delete](#delete) | ||
* [Parameters](#parameters-5) | ||
* [Parameters](#parameters-6) | ||
* [meters](#meters) | ||
* [Parameters](#parameters-6) | ||
* [Parameters](#parameters-7) | ||
* [meter](#meter) | ||
* [Parameters](#parameters-7) | ||
* [Parameters](#parameters-8) | ||
* [activeMeter](#activemeter) | ||
* [Parameters](#parameters-8) | ||
* [Parameters](#parameters-9) | ||
* [addMeter](#addmeter) | ||
* [Parameters](#parameters-9) | ||
* [Parameters](#parameters-10) | ||
* [deleteMeter](#deletemeter) | ||
* [Parameters](#parameters-11) | ||
* [notes](#notes) | ||
* [Parameters](#parameters-10) | ||
* [Parameters](#parameters-12) | ||
* [note](#note) | ||
* [Parameters](#parameters-11) | ||
* [Parameters](#parameters-13) | ||
* [values](#values) | ||
* [Parameters](#parameters-12) | ||
* [Parameters](#parameters-14) | ||
* [value](#value-1) | ||
* [Parameters](#parameters-13) | ||
* [Parameters](#parameters-15) | ||
* [latestValue](#latestvalue) | ||
* [Parameters](#parameters-14) | ||
* [Parameters](#parameters-16) | ||
* [addValue](#addvalue) | ||
* [Parameters](#parameters-15) | ||
* [Parameters](#parameters-17) | ||
* [deleteValue](#deletevalue) | ||
* [Parameters](#parameters-16) | ||
* [Parameters](#parameters-18) | ||
* [text](#text) | ||
* [Parameters](#parameters-17) | ||
* [Parameters](#parameters-19) | ||
* [type](#type-1) | ||
@@ -89,19 +93,19 @@ * [SCHEMA\_VERSION\_2](#schema_version_2) | ||
* [Master](#master) | ||
* [Parameters](#parameters-18) | ||
* [Parameters](#parameters-20) | ||
* [Properties](#properties-1) | ||
* [write](#write-1) | ||
* [Parameters](#parameters-19) | ||
* [Parameters](#parameters-21) | ||
* [close](#close) | ||
* [addCategory](#addcategory) | ||
* [Parameters](#parameters-20) | ||
* [Parameters](#parameters-22) | ||
* [categories](#categories) | ||
* [Parameters](#parameters-21) | ||
* [Parameters](#parameters-23) | ||
* [category](#category-1) | ||
* [Parameters](#parameters-22) | ||
* [Parameters](#parameters-24) | ||
* [text](#text-1) | ||
* [Parameters](#parameters-23) | ||
* [Parameters](#parameters-25) | ||
* [initialize](#initialize) | ||
* [Parameters](#parameters-24) | ||
* [Parameters](#parameters-26) | ||
* [Meter](#meter-1) | ||
* [Parameters](#parameters-25) | ||
* [Parameters](#parameters-27) | ||
* [name](#name-2) | ||
@@ -113,29 +117,29 @@ * [category](#category-2) | ||
* [write](#write-2) | ||
* [Parameters](#parameters-26) | ||
* [Parameters](#parameters-28) | ||
* [delete](#delete-1) | ||
* [Parameters](#parameters-27) | ||
* [Parameters](#parameters-29) | ||
* [values](#values-1) | ||
* [Parameters](#parameters-28) | ||
* [Parameters](#parameters-30) | ||
* [value](#value-2) | ||
* [Parameters](#parameters-29) | ||
* [Parameters](#parameters-31) | ||
* [addValue](#addvalue-1) | ||
* [Parameters](#parameters-30) | ||
* [Parameters](#parameters-32) | ||
* [deleteValue](#deletevalue-1) | ||
* [Parameters](#parameters-31) | ||
* [Parameters](#parameters-33) | ||
* [latestValue](#latestvalue-1) | ||
* [Parameters](#parameters-32) | ||
* [Parameters](#parameters-34) | ||
* [notes](#notes-1) | ||
* [Parameters](#parameters-33) | ||
* [Parameters](#parameters-35) | ||
* [note](#note-1) | ||
* [Parameters](#parameters-34) | ||
* [Parameters](#parameters-36) | ||
* [addNote](#addnote) | ||
* [Parameters](#parameters-35) | ||
* [Parameters](#parameters-37) | ||
* [deleteNote](#deletenote) | ||
* [Parameters](#parameters-36) | ||
* [Parameters](#parameters-38) | ||
* [text](#text-2) | ||
* [Parameters](#parameters-37) | ||
* [Parameters](#parameters-39) | ||
* [type](#type-2) | ||
* [parentType](#parenttype) | ||
* [Note](#note-2) | ||
* [Parameters](#parameters-38) | ||
* [Parameters](#parameters-40) | ||
* [name](#name-3) | ||
@@ -145,13 +149,13 @@ * [description](#description-3) | ||
* [write](#write-3) | ||
* [Parameters](#parameters-39) | ||
* [Parameters](#parameters-41) | ||
* [delete](#delete-2) | ||
* [Parameters](#parameters-40) | ||
* [Parameters](#parameters-42) | ||
* [text](#text-3) | ||
* [Parameters](#parameters-41) | ||
* [Parameters](#parameters-43) | ||
* [type](#type-3) | ||
* [parentType](#parenttype-1) | ||
* [toText](#totext) | ||
* [Parameters](#parameters-42) | ||
* [Parameters](#parameters-44) | ||
* [Value](#value-3) | ||
* [Parameters](#parameters-43) | ||
* [Parameters](#parameters-45) | ||
* [meter](#meter-3) | ||
@@ -161,7 +165,7 @@ * [date](#date-1) | ||
* [write](#write-4) | ||
* [Parameters](#parameters-44) | ||
* [Parameters](#parameters-46) | ||
* [delete](#delete-3) | ||
* [Parameters](#parameters-45) | ||
* [Parameters](#parameters-47) | ||
* [text](#text-4) | ||
* [Parameters](#parameters-46) | ||
* [Parameters](#parameters-48) | ||
* [type](#type-4) | ||
@@ -239,2 +243,13 @@ * [parentType](#parenttype-2) | ||
### isDefinedAttribute | ||
Is the given attribute defined in the target. | ||
Some attributes are inherited from parent object and therfore not defined in the target. | ||
#### Parameters | ||
* `name` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**  | ||
Returns **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)**  | ||
### \_getAttributes | ||
@@ -385,2 +400,13 @@ | ||
### deleteMeter | ||
Delete a meter. | ||
#### Parameters | ||
* `context` **any**  | ||
* `name` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**  | ||
Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)\<any>**  | ||
### notes | ||
@@ -387,0 +413,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
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
75890
1184
890