mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-09-11 05:01:31 +08:00
21 lines
368 B
TypeScript
21 lines
368 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;
|
|
};
|
|
timeout: number;
|
|
body?: string | {};
|
|
}
|