fix errors

This commit is contained in:
Peter Maquiran
2024-12-06 11:21:32 +01:00
parent 5a1bbe6103
commit aef73625f0
10 changed files with 112 additions and 69 deletions
@@ -0,0 +1,21 @@
import { Injectable } from '@angular/core';
import { RemoteNotificationService } from 'src/app/module/notification/data/datasource/remote-notification.service';
import { z } from 'zod';
const NotificationDeleteAllByUserIdSchema = z.any()
export type INotificationDeleteAllByUserId = z.infer<typeof NotificationDeleteAllByUserIdSchema>
@Injectable({
providedIn: 'root'
})
export class NotificationDeleteAllServiceUseCase {
constructor(
private RemoteNotificationService:RemoteNotificationService
) { }
async execute(userId: INotificationDeleteAllByUserId) {
return this.RemoteNotificationService.notificationDeleteAll(userId)
}
}