UNPKG

@bd-innovations/abstract-section

Version:

A bunch of abstract logic for the section

19 lines (18 loc) 484 B
export interface PaginatedRequestConfig { pagination: PaginationRequestModel; parentPrimaryKey?: number | string; sort?: SortRequestModel; filters?: { [key: string]: any; }; indexSearch?: string; } export interface PaginationRequestModel { pageIndex: number; pageSize: number; } export interface SortRequestModel { active: string; direction: UpperCaseSortDirection; } export declare type UpperCaseSortDirection = 'ASC' | 'DESC' | null;