@magnetarjs/plugin-simple-store
Version:
Magnetar plugin simple store
10 lines (9 loc) • 382 B
TypeScript
import type { PluginFetchAction } from '@magnetarjs/types';
import { SimpleStoreOptions } from '../CreatePlugin.js';
export declare function fetchActionFactory(data: {
[collectionPath: string]: Map<string, {
[key: string]: unknown;
}>;
}, exists: {
[docPath: string]: undefined | 'error' | boolean;
}, simpleStoreOptions: SimpleStoreOptions): PluginFetchAction;