@magnetarjs/plugin-simple-store
Version:
Magnetar plugin simple store
6 lines (5 loc) • 329 B
TypeScript
import type { PathWhereIdentifier, PluginFetchCountAction } from '@magnetarjs/types';
import { SimpleStoreOptions } from '../CreatePlugin.js';
export declare function fetchCountActionFactory(pathCountDic: {
[collectionPath in PathWhereIdentifier]?: number;
}, simpleStoreOptions: SimpleStoreOptions): PluginFetchCountAction;