Backstage
Docs
Github
Preparing search index...
@backstage/plugin-notifications
index
NotificationsClient
Class NotificationsClient
Implements
NotificationsApi
Index
Constructors
constructor
Methods
get
Notification
get
Notifications
get
Notification
Settings
get
Status
get
Topics
update
Notifications
update
Notification
Settings
Constructors
constructor
new
NotificationsClient
(
options
:
{
discoveryApi
:
DiscoveryApi
;
fetchApi
:
FetchApi
}
,
)
:
NotificationsClient
Parameters
options
:
{
discoveryApi
:
DiscoveryApi
;
fetchApi
:
FetchApi
}
Returns
NotificationsClient
Methods
get
Notification
getNotification
(
id
:
string
)
:
Promise
<
Notification
>
Parameters
id
:
string
Returns
Promise
<
Notification
>
get
Notifications
getNotifications
(
options
?:
GetNotificationsOptions
,
)
:
Promise
<
GetNotificationsResponse
>
Parameters
Optional
options
:
GetNotificationsOptions
Returns
Promise
<
GetNotificationsResponse
>
get
Notification
Settings
getNotificationSettings
()
:
Promise
<
NotificationSettings
>
Returns
Promise
<
NotificationSettings
>
get
Status
getStatus
()
:
Promise
<
NotificationStatus
>
Returns
Promise
<
NotificationStatus
>
get
Topics
getTopics
(
options
?:
GetNotificationsCommonOptions
)
:
Promise
<
GetTopicsResponse
>
Parameters
Optional
options
:
GetNotificationsCommonOptions
Returns
Promise
<
GetTopicsResponse
>
update
Notifications
updateNotifications
(
options
:
UpdateNotificationsOptions
,
)
:
Promise
<
Notification
[]
>
Parameters
options
:
UpdateNotificationsOptions
Returns
Promise
<
Notification
[]
>
update
Notification
Settings
updateNotificationSettings
(
settings
:
NotificationSettings
,
)
:
Promise
<
NotificationSettings
>
Parameters
settings
:
NotificationSettings
Returns
Promise
<
NotificationSettings
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
get
Notification
get
Notifications
get
Notification
Settings
get
Status
get
Topics
update
Notifications
update
Notification
Settings
Docs
Github
Backstage
Loading...