mirror of
https://github.com/r-ca/kidshift-be.git
synced 2024-10-26 00:24:02 +00:00
type定義修正
This commit is contained in:
parent
0f0db3633c
commit
67c357beed
6
src/types/express.d.ts
vendored
6
src/types/express.d.ts
vendored
|
@ -5,7 +5,11 @@ declare global {
|
||||||
interface Request {
|
interface Request {
|
||||||
user?: {
|
user?: {
|
||||||
token: string;
|
token: string;
|
||||||
claims: any;
|
claims: {
|
||||||
|
sub: string;
|
||||||
|
role: string;
|
||||||
|
home_group_id: string;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user