feat: migrate runtime backend to node server
This commit is contained in:
14
server-node/src/types/express.d.ts
vendored
Normal file
14
server-node/src/types/express.d.ts
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
declare global {
|
||||
namespace Express {
|
||||
interface Request {
|
||||
requestId: string;
|
||||
userId?: string;
|
||||
auth?: {
|
||||
userId: string;
|
||||
tokenVersion: number;
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export {};
|
||||
Reference in New Issue
Block a user