naga-audit-service
Version:
A comprehensive audit service library for NestJS applications with MongoDB support
21 lines • 628 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.BASE_DYNAMIC_SCHEMA = exports.DEFAULT_FIELDS = void 0;
exports.DEFAULT_FIELDS = [
'title',
'description',
'prevsState',
'newState',
'type',
'modifiedBy',
];
exports.BASE_DYNAMIC_SCHEMA = {
title: { type: String },
description: { type: String, default: "" },
prevsState: { type: Object, default: {} },
newState: { type: Object, default: {} },
type: { type: String },
metaData: { type: Object, default: {} },
modifiedBy: { type: String }
};
//# sourceMappingURL=dynamic-schema.constants.js.map