UNPKG

mongoose-history-diff

Version:

A mongoose plugin to take diffs and history of your documents

4 lines (3 loc) 171 B
import { Connection } from 'mongoose'; import { IDiffModel } from './types'; export default function (mongooseConnection: Connection, collectionName: string): IDiffModel;