added Collection endpoint and types, buildable option interfaces
This commit is contained in:
9
src/types/options.ts
Normal file
9
src/types/options.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
import { ParsedUrlQueryInput } from 'querystring';
|
||||
|
||||
export interface LanguageOption extends ParsedUrlQueryInput {
|
||||
language?: string;
|
||||
}
|
||||
|
||||
export interface PageOption extends ParsedUrlQueryInput {
|
||||
page?: number;
|
||||
}
|
||||
Reference in New Issue
Block a user