ModelCategorySelector
Index
Methods
get
Returns a StarlightItemResponse with a single ModelCategory.
Parameters
slug: string
The category slug.
Returns Promise<StarlightItemResponse<ModelCategory>>
list
Returns a StarlightListResponse with a list of ModelCategories.
Parameters
optionaloptions: ListModelCategoriesOptions
An optional object of request parameters. See ListModelCategoriesOptions for all available options.
Returns Promise<StarlightListResponse<ModelCategory>>
A Selector that provide methods to list and request information on ModelCategories.
You can use a ModelCategorySelector by accessing ModelInstance.categories.