/* eslint-disable @typescript-eslint/member-ordering */ import { Injectable, inject } from '@angular/core'; import { NotificationsService } from '../services/notifications.service'; @Injectable({ providedIn: 'root' }) export class NotificationsFacade { private readonly service = inject(NotificationsService); readonly settings = this.service.settings; readonly unread = this.service.unread; initialize( ...args: Parameters ): ReturnType { return this.service.initialize(...args); } syncRoomCatalog( ...args: Parameters ): ReturnType { return this.service.syncRoomCatalog(...args); } hydrateUnreadCounts( ...args: Parameters ): ReturnType { return this.service.hydrateUnreadCounts(...args); } refreshRoomUnreadFromMessages( ...args: Parameters ): ReturnType { return this.service.refreshRoomUnreadFromMessages(...args); } handleIncomingMessage( ...args: Parameters ): ReturnType { return this.service.handleIncomingMessage(...args); } markCurrentChannelReadIfActive( ...args: Parameters ): ReturnType { return this.service.markCurrentChannelReadIfActive(...args); } isRoomMuted( ...args: Parameters ): ReturnType { return this.service.isRoomMuted(...args); } isChannelMuted( ...args: Parameters ): ReturnType { return this.service.isChannelMuted(...args); } roomUnreadCount( ...args: Parameters ): ReturnType { return this.service.roomUnreadCount(...args); } channelUnreadCount( ...args: Parameters ): ReturnType { return this.service.channelUnreadCount(...args); } setNotificationsEnabled( ...args: Parameters ): ReturnType { return this.service.setNotificationsEnabled(...args); } setShowPreview( ...args: Parameters ): ReturnType { return this.service.setShowPreview(...args); } setRespectBusyStatus( ...args: Parameters ): ReturnType { return this.service.setRespectBusyStatus(...args); } setRoomMuted( ...args: Parameters ): ReturnType { return this.service.setRoomMuted(...args); } setChannelMuted( ...args: Parameters ): ReturnType { return this.service.setChannelMuted(...args); } }