deleteById
This commit is contained in:
1 parent
6b5fd8d17f
commit
75bcf9df58
3 files changed
+17
-6
No files matched your search
@@ -29,6 +29,7 @@ export interface IMonitorsRepository {
|
||||
updateById(monitorId: string, updates: Partial<Monitor>): Promise<Monitor>;
|
||||
togglePauseById(monitorId: string, teamId: string): Promise<Monitor>;
|
||||
// delete
|
||||
deleteById(monitorId: string, teamId: string): Promise<Monitor>;
|
||||
deleteByTeamId(teamId: string): Promise<{ monitors: Monitor[]; deletedCount: number }>;
|
||||
|
||||
// counts
|
||||
|
||||
Reference in new issue
Block a user