mirror of
https://github.com/directus/directus.git
synced 2026-04-25 03:00:53 -04:00
18 lines
267 B
TypeScript
18 lines
267 B
TypeScript
/**
|
|
* Custom properties on the req object in express
|
|
*/
|
|
|
|
export {};
|
|
|
|
declare global {
|
|
namespace Express {
|
|
export interface Request {
|
|
token?: string;
|
|
user?: string;
|
|
role?: string;
|
|
collection?: string;
|
|
sanitizedQuery?: Record<string, any>;
|
|
}
|
|
}
|
|
}
|