Methods
# inner deleteAttributesForActivities(robotId, unusedActivityListString) → {Object}
Delete attributes for the given activities by sending a call to the backend
Parameters:
Name | Type | Description |
---|---|---|
robotId |
String | Id of the robot that is being used |
unusedActivityListString |
String | Stringified List of activityIds |
Mongoose query describing execution of call
Object
# async inner getAllAttributes(robotId) → {Array}
Will send a backend call to retrieve all attribute objects related to the provided robotId
Parameters:
Name | Type | Description |
---|---|---|
robotId |
String | Id of the robot for which to retrieve the values |
Array of attribute objects related to the robot
Array
# async inner updateManyAttributes(attributeObjectList) → {Array}
Will send a backend call to update all given attribute objects with the new ones
Parameters:
Name | Type | Description |
---|---|---|
attributeObjectList |
Array | All updated attribute objects to overwrite the old attribute objects with |
Array of all updated attribute objects
Array