-
Notifications
You must be signed in to change notification settings - Fork 12
Value Types
Number can be either a single or double. When a number type is used in the action parameter, it supports additional properties.
- editor
- color
- Opens a color editor
- int
- only allow integer values
- color
- min
- Requires a minimum bound.
- Note: Does not work in color editor.
- max
- Requires a maximum bound.
- Note: Does not work in color editor.
- 1
- 0.12
When a string type is used in the action parameter, it supports additional properties.
- editor
- password
- Masks the input box.
- daterange
- Opens a date range editor.
- date
- Opens a date editor.
- textarea
- Allows for multi-line input.
- password
- placeholder
- Placeholder value in a text box.
- "hello world"
- ""
Booleans can also have labels attached to them similar to enums. The first value is always equivalent to "false" and the second value is always equivalent of "true". However, the responder must always send either true or false.
- bool[disabled,enabled]
An enum value type can be enum[...] with comma separated values. The first value is always the default. The value sent over the network is the same as a string.
- enum[off,on,auto]
- enum[Sun,Mon,Tue,Wed,Thu,Fri,Sat]
when encoded in json, byte array expressed in a string. String is prefixed with \u001Bbytes:
, afterwards a byte array encoded in Base64 is added.
Msgpack encoding doesn't need this special format
Map object with key/value pairs. Key is always a string, and value is always of type dynamic.
- {"name":"Rick", "email":"[email protected]"}
- {"primes":[2,3,5,7,11]}
An array, children values are always of type dynamic.
- [{"name":"Rick", "email":"[email protected]"}, {"name":"Dennis", "email":"[email protected]"}]
- [2,3,5,7,11]
The dynamic value type can be any type listed above.
Protocol
◌ Design
◌ Initializing Connection
◌ Node API
◌ Methods
◌ Broker
◌ Broker Discovery
◌ Configs
◌ Value Types
◌ Tokens
◌ Quality of Service
DSLink Manager
◌ dslink.json
◌ Startup Command
SDK Development
◌ Implementation Guide
DSA Server
◌ Installation
◌ Update Server
◌ Server Configuration
◌ CLI Tools
◌ DSA Permission Basics
◌ DSA Permission Model
◌ Permission List for the Root
◌ Authentication
◌ OpenID Connect
◌ Password Hasher
◌ DGLux Server SSL (HTTPS)
◌ Docker
◌ Audit
◌ Data Node
◌ Install NGINX with DSA Server
◌ Configure Ubuntu Linux to auto start DSA server
◌ Troubleshooting