NotificationService Service
File: src/services/NotificationService.ts
Overview
Exports
- NotificationServiceError - interface export
- NotificationResult - interface export
- NotificationService - class export
- notificationService - const export
Classes
NotificationService
No description available.
Methods:
getInstancesendNotificationcatchfetchNotifications_fetchNotificationsDirectmarkAsReadmarkAllAsReaddeleteNotificationgetUnreadCountloadPreferencesupdatePreferencescreateError
Properties:
instancesystemtypetoUserIddataoptionsserverIdchannelIdconversationIdactivityIdcategorynotification_typeto_user_idnotification_dataserver_idchannel_idconversation_idactivity_idsuccessnotificationerrorpaginationNoteuserIdlimitoffsetunreadOnlylayerp_user_idp_limitp_offsetp_unread_onlyp_notification_typesfailsquerynotificationsmethodread_atascendingreadsupabaseis_readtrueusercount0preferencesnulluser_idonConflictupdatedMETHODSmessagedetails
Interfaces
NotificationServiceError
No description available.
typescript
interface NotificationServiceError {
code: string
message: string
details?: any
}NotificationResult
No description available.
typescript
interface NotificationResult {
success: boolean
notificationIds?: string[]
}Source Code Insights
File Size: 9021 characters Lines of Code: 336 Imports: 3
Usage Example
typescript
import { NotificationServiceError, NotificationResult, NotificationService, notificationService } from '@/services/NotificationService'
// Example usage
// Use the exported functionalityThis documentation was automatically generated from the source code.
