interface
Source: index.ts ↗
INotificationBase
Notification with details about the automation or test that triggered it.
export interface INotificationBase
Properties
Property | Modifiers | Type | Description |
|---|---|---|---|
string | Timestamp when the notification was created. | ||
string | Unique identifier of the notification. | ||
boolean | Indicates whether the notification has been read. | ||
Type of the notification. | |||
“notification” | Type of the object for type narrowing. | ||
string | (Optional) Identifier of the workspace if the notification was created in a workspace context. |
Property details
INotificationBase.createdAtproperty
Timestamp when the notification was created.
createdAt: string;
INotificationBase.idproperty
Unique identifier of the notification.
id: string;
INotificationBase.isReadproperty
Indicates whether the notification has been read.
isRead: boolean;
INotificationBase.notificationTypeproperty
Type of the notification.
notificationType: NotificationType;
INotificationBase.typeproperty
Type of the object for type narrowing.
type: "notification";
INotificationBase.workspaceIdproperty
Identifier of the workspace if the notification was created in a workspace context.
workspaceId?: string;