@ndustrial/contxt-sdk
Advanced tools
Changelog
v0.0.42 (2019-03-08)
Added
Added Files module to interact with our new Files API. It can help with managing the File records and uploading them to the external service used for actually storing the files.
Files#create
for creating a File recordFiles#createAndUpload
for managing the process of creating a File record, uploading the file to an external service, and updating the File's upload statusFiles#delete
for deleting a single FileFiles#download
for getting a temporary URL to a FileFiles#get
for getting metadata about a FileFiles#getAll
for getting a paginated list of Files and their metadataFiles#setUploadComplete
for updating a File's upload status to indicate it has been uploadedFiles#setUploadFailed
for updating a File's upload status to indicate the upload failedFiles#upload
for uploading a File to the external service used for storing filesFixed
uuid
package we were using in the WebSocket module. It's been switched out with nanoid
.Changelog
v0.0.41 (2019-03-01)
Added
WebSocketConnection#onMessage
for handling all messages recieved by the WebSocketWebSocketConnection#onError
for handling all WebSocket errorsChanged
onmessage
handling for the WebSocketConnection
onmessage
handler is created for each message sentonmessage
handler is torn downChangelog
v0.0.40 (2019-02-18)
Added
Bus#connect
to connect to the message bus via WebSocketsWebSocketConnection
class to wrap the open WebSocket connection
authorize
for authorizing publish and/or subscribe for a particular channelclose
for closing the WebSocket connectionpublish
for publishing a message to the message busChangelog
v0.0.36 (2018-11-09)
Added
Methods around Field Groupings
FieldGroupings#addField
for adding a Field to a Field GroupingFieldGroupings#create
for creating a Field GroupingFieldGroupings#delete
for deleting a Field GroupingFieldGroupings#get
for getting information about a Field GroupingFieldGroupings#getGroupingsByFacilityId
for getting a list of Field Groupings based on the facility IDFieldGroupings#removeField
for removing a field from a Field GroupingFieldGroupings#update
for updating information about a Field GroupingMethods around Field Categories
FieldCategories#create
for creating a Field CategoryFieldCategories#delete
for deleting a Field CategoryFieldCategories#get
for getting information about a Field CategoryFieldCategories#getAll
for getting a paginated list of all Field CategoriesFieldCategories#getAllByFacility
for getting all Field Categories based on a facility IDFieldCategories#update
for updating information about a Field Category