slim check snapshot model/types
This commit is contained in:
1 parent
3646af9c04
commit
dfcb3b4b21
12 files changed
+295
-243
No files matched your search
@@ -45,10 +45,6 @@ export class InMemoryMonitorsRepository implements IMonitorsRepository {
|
||||
return monitor ? { ...monitor } : null;
|
||||
}
|
||||
|
||||
async findByIdsWithChecks(monitorIds: string[], _checksCount?: number): Promise<Monitor[]> {
|
||||
return this.findByIds(monitorIds);
|
||||
}
|
||||
|
||||
async updateById(monitorId: string, teamId: string, updates: Partial<Monitor>): Promise<Monitor> {
|
||||
const index = this.monitors.findIndex((m) => m.id === monitorId && m.teamId === teamId);
|
||||
if (index === -1) {
|
||||
|
||||
Reference in new issue
Block a user