mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-04 13:39:01 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			22 lines
		
	
	
		
			555 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			555 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
import { Session } from "express-session";
 | 
						|
 | 
						|
export declare module "express-serve-static-core" {
 | 
						|
    interface Request {
 | 
						|
        session: Session & {
 | 
						|
            loggedIn: boolean;
 | 
						|
        };
 | 
						|
        headers: {
 | 
						|
            "x-local-date"?: string;
 | 
						|
            "x-labels"?: string;
 | 
						|
 | 
						|
            authorization?: string;
 | 
						|
            "trilium-cred"?: string;
 | 
						|
            "x-csrf-token"?: string;
 | 
						|
 | 
						|
            "trilium-component-id"?: string;
 | 
						|
            "trilium-local-now-datetime"?: string;
 | 
						|
            "trilium-hoisted-note-id"?: string;
 | 
						|
        };
 | 
						|
    }
 | 
						|
}
 |