RocketChat/Rocket.Chat

View on GitHub
apps/meteor/ee/server/models/raw/AuditLog.ts

Summary

Maintainability
A
35 mins
Test Coverage
import type { RocketChatRecordDeleted, IAuditLog } from '@rocket.chat/core-typings';
import type { Collection, Db } from 'mongodb';

import { BaseRaw } from '../../../../server/models/raw/BaseRaw';

export class AuditLogRaw extends BaseRaw<IAuditLog> {
    constructor(db: Db, trash?: Collection<RocketChatRecordDeleted<IAuditLog>>) {
        super(db, 'audit_log', trash);
    }
}