diff --git a/sources/js/src/hooks/use-entity-records.ts b/sources/js/src/hooks/use-entity-records.ts index c21d33e..92099f6 100644 --- a/sources/js/src/hooks/use-entity-records.ts +++ b/sources/js/src/hooks/use-entity-records.ts @@ -15,8 +15,8 @@ enum ResolveStatus { * `records()` as an indicator of the hook status. * * @internal - * @param kind The kind of entity to fetch. E.g. 'root', 'postType', 'taxonomy', etc. - * @param name The name of the entity to fetch. E.g. 'post', 'page', 'category', etc. + * @param kind The kind of entity to fetch. E.g. 'root', 'postType', 'taxonomy', etc. + * @param name The name of the entity to fetch. E.g. 'post', 'page', 'category', etc. * @param queryArgs The query args to pass to the entity fetch. E.g. { per_page: 100 } */ export function useEntityRecords( diff --git a/sources/js/src/hooks/use-query-viewable-post-types.ts b/sources/js/src/hooks/use-query-viewable-post-types.ts index eed1c5f..d869995 100644 --- a/sources/js/src/hooks/use-query-viewable-post-types.ts +++ b/sources/js/src/hooks/use-query-viewable-post-types.ts @@ -6,7 +6,8 @@ import { useEntityRecords } from './use-entity-records'; /** * Hook to obtain the `viewable` post types only. * This is an api on top of `useEntityRecords` to facilitate the usage of the `viewable` post types. - * @api + * + * @public */ export function useQueryViewablePostTypes(): EntitiesSearch.EntitiesRecords { const entitiesRecords = useEntityRecords>(