12 lines
202 B
TypeScript
12 lines
202 B
TypeScript
|
|
|
||
|
|
export interface UniqueItem{
|
||
|
|
id: number;
|
||
|
|
}
|
||
|
|
|
||
|
|
export interface PageControl<T>{
|
||
|
|
items: T[] | null;
|
||
|
|
hasNext: boolean;
|
||
|
|
hasPrevious: boolean;
|
||
|
|
nextPage(): void;
|
||
|
|
previousPage(): void;
|
||
|
|
}
|