Files
Trilium/apps/server/src/services/request_interface.ts

22 lines
396 B
TypeScript

export interface CookieJar {
header?: string;
}
export interface ExecOpts {
proxy: string | null;
method: string;
url: string;
paging?: {
pageCount: number;
pageIndex: number;
requestId: string;
};
cookieJar?: CookieJar;
auth?: {
password?: string;
totpToken?: string;
};
timeout: number;
body?: string | {};
}