Skip to main content

NotifcationPart

Source: lyda-shared/src/Models/NotifcationPart.ts

NotificationPart

Represents a part of a notification that can be displayed as a separate component

Type: interface

export interface NotificationPart {
type: "profile" | "track" | "album" | "playlist",
text?: string,
id?: number
}

Properties

PropertyTypeRequiredDescription
type"profile" or "track" or "album" or "playlist",Yes-
textstring,No-
idnumberNo-