import type { Document } from './Document'; import type { DocumentFacet } from './DocumentFacet'; /** * Response serializer for DocumentSearchView */ export type DocumentSearchResponse = { /** * List of documents matching the search criteria */ results: Array; /** * Total number of documents matching the search criteria */ count: number; /** * URL for the next page of results */ next: string | null; /** * URL for the previous page of results */ previous: string | null; /** * Current page number */ current_page: number; /** * Total number of pages */ total_pages: number; /** * Facet information for filtering */ facets: Record; };