2023-10-05 02:01:31 -04:00
|
|
|
import { Document } from "mongoose";
|
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
|
|
|
|
|
|
|
declare module "next" {
|
|
|
|
export interface NextApiRequest {
|
|
|
|
newStory?: IStory;
|
|
|
|
user?: IUser;
|
|
|
|
files: any;
|
|
|
|
AddID?: string | number;
|
|
|
|
readStory?: IStory;
|
|
|
|
cidx?: number;
|
|
|
|
}
|
|
|
|
}
|