remotely-save/src/baseTypes.ts
2021-11-28 12:20:38 +08:00

14 lines
244 B
TypeScript

/**
* Only type defs here.
*/
export type SUPPORTED_SERVICES_TYPE = "s3" | "webdav" | "dropbox";
export interface RemoteItem {
key: string;
lastModified: number;
size: number;
remoteType: SUPPORTED_SERVICES_TYPE;
etag?: string;
}