diff --git a/src/models/ecosystem.js b/src/models/ecosystem.js index 1e6a2b9d8..bcaf36a46 100644 --- a/src/models/ecosystem.js +++ b/src/models/ecosystem.js @@ -58,6 +58,10 @@ const ecosystemSchema = new Schema({ type: String, required: false }, + cloneId: { + type: String, + required: false + }, products: [{ codeName: { type: String, diff --git a/src/schema/types/Bot.js b/src/schema/types/Bot.js index 9ce0405ab..347587f02 100644 --- a/src/schema/types/Bot.js +++ b/src/schema/types/Bot.js @@ -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) { diff --git a/src/schema/types/input/Bot.js b/src/schema/types/input/Bot.js index dfbadf5fb..5b1ed1096 100644 --- a/src/schema/types/input/Bot.js +++ b/src/schema/types/input/Bot.js @@ -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 } }), });