@konsumation/model
Advanced tools
Comparing version 5.4.0 to 6.0.0
{ | ||
"name": "@konsumation/model", | ||
"version": "5.4.0", | ||
"version": "6.0.0", | ||
"publishConfig": { | ||
@@ -38,3 +38,3 @@ "access": "public", | ||
"devDependencies": { | ||
"@konsumation/db-test": "^4.1.5", | ||
"@konsumation/db-test": "^4.1.6", | ||
"ava": "^6.1.2", | ||
@@ -41,0 +41,0 @@ "browser-ava": "^2.2.8", |
100
README.md
@@ -38,6 +38,8 @@ [![npm](https://img.shields.io/npm/v/@konsumation/model.svg)](https://www.npmjs.com/package/@konsumation/model) | ||
* [attributeNames](#attributenames) | ||
* [getAttributes](#getattributes) | ||
* [\_getAttributes](#_getattributes) | ||
* [Parameters](#parameters) | ||
* [getLocalAttributes](#getlocalattributes) | ||
* [Parameters](#parameters-1) | ||
* [setAttributes](#setattributes) | ||
* [Parameters](#parameters) | ||
* [Parameters](#parameters-2) | ||
* [type](#type) | ||
@@ -48,3 +50,3 @@ * [attributes](#attributes) | ||
* [Category](#category) | ||
* [Parameters](#parameters-1) | ||
* [Parameters](#parameters-3) | ||
* [name](#name-1) | ||
@@ -56,27 +58,27 @@ * [description](#description-1) | ||
* [write](#write) | ||
* [Parameters](#parameters-2) | ||
* [Parameters](#parameters-4) | ||
* [delete](#delete) | ||
* [Parameters](#parameters-3) | ||
* [Parameters](#parameters-5) | ||
* [meters](#meters) | ||
* [Parameters](#parameters-4) | ||
* [Parameters](#parameters-6) | ||
* [meter](#meter) | ||
* [Parameters](#parameters-5) | ||
* [Parameters](#parameters-7) | ||
* [activeMeter](#activemeter) | ||
* [Parameters](#parameters-6) | ||
* [Parameters](#parameters-8) | ||
* [addMeter](#addmeter) | ||
* [Parameters](#parameters-7) | ||
* [Parameters](#parameters-9) | ||
* [notes](#notes) | ||
* [Parameters](#parameters-8) | ||
* [Parameters](#parameters-10) | ||
* [values](#values) | ||
* [Parameters](#parameters-9) | ||
* [Parameters](#parameters-11) | ||
* [value](#value-1) | ||
* [Parameters](#parameters-10) | ||
* [Parameters](#parameters-12) | ||
* [latestValue](#latestvalue) | ||
* [Parameters](#parameters-11) | ||
* [Parameters](#parameters-13) | ||
* [addValue](#addvalue) | ||
* [Parameters](#parameters-12) | ||
* [Parameters](#parameters-14) | ||
* [deleteValue](#deletevalue) | ||
* [Parameters](#parameters-13) | ||
* [Parameters](#parameters-15) | ||
* [text](#text) | ||
* [Parameters](#parameters-14) | ||
* [Parameters](#parameters-16) | ||
* [type](#type-1) | ||
@@ -87,19 +89,19 @@ * [SCHEMA\_VERSION\_2](#schema_version_2) | ||
* [Master](#master) | ||
* [Parameters](#parameters-15) | ||
* [Parameters](#parameters-17) | ||
* [Properties](#properties-1) | ||
* [write](#write-1) | ||
* [Parameters](#parameters-16) | ||
* [Parameters](#parameters-18) | ||
* [close](#close) | ||
* [addCategory](#addcategory) | ||
* [Parameters](#parameters-17) | ||
* [Parameters](#parameters-19) | ||
* [categories](#categories) | ||
* [Parameters](#parameters-18) | ||
* [Parameters](#parameters-20) | ||
* [category](#category-1) | ||
* [Parameters](#parameters-19) | ||
* [Parameters](#parameters-21) | ||
* [text](#text-1) | ||
* [Parameters](#parameters-20) | ||
* [Parameters](#parameters-22) | ||
* [initialize](#initialize) | ||
* [Parameters](#parameters-21) | ||
* [Parameters](#parameters-23) | ||
* [Meter](#meter-1) | ||
* [Parameters](#parameters-22) | ||
* [Parameters](#parameters-24) | ||
* [name](#name-2) | ||
@@ -111,26 +113,26 @@ * [category](#category-2) | ||
* [write](#write-2) | ||
* [Parameters](#parameters-23) | ||
* [Parameters](#parameters-25) | ||
* [delete](#delete-1) | ||
* [Parameters](#parameters-24) | ||
* [Parameters](#parameters-26) | ||
* [values](#values-1) | ||
* [Parameters](#parameters-25) | ||
* [Parameters](#parameters-27) | ||
* [value](#value-2) | ||
* [Parameters](#parameters-26) | ||
* [Parameters](#parameters-28) | ||
* [addValue](#addvalue-1) | ||
* [Parameters](#parameters-27) | ||
* [Parameters](#parameters-29) | ||
* [deleteValue](#deletevalue-1) | ||
* [Parameters](#parameters-28) | ||
* [Parameters](#parameters-30) | ||
* [latestValue](#latestvalue-1) | ||
* [Parameters](#parameters-29) | ||
* [Parameters](#parameters-31) | ||
* [notes](#notes-1) | ||
* [Parameters](#parameters-30) | ||
* [Parameters](#parameters-32) | ||
* [note](#note) | ||
* [Parameters](#parameters-31) | ||
* [Parameters](#parameters-33) | ||
* [addNote](#addnote) | ||
* [Parameters](#parameters-32) | ||
* [Parameters](#parameters-34) | ||
* [text](#text-2) | ||
* [Parameters](#parameters-33) | ||
* [Parameters](#parameters-35) | ||
* [type](#type-2) | ||
* [Note](#note-1) | ||
* [Parameters](#parameters-34) | ||
* [Parameters](#parameters-36) | ||
* [name](#name-3) | ||
@@ -140,12 +142,12 @@ * [description](#description-3) | ||
* [write](#write-3) | ||
* [Parameters](#parameters-35) | ||
* [Parameters](#parameters-37) | ||
* [delete](#delete-2) | ||
* [Parameters](#parameters-36) | ||
* [Parameters](#parameters-38) | ||
* [text](#text-3) | ||
* [Parameters](#parameters-37) | ||
* [Parameters](#parameters-39) | ||
* [type](#type-3) | ||
* [toText](#totext) | ||
* [Parameters](#parameters-38) | ||
* [Parameters](#parameters-40) | ||
* [Value](#value-3) | ||
* [Parameters](#parameters-39) | ||
* [Parameters](#parameters-41) | ||
* [meter](#meter-3) | ||
@@ -155,7 +157,7 @@ * [date](#date-1) | ||
* [write](#write-4) | ||
* [Parameters](#parameters-40) | ||
* [Parameters](#parameters-42) | ||
* [delete](#delete-3) | ||
* [Parameters](#parameters-41) | ||
* [Parameters](#parameters-43) | ||
* [text](#text-4) | ||
* [Parameters](#parameters-42) | ||
* [Parameters](#parameters-44) | ||
* [type](#type-4) | ||
@@ -238,6 +240,10 @@ | ||
### getAttributes | ||
### \_getAttributes | ||
Object keys are the mapped external attribute names. | ||
#### Parameters | ||
* `mapping`   | ||
Returns **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)**  | ||
@@ -249,2 +255,6 @@ | ||
#### Parameters | ||
* `mapping` (optional, default `{}`) | ||
Returns **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)**  | ||
@@ -251,0 +261,0 @@ |
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
71822
1108
831