feat: assets move + comments migration + admin users UI
This commit is contained in:
@@ -13,7 +13,7 @@ module.exports = {
|
||||
UserQuery: {
|
||||
async list(obj, args, context, info) {
|
||||
return WIKI.models.users.query()
|
||||
.select('id', 'email', 'name', 'providerKey', 'isSystem', 'createdAt')
|
||||
.select('id', 'email', 'name', 'providerKey', 'isSystem', 'isActive', 'createdAt', 'lastLoginAt')
|
||||
},
|
||||
async search(obj, args, context, info) {
|
||||
return WIKI.models.users.query()
|
||||
|
@@ -117,7 +117,9 @@ type UserMinimal {
|
||||
email: String!
|
||||
providerKey: String!
|
||||
isSystem: Boolean!
|
||||
isActive: Boolean!
|
||||
createdAt: Date!
|
||||
lastLoginAt: Date
|
||||
}
|
||||
|
||||
type User {
|
||||
|
Reference in New Issue
Block a user