chore: improve JS Client TSDoc comments (#5582)
* add oas schema to tsdoc parser * add tsdoc (part 1) * Finished tsdoc in js client * general fixes * added tsdoc in core medusa package * parse schema tags in model files * added maxlevel option * added more tsdoc * added tsdoc in core * added TSDoc in core package * generated client types * support featureFlag and expandable tags * added support for resource feature flag note * fix api ignore plugin * added eslint plugin * support feature flag and expandable badges * adjusted overview page + generated reference * revert generated files * added changeset * add details about new typedoc options * fix broken link
This commit is contained in:
@@ -1096,17 +1096,12 @@ export default Products`,
|
||||
|
||||
|
||||
In the response of listing API Routes, aside from the entities retrieved,
|
||||
there are three pagination-related fields returned: `count`, `limit`, and
|
||||
`offset`.
|
||||
there are three pagination-related fields returned:
|
||||
|
||||
|
||||
Similar to the query parameters, `limit` is the maximum number of items that
|
||||
can be returned in the response, and `field` is the number of items that
|
||||
were skipped before the entities in the result.
|
||||
|
||||
|
||||
`count` is the total number of available items of this entity. It can be
|
||||
used to determine how many pages are there.
|
||||
- `limit`: the maximum number of items that can be returned in the response.
|
||||
- `offset`: the number of items that were skipped before the entities in the result.
|
||||
- `count`: the total number of available items of this entity. It can be used to determine how many pages are there.
|
||||
|
||||
|
||||
For example, if the `count` is 100 and the `limit` is 50, you can divide the
|
||||
|
||||
@@ -155,7 +155,7 @@ You can learn more about publishable API keys and how to use them in [this docum
|
||||
### How to Create a Publishable API Key
|
||||
|
||||
You can create a publishable API key either using the [admin REST APIs](https://docs.medusajs.com/development/publishable-api-keys/admin/manage-publishable-api-keys),
|
||||
or using the [Medusa admin](https://docs.medusajs.com/user-guide/settings/publishable-api-keys).
|
||||
or using the [Medusa admin dashboard](https://docs.medusajs.com/user-guide/settings/publishable-api-keys).
|
||||
|
||||
### How to Use a Publishable API Key
|
||||
|
||||
@@ -1038,17 +1038,12 @@ export default Products`,
|
||||
|
||||
|
||||
In the response of listing API Routes, aside from the entities retrieved,
|
||||
there are three pagination-related fields returned: `count`, `limit`, and
|
||||
`offset`.
|
||||
there are three pagination-related fields returned:
|
||||
|
||||
|
||||
Similar to the query parameters, `limit` is the maximum number of items that
|
||||
can be returned in the response, and `field` is the number of items that
|
||||
were skipped before the entities in the result.
|
||||
|
||||
|
||||
`count` is the total number of available items of this entity. It can be
|
||||
used to determine how many pages are there.
|
||||
- `limit`: the maximum number of items that can be returned in the response.
|
||||
- `offset`: the number of items that were skipped before the entities in the result.
|
||||
- `count`: the total number of available items of this entity. It can be used to determine how many pages are there.
|
||||
|
||||
|
||||
For example, if the `count` is 100 and the `limit` is 50, you can divide the
|
||||
|
||||
Reference in New Issue
Block a user