refactor service
This commit is contained in:
1 parent
82cb59ae9e
commit
56aa7b3e1a
21 files changed
+301
-162
No files matched your search
@@ -19,11 +19,13 @@ export const MonitorStatuses = [
|
||||
"down",
|
||||
"paused",
|
||||
"initializing",
|
||||
"resuming",
|
||||
] as const;
|
||||
|
||||
export type MonitorStatus = (typeof MonitorStatuses)[number];
|
||||
|
||||
export interface IMonitor {
|
||||
id: string;
|
||||
checks: ICheck[];
|
||||
createdAt: string;
|
||||
createdBy: string;
|
||||
@@ -47,7 +49,6 @@ export interface IMonitor {
|
||||
temperature: number;
|
||||
};
|
||||
__v: number;
|
||||
_id: string;
|
||||
}
|
||||
|
||||
export interface IMonitorWithStats {
|
||||
|
||||
Reference in new issue
Block a user