2023-09-25 19:29:35 -04:00
|
|
|
import { Document } from "mongoose";
|
|
|
|
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
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|