feat: admin dashboard last logins
This commit is contained in:
		| @@ -29,6 +29,8 @@ type UserQuery { | ||||
|   ): User @auth(requires: ["manage:users", "manage:system"]) | ||||
|  | ||||
|   profile: UserProfile | ||||
|  | ||||
|   lastLogins: [UserLastLogin] @auth(requires: ["write:groups", "manage:groups", "write:users", "manage:users", "manage:system"]) | ||||
| } | ||||
|  | ||||
| # ----------------------------------------------- | ||||
| @@ -99,6 +101,12 @@ type UserResponse { | ||||
|   user: User | ||||
| } | ||||
|  | ||||
| type UserLastLogin { | ||||
|   id: Int! | ||||
|   name: String! | ||||
|   lastLoginAt: Date! | ||||
| } | ||||
|  | ||||
| type UserMinimal { | ||||
|   id: Int! | ||||
|   name: String! | ||||
|   | ||||
		Reference in New Issue
	
	Block a user