graphdb-workbench
Version:
The web application for GraphDB APIs
17 lines (16 loc) • 635 B
TypeScript
import { ToastType } from './toast-type';
import { ToastConfig } from './toast-config';
/**
* Represents a toast notification message with type, content, and configuration.
*/
export declare class ToastMessage {
/** Unique identifier for the toast message */
id: string;
/** The type of toast message (e.g., 'success', 'error', 'warning', 'info') */
type: ToastType;
/** The content text to be displayed in the toast notification */
message: string;
/** Additional configuration for the toast message */
config?: ToastConfig;
constructor(type: ToastType, message: string, config?: ToastConfig);
}