Add did property to next-auth Session type

The spaces route accesses session.user.did for space ownership.
Adding the optional property to the type augmentation fixes the
TypeScript compilation error.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Jeff Emmett 2026-02-14 19:39:54 -07:00
parent 093062ccc2
commit 11060b0a33
1 changed files with 1 additions and 0 deletions

View File

@ -4,6 +4,7 @@ declare module "next-auth" {
interface Session {
user: {
id: string;
did?: string | null;
} & DefaultSession["user"];
}
}