externalModelCategorySelector
Index
Methods
externalget
Returns a StarlightItemResponse with a single ModelCategory.
Parameters
externalslug: string
The category slug.
Returns Promise<StarlightItemResponse<ModelCategory>>
externallist
Returns a StarlightListResponse with a list of ModelCategories.
Parameters
externaloptionaloptions: 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.