|
scalar Time
|
|
|
|
type User {
|
|
id: ID!
|
|
name: String
|
|
email: String!
|
|
connectedAt: Time!
|
|
createdAt: Time!
|
|
workgroups:[Workgroup]!
|
|
}
|
|
|
|
type Workgroup {
|
|
id: ID!
|
|
name: String
|
|
createdAt: Time!
|
|
closedAt: Time
|
|
members: [User]!
|
|
}
|
|
|
|
type Query {
|
|
userProfile: User
|
|
workgroups: [Workgroup]!
|
|
}
|