mirror of
https://github.com/zadam/trilium.git
synced 2025-11-05 21:05:55 +01:00
20 lines
364 B
TypeScript
20 lines
364 B
TypeScript
|
|
export interface CookieJar {
|
||
|
|
header?: string;
|
||
|
|
}
|
||
|
|
|
||
|
|
export interface ExecOpts {
|
||
|
|
proxy: "noproxy" | null;
|
||
|
|
method: string;
|
||
|
|
url: string;
|
||
|
|
paging?: {
|
||
|
|
pageCount: number;
|
||
|
|
pageIndex: number;
|
||
|
|
requestId: string;
|
||
|
|
};
|
||
|
|
cookieJar?: CookieJar;
|
||
|
|
auth?: {
|
||
|
|
password?: string;
|
||
|
|
},
|
||
|
|
timeout: number;
|
||
|
|
body: string;
|
||
|
|
}
|