1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-27 10:32:58 +02:00
joplin/packages/lib/types.ts

27 lines
447 B
TypeScript

import { DownloadController } from './downloadController';
export enum ApplicationPlatform {
Unknown = 0,
Windows = 1,
Linux = 2,
MacOs = 3,
Android = 4,
Ios = 5,
}
export enum ApplicationType {
Unknown = 0,
Desktop = 1,
Mobile = 2,
Cli = 3,
}
export type FetchBlobOptions = {
path?: string;
method?: string;
maxRedirects?: number;
timeout?: number;
headers?: Record<string, string>;
downloadController?: DownloadController;
};