cloud-ide-lms-model
Version:
Package for Model management of Cloud IDEsys LMS
30 lines (29 loc) • 842 B
TypeScript
declare class NotificationBase {
_id?: string;
not_id_user?: string;
not_type?: 'info' | 'success' | 'warning' | 'error' | 'system';
not_category?: string;
not_title?: string;
not_message?: string;
not_data?: any;
not_action_url?: string;
not_action_label?: string;
not_status?: 'pending' | 'sent' | 'delivered' | 'read' | 'archived';
not_read_at?: Date;
not_delivered_at?: Date;
not_archived_at?: Date;
not_channels?: {
in_app?: boolean;
email?: boolean;
sms?: boolean;
};
not_priority?: 'low' | 'normal' | 'high' | 'urgent';
not_expires_at?: Date;
not_id_created_by?: string;
not_created_at?: Date;
not_updated_at?: Date;
}
declare class Notification extends NotificationBase {
}
export { NotificationBase, // interface
Notification };