* fix: shared next-auth calendso session type fix * fix: move imports from @lib -> @calcom/lib to fix types * Consolidates next-auth definitions Co-authored-by: Agusti Fernandez Pardo <git@agusti.me> Co-authored-by: zomars <zomars@me.com>
13 lines
369 B
TypeScript
13 lines
369 B
TypeScript
import type { IncomingMessage } from "http";
|
|
import type { Session } from "next-auth";
|
|
|
|
import "./next-auth";
|
|
|
|
export declare module "next" {
|
|
interface NextApiRequest extends IncomingMessage {
|
|
// args is defined by /integrations/[...args] endpoint
|
|
query: Partial<{ [key: string]: string | string[] }> & { args: string[] };
|
|
session?: Session | null;
|
|
}
|
|
}
|