trilium/src/services/request_interface.ts
2024-04-03 23:18:39 +03:00

20 lines
379 B
TypeScript

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