MLightCAD
    Preparing search index...

    Interface Notification

    A single notification entry displayed in the notification center panel.

    Notifications are ordered by insertion time (newest first) and may include optional action buttons and auto-dismiss behavior.

    interface Notification {
        actions?: NotificationAction[];
        fontNames?: string[];
        id: string;
        message?: string;
        persistent?: boolean;
        source?: "font-missed";
        timeout?: number;
        timestamp: Date;
        title: string;
        type: "warning" | "error" | "info" | "success";
    }
    Index

    Properties

    actions?: NotificationAction[]

    Optional buttons that invoke callbacks when clicked.

    fontNames?: string[]

    Font names referenced by this notification; used by NotificationCenter.removeResolvedFontMissedNotifications to clear entries when those fonts are no longer missing.

    id: string

    Unique identifier assigned automatically when the notification is created.

    message?: string

    Optional longer description body; omitted for title-only toasts.

    persistent?: boolean

    When true, the notification is not auto-dismissed and must be closed manually or via NotificationCenter.remove.

    source?: "font-missed"

    Groups related notifications for selective removal (e.g. resolved missed-font alerts).

    timeout?: number

    Auto-dismiss delay in milliseconds. Ignored when persistent is true.

    timestamp: Date

    Time the notification was created.

    title: string

    Short headline shown in the notification header.

    type: "warning" | "error" | "info" | "success"

    Visual severity and icon category (info, warning, error, or success).