kient / CategoryAPI
Class: CategoryAPI
Description placeholder
Extends
APIBase
Constructors
new CategoryAPI()
ts
new CategoryAPI(kient): CategoryAPIParameters
| Parameter | Type |
|---|---|
kient | Kient |
Returns
Inherited from
ts
APIBase.constructorProperties
| Property | Modifier | Type | Inherited from | Defined in |
|---|---|---|---|---|
kient | readonly | Kient | APIBase.kient | src/api/api-base.ts:5 |
Methods
query()
ts
query(query): Promise<Category[]>Returns an array of categories matching search query
Parameters
| Parameter | Type | Description |
|---|---|---|
query | string | Accepts a string that will be matched against the category title |
Returns
Promise<Category[]>