Interface UseSchemasReturn

Interface representing the return value of the useSchemas hook.

Hierarchy

  • UseSchemasReturn

Properties

currentPage: number

The current page number for pagination.

Function to fetch the next page of schemas or refresh the current page.

fetched: boolean

Boolean indicating whether the schemas have been fetched.

hasMore: boolean

Boolean indicating whether more schemas are available for pagination.

Function to refresh the list of schemas.

schemas: SchemaExtendedType[]

The list of schemas currently fetched and managed by the hook.

Generated using TypeDoc