2020-07-13 14:44:05 +02:00
|
|
|
scalar Time
|
|
|
|
|
2020-07-13 09:20:14 +02:00
|
|
|
type User {
|
2020-07-21 18:10:03 +02:00
|
|
|
id: ID!
|
2020-07-13 09:20:14 +02:00
|
|
|
name: String
|
|
|
|
email: String!
|
2020-07-13 14:44:05 +02:00
|
|
|
connectedAt: Time!
|
|
|
|
createdAt: Time!
|
2020-07-21 18:10:03 +02:00
|
|
|
workgroups:[Workgroup]!
|
|
|
|
}
|
|
|
|
|
|
|
|
type Workgroup {
|
|
|
|
id: ID!
|
|
|
|
name: String
|
|
|
|
createdAt: Time!
|
|
|
|
closedAt: Time
|
|
|
|
members: [User]!
|
2020-07-13 09:20:14 +02:00
|
|
|
}
|
|
|
|
|
2020-07-22 22:25:03 +02:00
|
|
|
input WorkgroupsFilter {
|
|
|
|
ids: [ID]
|
|
|
|
}
|
|
|
|
|
2020-07-13 09:20:14 +02:00
|
|
|
type Query {
|
|
|
|
userProfile: User
|
2020-07-22 22:25:03 +02:00
|
|
|
workgroups(filter: WorkgroupsFilter): [Workgroup]!
|
2020-07-16 09:28:27 +02:00
|
|
|
}
|