externalCollectionSelector
Index
Methods
externalget
Returns a StarlightItemResponse with a single Collection.
Parameters
externalslug: string | number
The collection slug.
Returns Promise<StarlightItemResponse<Collection<string>>>
externallist
Returns a StarlightListResponse with the list of Collections in this workspace.
Parameters
externaloptionaloptions: ListCollectionsParams
An optional object of request parameters. See ListCollectionsParams for all available options.
Returns Promise<StarlightListResponse<Collection<string>>>
A Selector that provide methods to list and request information on Collections.
You can use a CollectionSelector by accessing StarlightClient.collections.
To get items from a specific collection, use a CollectionInstance.