export declare const ENTITY_TYPE = "entity-type"; export interface NuxeoQuickFilter { name: string; active: boolean; } export interface NuxeoPagination { [ENTITY_TYPE]: string; isPaginable: boolean; resultsCount: number; pageSize: number; maxPageSize: number; resultsCountLimit: number; currentPageSize: number; currentPageIndex: number; currentPageOffset: number; numberOfPages: number; isPreviousPageAvailable: boolean; isNextPageAvailable: boolean; isLastPageAvailable: boolean; isSortable: boolean; hasError: boolean; errorMessage: string | null; totalSize: number; pageIndex: number; pageCount: number; quickFilters: NuxeoQuickFilter[]; aggregations?: Record; entries: T[]; } export interface NuxeoResponse { [ENTITY_TYPE]: string; entries: Entity[]; } export type Entity = { [ENTITY_TYPE]: string; repository?: string; uid?: string; path?: string; type?: string; state?: string; parentRef?: string | null; isCheckedOut?: boolean; isRecord?: boolean; retainUntil?: string | null; hasLegalHold?: boolean; isUnderRetentionOrLegalHold?: boolean; isVersion?: boolean; isProxy?: boolean; changeToken?: string; contextParameters?: Record; isTrashed?: boolean; title?: string; lastModified?: string; properties?: Record; facets?: string[]; schemas?: Schema[]; }; export interface Schema { name: string; prefix: string; }