Extending typeDefs with Off-Topic Plugin

This commit is contained in:
Belen Curcio
2017-04-12 22:26:30 -03:00
parent d9d3f5e85b
commit 22fc8555ad
3 changed files with 9 additions and 4 deletions
+1 -3
View File
@@ -593,10 +593,8 @@ input CreateLikeInput {
item_type: ACTION_ITEM_TYPE!
}
enum TAG_TYPE {
OFF_TOPIC
STAFF
}
input CreateCommentInput {
+4 -1
View File
@@ -1,3 +1,6 @@
module.exports = {
const {readFileSync} = require('fs');
const path = require('path');
module.exports = {
typeDefs: readFileSync(path.join(__dirname, 'server/typeDefs.graphql'), 'utf8')
};
@@ -0,0 +1,4 @@
## Extending TAG_TYPE by adding OFF_TOPIC Tag
enum TAG_TYPE {
OFF_TOPIC
}