ModelSelector
Index
Methods
get
- Returns a StarlightItemResponse with a single Model. - Note that this method only returns information on a model, like its title, slug, creation date, and entry count. If you want list its entries or categories, you need to use a ModelInstance. - Parameters- slug: string- The model slug. 
 - Returns Promise<StarlightItemResponse<Model>>
list
- Returns a StarlightListResponse with a list of Models. - Returns Promise<StarlightListResponse<Model>>
A Selector that provide methods to list and request information on Models.
You can use a ModelSelector by accessing StarlightClient.models.
To list entries or categories of a specific model, use a ModelInstance.