2021-08-26 19:46:00 +00:00
|
|
|
input EqualityConstraint {
|
|
|
|
field: String!
|
|
|
|
value: String!
|
|
|
|
}
|
|
|
|
|
|
|
|
type Group {
|
|
|
|
id: String!
|
|
|
|
"The groups to which this user belongs."
|
|
|
|
users: [User!]!
|
|
|
|
}
|
|
|
|
|
|
|
|
"""
|
|
|
|
A filter for requests, specifying a boolean expression based on field constraints. Only one of
|
|
|
|
the fields can be set at a time.
|
|
|
|
"""
|
|
|
|
input RequestFilter {
|
|
|
|
any: [RequestFilter!]
|
|
|
|
all: [RequestFilter!]
|
|
|
|
not: RequestFilter
|
|
|
|
eq: EqualityConstraint
|
|
|
|
}
|
|
|
|
|
|
|
|
type Query {
|
|
|
|
apiVersion: String!
|
|
|
|
user(userId: String!): User!
|
|
|
|
users(filters: RequestFilter): [User!]!
|
|
|
|
}
|
|
|
|
|
2021-08-26 23:10:45 +00:00
|
|
|
"NaiveDateTime"
|
|
|
|
scalar NaiveDateTime
|
|
|
|
|
2021-08-26 19:46:00 +00:00
|
|
|
type User {
|
|
|
|
id: String!
|
|
|
|
email: String!
|
2021-08-26 23:10:45 +00:00
|
|
|
displayName: String
|
|
|
|
firstName: String
|
|
|
|
lastName: String
|
|
|
|
creationDate: NaiveDateTime!
|
2021-08-26 19:46:00 +00:00
|
|
|
"The groups to which this user belongs."
|
|
|
|
groups: [Group!]!
|
|
|
|
}
|
|
|
|
|
|
|
|
schema {
|
|
|
|
query: Query
|
|
|
|
}
|