useBlueprint
Hook to fetch a Blueprint from the DMSS API
Parameters
Name | Type | Optional | Description |
---|---|---|---|
typeRef | string | False | The reference to the blueprint to retrieve |
Returns
A list containing the blueprint document, a boolean representing the loading state, and an Error, if any.
Usage
Code example: