UNPKG

@print-one/grapesjs

Version:

Free and Open Source Web Builder Framework

14 lines (11 loc) 310 B
export interface StorageOptions { [key: string]: any; } export interface ProjectData { [key: string]: any; } export default interface IStorage<T extends StorageOptions = {}> { load: (options: T) => Promise<ProjectData>; store: (data: ProjectData, options: T) => Promise<any>; [key: string]: any; }