Design List Item Facade
The ID of the referenced server-side design.
The name of the design. This is the basename of the file by default or a custom name provided during design import.
The status of the server-side design processing.
Server Side Design File Usage Methods
Fetches a previously imported design from the API.
The API has to be configured when using this method. Local caching is established in case the local cache is configured.
const design = await designListItem.fetchDesign() // Continue working with the processed design const artboards = design.getArtboards()
A cancellation token which aborts the asynchronous operation. When the token is cancelled, the promise is rejected and side effects are not reverted (e.g. the local cache is not cleared once created). A cancellation token can be created via createCancelToken.
A design object which can be used for retrieving data from the design using the API.
Was this article helpful?