Faybl JavaScript Client
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' });
tenantUrl
confUrl
historyUrl
mqttUrl
noMqtt
The browser version also has:
pahoMqttOptions
-
conf
: All entities below havecreate
,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
Hippocratic 2.1