4.0.0-rc.7 • Published 5 months ago

faybl-client v4.0.0-rc.7

Weekly downloads
-
License
TBD
Repository
-
Last release
5 months ago

Faybl Client JS

Faybl JavaScript Client

Getting Started

import { createClient } from 'faybl-client/browser';
// For nodejs version, remove '/browser' above

const client = createClient({ tenantUrl: 'atenant.faybl.online' });
await client.conf.asset.create({ id: 'test' });

createClient options

  • tenantUrl
  • confUrl
  • dataHistoryUrl
  • mqttUrl
  • noMqtt

The browser version also has:

  • pahoMqttOptions

Client structure

  • conf: All entities below have create, read, update, delete.
    • asset
    • assettype
    • channel
    • channeltype
    • config
    • configtype
    • procedure
    • proceduretype
    • rule
    • thing
    • thingtype
    • trigger
    • subscribe: No entity. Subscribes to changes in the data model.
    • unsubscribe: No entity. Unsubscribes above subscription.
  • channel
    • subscribe
    • unsubscribe
    • publish
    • read
  • mqttClient
  • close

License

Hippocratic 2.1

4.0.0-rc.7

5 months ago

4.0.0-rc.6

5 months ago

4.0.0-rc.5

7 months ago

4.0.0-rc.4

7 months ago

4.0.0-rc.1

1 year ago

4.0.0-rc.0

1 year ago

4.0.0-rc.3

12 months ago

4.0.0-rc.2

12 months ago

3.0.4

1 year ago

3.0.3

1 year ago

3.0.2

1 year ago

2.1.6

1 year ago

3.0.1

1 year ago

3.0.0

1 year ago

2.1.5

1 year ago

2.1.2

1 year ago

2.1.1

1 year ago

2.1.4

1 year ago

2.1.3

1 year ago

2.1.0

1 year ago

2.0.0

2 years ago

1.4.4

3 years ago

1.4.3

3 years ago

1.4.2

3 years ago

1.4.1

3 years ago

1.4.0

3 years ago

1.3.1

3 years ago

1.3.0

3 years ago

1.2.6

3 years ago

1.2.5

3 years ago

1.2.4

3 years ago

1.2.3

3 years ago

1.2.2

3 years ago

1.2.1

3 years ago

1.2.0

3 years ago

1.1.10

3 years ago

1.1.9

3 years ago

1.1.8

3 years ago

1.1.7

3 years ago

1.1.6

3 years ago

1.1.5

3 years ago

1.1.4

3 years ago

1.1.3

3 years ago

1.1.2

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago