Adding Clone Id

This commit is contained in:
Matias committed 2019-07-01 16:34:11 -03:00
1 parent 8de0ab20a8
commit 23fde23888
3 files changed
+7 -1

No files matched your search

+4
View File
@@ -58,6 +58,10 @@ const ecosystemSchema = new Schema({
type: String,
required: false
},
cloneId: {
type: String,
required: false
},
products: [{
codeName: {
type: String,
+1
View File
@@ -15,6 +15,7 @@ const BotType = new GraphQLObjectType({
profilePicture: { type: GraphQLString },
repo: { type: GraphQLString },
configFile: { type: GraphQLString },
cloneId: { type: GraphQLString },
products: {
type: new GraphQLList(ProductType),
resolve(parent) {
+2 -1
View File
@@ -11,7 +11,8 @@ const Type = new GraphQLInputObjectType({
codeName: { type: new GraphQLNonNull(GraphQLString) },
displayName: { type: new GraphQLNonNull(GraphQLString) },
repo: { type: GraphQLString },
configFile: { type: GraphQLString }
configFile: { type: GraphQLString },
cloneId: { type: GraphQLString }
}),
});