Rend les liens entre notes visibles et persistants (sync NoteLink au save, auto-save, graphe réseau rafraîchi), ajoute living blocks, Memory Echo, recherche globale, consentement IA explicite et consolide les prototypes design en architectural-grid. Co-authored-by: Cursor <cursoragent@cursor.com>
21 lines
369 B
TypeScript
21 lines
369 B
TypeScript
import type { DefaultSession } from 'next-auth'
|
|
|
|
declare module 'next-auth' {
|
|
interface Session {
|
|
aiSessionConsent?: boolean
|
|
user: DefaultSession['user'] & {
|
|
id?: string
|
|
role?: string
|
|
}
|
|
}
|
|
}
|
|
|
|
declare module 'next-auth/jwt' {
|
|
interface JWT {
|
|
id?: string
|
|
role?: string
|
|
sessionVersion?: number
|
|
aiSessionConsent?: boolean
|
|
}
|
|
}
|