notification-service
Preparing search index...
application/ports/in/NotificationService
NotificationService
Interface NotificationService
interface
NotificationService
{
create
(
params
:
CreateNotificationParams
,
)
:
Promise
<
CreateNotificationResponse
>
;
deleteAll
()
:
Promise
<
void
>
;
deleteOne
(
id
:
string
)
:
Promise
<
DeleteOneResponse
>
;
getAll
()
:
Promise
<
NotificationOutput
[]
>
;
getById
(
id
:
string
)
:
Promise
<
GetNotificationResponse
>
;
getUnreadCount
()
:
Promise
<
number
>
;
markAsRead
(
id
:
string
)
:
Promise
<
MarkAsReadResponse
>
;
}
Implemented by
NotificationServiceImpl
Index
Methods
create
delete
All
delete
One
get
All
get
By
Id
get
Unread
Count
mark
As
Read
Methods
create
create
(
params
:
CreateNotificationParams
)
:
Promise
<
CreateNotificationResponse
>
Parameters
params
:
CreateNotificationParams
Returns
Promise
<
CreateNotificationResponse
>
delete
All
deleteAll
()
:
Promise
<
void
>
Returns
Promise
<
void
>
delete
One
deleteOne
(
id
:
string
)
:
Promise
<
DeleteOneResponse
>
Parameters
id
:
string
Returns
Promise
<
DeleteOneResponse
>
get
All
getAll
()
:
Promise
<
NotificationOutput
[]
>
Returns
Promise
<
NotificationOutput
[]
>
get
By
Id
getById
(
id
:
string
)
:
Promise
<
GetNotificationResponse
>
Parameters
id
:
string
Returns
Promise
<
GetNotificationResponse
>
get
Unread
Count
getUnreadCount
()
:
Promise
<
number
>
Returns
Promise
<
number
>
mark
As
Read
markAsRead
(
id
:
string
)
:
Promise
<
MarkAsReadResponse
>
Parameters
id
:
string
Returns
Promise
<
MarkAsReadResponse
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
create
delete
All
delete
One
get
All
get
By
Id
get
Unread
Count
mark
As
Read
notification-service
Loading...