Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | /// <reference path="./schemas/auth/auth.schema.d.ts" />
/// <reference path="./schemas/patient/patient.schema.d.ts" />
/// <reference path="./schemas/doctor/doctor.schema.d.ts" />
/// <reference path="./schemas/appointment/appointment.schema.d.ts" />
/// <reference path="./types/auth.d.ts" />
/// <reference path="./types/openapi.type.d.ts" />
/// <reference path="./types/patient.d.ts" />
/// <reference path="./types/appointment.d.ts" />
/// <reference path="./types/doctor.d.ts" />
import { Request as ExpressRequest } from 'express';
declare global {
interface IAuthUser {
userId: string;
timestamp: number;
}
interface IWithUser {
USER: IAuthUser;
}
declare type TimeUnit = 'ms' | 's' | 'm' | 'h' | 'd';
declare interface ICoordinates {
lat: number;
lng: number;
}
declare interface IPageList<T> {
items: T[];
total: number;
}
declare type RequestMethods = 'get' | 'post' | 'patch' | 'put' | 'delete';
}
|