@magnetarjs/plugin-simple-store
Version:
Magnetar plugin simple store
10 lines (9 loc) • 431 B
TypeScript
import type { PathWhereIdentifier, PluginFetchAggregateAction } from '@magnetarjs/types';
import { SimpleStoreOptions } from '../CreatePlugin.js';
export declare function fetchAggregateActionFactory(pathAggregateDic: {
[collectionPath in PathWhereIdentifier]?: {
[key in string]: number | {
[key in string]: unknown;
};
};
}, simpleStoreOptions: SimpleStoreOptions): PluginFetchAggregateAction;