@magnetarjs/plugin-simple-store
Version:
Magnetar plugin simple store
8 lines (7 loc) • 410 B
TypeScript
import type { PluginWriteAction } from '@magnetarjs/types';
import { MakeRestoreBackup, SimpleStoreOptions } from '../CreatePlugin.js';
export declare function writeActionFactory(data: {
[collectionPath: string]: Map<string, {
[key: string]: unknown;
}>;
}, simpleStoreOptions: SimpleStoreOptions, actionName: 'merge' | 'assign' | 'replace', makeBackup?: MakeRestoreBackup): PluginWriteAction;