UNPKG

@furystack/filesystem-store

Version:

Simple File System store implementation for FuryStack

18 lines 684 B
import type { Constructable, Injector } from '@furystack/inject'; /** * * @param options The Options for store creation * @param options.injector The injector to use for creating the store * @param options.model The model to use for the store * @param options.primaryKey The primary key of the model * @param options.fileName The name of the file to use for the store * @param options.tickMs The time in ms to wait between each save */ export declare const useFileSystemStore: <T>(options: { injector: Injector; model: Constructable<T>; primaryKey: keyof T; fileName: string; tickMs?: number; }) => void; //# sourceMappingURL=store-manager-helpers.d.ts.map