irisa-common-models
v0.0.5
Published
export interface BusinessError { type: string; subject: string; message: string; params: object; }
Downloads
100
Readme
export interface BusinessError { type: string; subject: string; message: string; params: object; }
export interface ClientMessage { message: string; params: any; }
export interface ClientSettingsModel { captchaSiteKey?: string; enableTwoStepAuthentication?: boolean; fileMaxVolumeMB?: number; }
export interface LocationModel { lat: number; lng: number; }
export interface LookUpModel { id?: number; title?: string; code?: string; description?: string; }
export class PagedList { pageIndex: number; pageSize: number; totalItemsCount?: number; hasMore?: boolean; items: T[] = []; }
export interface PagingOptions { pageIndex: number; pageSize: number; }
export interface PagingSortingOptions { sortingOptions: SortingOption[]; }
export interface SimpleSearchModel { key?: string; }
export class PagedSortedList { pageIndex?: number; pageSize?: number; totalItemsCount?: number; hasMore?: boolean; sortingOptions?: SortingOption[] = []; items?: T[] = []; }
type SortingOptionOrders = 'asc' | 'desc' | '';
export interface SortingOption { field?: string; order?: SortingOptionOrders; }
export interface TimeModel { hour?: number; minute?: number; second?: number; }
export interface UserModel { username: string; displayName: string; roles: string[] | null; }