mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
20 lines
379 B
TypeScript
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 | {};
|
|
} |