indexeddb-fs
Version:
An 'fs' kind of library dedicated to the browser
8 lines (7 loc) • 365 B
TypeScript
import { IFileEntry } from "../../../types";
export interface IUpdateFileDetailsInstanceProps {
fileDetails: <TData = unknown>(fullPath: string) => Promise<IFileEntry<TData>>;
isDirectory: (fullPath: string) => Promise<boolean>;
putRecord: <TValue = unknown>(value: TValue, key?: IDBValidKey) => Promise<TValue>;
rootDirectoryName: string;
}