initial commit
This commit is contained in:
1 parent
7cb985116e
commit
75acf7b38f
955 files changed
+37333
-87054
No files matched your search
Vendored
+8
-7
@@ -1,10 +1,11 @@
|
||||
import { ITokenizedUser } from "../db/models/index.ts";
|
||||
import { IUserContext } from "../db/models/index.ts";
|
||||
|
||||
declare global {
|
||||
namespace Express {
|
||||
interface Request {
|
||||
user?: ITokenizedUser;
|
||||
resource?: any;
|
||||
}
|
||||
}
|
||||
namespace Express {
|
||||
interface Request {
|
||||
user?: IUserContext;
|
||||
resource?: any;
|
||||
validatedQuery: Record<string, any>;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,11 +1,11 @@
|
||||
import { IMonitor, IMonitorStats } from "../db/v2/models/index.js";
|
||||
import { IMonitor, IMonitorStats } from "@/db/models/index.js";
|
||||
|
||||
export interface MonitorWithChecksResponse {
|
||||
monitor: IMonitor;
|
||||
checks: Array<{
|
||||
_id: string;
|
||||
count: number;
|
||||
avgResponseTime: number;
|
||||
}>;
|
||||
stats: IMonitorStats;
|
||||
monitor: IMonitor;
|
||||
checks: Array<{
|
||||
_id: string;
|
||||
count: number;
|
||||
avgResponseTime: number;
|
||||
}>;
|
||||
stats: IMonitorStats;
|
||||
}
|
||||
Reference in new issue
Block a user