14 lines
313 B
TypeScript
14 lines
313 B
TypeScript
|
import { Document } from "mongoose";
|
||
|
import { IStory } from "~/models/stories";
|
||
|
import { IUser } from "~/models/user";
|
||
|
|
||
|
declare module "next" {
|
||
|
export interface NextApiRequest {
|
||
|
newStory?: IStory,
|
||
|
user?: IUser;
|
||
|
files: any;
|
||
|
AddID?: string | number;
|
||
|
readStory?: IStory;
|
||
|
cidx?: number;
|
||
|
}
|
||
|
}
|