better typing, authorization middleware, test for creating apikeys
This commit is contained in:
6
server-node/declarations/ExpressUser.d.ts
vendored
6
server-node/declarations/ExpressUser.d.ts
vendored
@@ -1,5 +1,7 @@
|
||||
type UserModel = import("../src/auth/user/user-model").User;
|
||||
|
||||
declare namespace Express {
|
||||
interface User {
|
||||
id?: number;
|
||||
interface User extends UserModel {
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user