ContentStateTypes
Home > @backstage/plugin-techdocs
> ContentStateTypes
A state representation that is used to configure the UI of
Signature:
export type ContentStateTypes =
/** There is nothing to display but a loading indicator */
'CHECKING'
/** There is no content yet -> present a full screen loading page */
| 'INITIAL_BUILD'
/** There is content, but the backend is about to update it */
| 'CONTENT_STALE_REFRESHING'
/** There is content, but after a reload, the content will be different */
| 'CONTENT_STALE_READY'
/** There is content, the backend tried to update it, but failed */
| 'CONTENT_STALE_ERROR'
/** There is nothing to see but a "not found" page. Is also shown on page load errors */
| 'CONTENT_NOT_FOUND'
/** There is only the latest and greatest content */
| 'CONTENT_FRESH';