UNPKG

410 BTypeScriptView Raw
1export interface StorageProvider {
2 cancel?(request: Promise<any>): void;
3 configure(config: object): object;
4 get(key: string, options?: any): Promise<string | Object>;
5 put(key: string, object: any, options?: any): Promise<Object>;
6 remove(key: string, options?: any): Promise<any>;
7 list(path: any, options?: any): Promise<any>;
8 getCategory(): string;
9 getProviderName(): string;
10}