UNPKG

cloud-ide-model-schema

Version:

Pachage for schema management of Cloud IDEsys LMS

30 lines (29 loc) 986 B
import mongoose from "mongoose"; export interface IBackupRecord { _id?: string; brec_backup_job_id: string; brec_backup_type: 'full' | 'incremental' | 'differential' | 'file'; brec_backup_path: string; brec_file_name: string; brec_size: number; brec_status: 'in_progress' | 'completed' | 'failed' | 'cancelled'; brec_verification_status: 'pending' | 'verified' | 'failed'; brec_started_at?: Date; brec_completed_at?: Date; brec_duration?: number; brec_error_message?: string; brec_metadata?: { collections_backed_up?: string[]; collections_count?: number; files_backed_up?: number; compression_ratio?: number; }; brec_created_at?: Date; brec_isactive?: boolean; } declare const CBackupRecord: mongoose.Model<IBackupRecord, {}, {}, {}, mongoose.Document<unknown, {}, IBackupRecord, {}> & IBackupRecord & Required<{ _id: string; }> & { __v: number; }, any>; export { CBackupRecord };