@bd-innovations/abstract-section
Version:
A bunch of abstract logic for the section
20 lines (19 loc) • 499 B
TypeScript
/**
* @deprecated
* */
export interface ApiRequestModel {
search: IndexedSearchRequestModel;
paginator: PaginationRequestModel;
sort: SortRequestModel;
}
export declare type IndexedSearchRequestModel = string;
export interface PaginationRequestModel {
pageIndex: number;
pageSize: number;
length?: number;
}
export interface SortRequestModel {
active: string;
direction: UpperCaseSortDirection;
}
export declare type UpperCaseSortDirection = 'ASC' | 'DESC' | null;