UNPKG

690 BTypeScriptView Raw
1/// <reference types="node" />
2import { URL } from 'url';
3import { Lincoln } from '@nofrills/lincoln';
4import { Resource } from '@nativecode/rest-client';
5import { History } from '../Models/History';
6import { SortDirection } from '../Models/SortDirection';
7export declare enum HistorySortKey {
8 Date = "date",
9 Title = "movie.title"
10}
11export interface HistoryOptions {
12 pageSize: number;
13 sortDir?: SortDirection;
14 sortKey?: HistorySortKey;
15}
16export declare class HistoryResource extends Resource {
17 constructor(url: URL, apikey: string, logger: Lincoln);
18 page(page?: number, options?: HistoryOptions): Promise<History>;
19}
20//# sourceMappingURL=HistoryResource.d.ts.map
\No newline at end of file