Skip to content

Commit

Permalink
support additional session properties
Browse files Browse the repository at this point in the history
  • Loading branch information
nnance committed Jun 14, 2016
1 parent c410e22 commit 0eb35ee
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions server/schema/schema.js
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,16 @@ var F8SessionType = new GraphQLObjectType({
return !!USERS_SCHEDULE[session.id];
},
},
allDay: {
type: GraphQLBoolean,
description: 'Is an all day session',
resolve: (session) => session.get('allDay'),
},
hasDetails: {
type: GraphQLBoolean,
description: 'The session has details',
resolve: (session) => session.get('hasDetails'),
},
friends: {
type: new GraphQLList(F8FriendType),
description: 'User\'s friends who attend this session',
Expand Down

0 comments on commit 0eb35ee

Please sign in to comment.