2023-12-20 17:23:31 -05:00
|
|
|
import { IStory } from "@models/stories";
|
|
|
|
import { IUser } from "@models/user";
|
2023-10-05 02:01:31 -04:00
|
|
|
import { Request } from "express";
|
2023-09-25 19:29:35 -04:00
|
|
|
|
|
|
|
declare global {
|
|
|
|
declare namespace Express {
|
|
|
|
interface Request {
|
2023-10-05 02:01:31 -04:00
|
|
|
newStory?: IStory;
|
2023-09-25 19:29:35 -04:00
|
|
|
user?: IUser;
|
|
|
|
files: any;
|
|
|
|
AddID?: string | number;
|
|
|
|
readStory?: IStory;
|
|
|
|
cidx?: number;
|
|
|
|
}
|
|
|
|
interface User {
|
2023-10-05 02:01:31 -04:00
|
|
|
[key: string]: any;
|
2023-09-25 19:29:35 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|