Skip to content

Commit

Permalink
Update TSDoc for the hidden property
Browse files Browse the repository at this point in the history
  • Loading branch information
dokmic committed Nov 8, 2022
1 parent 5e07fda commit ceacf51
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ export interface SavedObjectsType<Attributes = any> {
/**
* Is the type hidden by default. If true, repositories will not have access to this type unless explicitly
* declared as an `extraType` when creating the repository.
* It is recommended to hide the type for better backward compatibility.
* The hidden types will not be automatically exposed via the HTTP API.
* Therefore, that should prevent unexpected behavior in the client code, as all the interactions will be done via the plugin API.
*
* See {@link SavedObjectsServiceStart.createInternalRepository | createInternalRepository}.
*/
Expand Down

0 comments on commit ceacf51

Please sign in to comment.