File

src/app/shared/components/shared.interface.ts

Index

Properties

Properties

Static ASC
ASC:
Default value : ASC
Static DESC
DESC:
Default value : DESC
export class OrderParams {
  static ASC = 'ASC';
  static DESC = 'DESC';
}

export interface SortParams {
  order: string;
  sort: string;
}

export interface PaginationParams {
  page: number;
  size: number;
}

export interface ListParams extends SortParams, PaginationParams {
  page: number;
  size: number;
  sort: string;
  order: string;
}

export interface ListDefaultParams extends SortParams, PaginationParams {
  q: string;
  page: number;
  size: number;
  sort: string;
  order: string;
}

results matching ""

    No results matching ""