This repository has been archived by the owner on Dec 17, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(graphql): Add fitness activities. Add comments.
Added fitness activity schema, and added comments to fitness and strength training activities. Added before and after date fields to item query.
- Loading branch information
Simon Wears
committed
Mar 19, 2017
1 parent
2679b4f
commit 353141f
Showing
6 changed files
with
223 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -49,6 +49,9 @@ | |
} | ||
}, | ||
"root": true, | ||
"globals": { | ||
"Promise": true | ||
}, | ||
"rules": { | ||
"camelcase": 0, | ||
"complexity": [ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
const graphql = require('graphql'); | ||
const GraphQLObjectType = graphql.GraphQLObjectType; | ||
const GraphQLString = graphql.GraphQLString; | ||
|
||
module.exports = new GraphQLObjectType({ | ||
name: 'Comment', | ||
fields: { | ||
timestamp: { type: GraphQLString }, | ||
userID: { type: GraphQLString }, | ||
name: { type: GraphQLString }, | ||
comment: { type: GraphQLString } | ||
} | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters