@openremote/model 1.0.2 → 1.2.0-snapshot.20240512143659

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,27 +1,33 @@
1
- # or-model
2
-
3
- > ${DESCRIPTION}
4
-
1
+ # @openremote/model
5
2
  [![NPM Version][npm-image]][npm-url]
6
3
  [![Linux Build][travis-image]][travis-url]
7
4
  [![Test Coverage][coveralls-image]][coveralls-url]
8
5
 
9
- ## Install
6
+ Typescript type definitions for the OpenRemote object model.
10
7
 
8
+ ## Install
11
9
  ```bash
12
- npm i -S @openremote/or-model
10
+ npm i @openremote/model
11
+ yarn add @openremote/model
13
12
  ```
14
13
 
15
14
  ## Usage
15
+ For a full list of properties, methods and options refer to the TypeDoc generated [documentation]().
16
16
 
17
- TODO
17
+ ```$javascript
18
+ import {Asset} from "@openremote/model";
18
19
 
19
- ## License
20
+ const asset: Asset = {
21
+ ...
22
+ };
23
+ ```
20
24
 
25
+
26
+ ## License
21
27
  [GNU AGPL](https://www.gnu.org/licenses/agpl-3.0.en.html)
22
28
 
23
29
  [npm-image]: https://img.shields.io/npm/v/live-xxx.svg
24
- [npm-url]: https://npmjs.org/package/live-xxx
30
+ [npm-url]: https://npmjs.org/package/@openremote/core
25
31
  [travis-image]: https://img.shields.io/travis/live-js/live-xxx/master.svg
26
32
  [travis-url]: https://travis-ci.org/live-js/live-xxx
27
33
  [coveralls-image]: https://img.shields.io/coveralls/live-js/live-xxx/master.svg
package/lib/index.d.ts ADDED
@@ -0,0 +1,2 @@
1
+ export * from "./model";
2
+ export { AssetModelUtil } from "./util";
package/lib/index.js ADDED
@@ -0,0 +1 @@
1
+ export*from"./model";export{AssetModelUtil}from"./util";
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,OAAO,EAAC,cAAc,EAAC,MAAM,QAAQ,CAAC"}