Tag server impl

This commit is contained in:
Wyatt Johnson
2017-05-19 12:23:53 -06:00
parent 132b0a854d
commit 8f219c47a7
10 changed files with 209 additions and 80 deletions
+12 -1
View File
@@ -2,5 +2,16 @@ const {readFileSync} = require('fs');
const path = require('path');
module.exports = {
typeDefs: readFileSync(path.join(__dirname, 'server/typeDefs.graphql'), 'utf8')
tags: [
{
name: 'OFF_TOPIC',
permissions: {
public: true,
self: true,
roles: []
},
models: ['COMMENTS'],
created_at: new Date()
}
]
};
@@ -1,4 +0,0 @@
## Extending TAG_TYPE by adding OFF_TOPIC Tag
enum TAG_TYPE {
OFF_TOPIC
}