feat: admin - groups edit UI

This commit is contained in:
NGPixel
2018-03-26 01:11:49 -04:00
parent 7793df9bd4
commit 346493f845
13 changed files with 275 additions and 16 deletions

View File

@@ -18,7 +18,11 @@ type GroupQuery {
list(
filter: String
orderBy: String
): [Group]
): [GroupMinimal]
single(
id: String!
): Group
}
# -----------------------------------------------
@@ -59,12 +63,19 @@ type GroupResponse {
group: Group
}
type GroupMinimal {
id: Int!
name: String!
userCount: Int
createdAt: Date!
updatedAt: Date!
}
type Group {
id: Int!
name: String!
rights: [String]
users: [User]
userCount: Int
createdAt: Date!
updatedAt: Date!
}