import type { Filters, PaginationObject, FinalSchemas, } from "@hatchifyjs/rest-client" import type { PartialSchema } from "@hatchifyjs/core" import type { HatchifyReactRest } from "@hatchifyjs/react-rest" import type { HatchifyDataGridSelectedState, SortObject, } from "../../presentation/index.js" import { WithSchemas, NoSchemas } from "./components/index.js" export interface HatchifyEverythingProps< TSchemas extends Record, > { finalSchemas: FinalSchemas partialSchemas: TSchemas restClient: HatchifyReactRest children?: React.ReactNode | null defaultSelected?: HatchifyDataGridSelectedState onSelectedChange?: (selected: HatchifyDataGridSelectedState) => void defaultPage?: PaginationObject defaultSort?: SortObject baseFilter?: Filters minimumLoadTime?: number } function HatchifyEverything< const TSchemas extends Record, >({ finalSchemas, ...rest }: HatchifyEverythingProps): JSX.Element { return ( <> {Object.keys(finalSchemas).length !== 0 ? ( ) : ( )} ) } HatchifyEverything.displayName = "Everything" export default HatchifyEverything