1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-30 10:36:35 +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;
};