Adding Clone Id
This commit is contained in:
1 parent
8de0ab20a8
commit
23fde23888
3 files changed
+7
-1
No files matched your search
@@ -58,6 +58,10 @@ const ecosystemSchema = new Schema({
|
||||
type: String,
|
||||
required: false
|
||||
},
|
||||
cloneId: {
|
||||
type: String,
|
||||
required: false
|
||||
},
|
||||
products: [{
|
||||
codeName: {
|
||||
type: String,
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -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 }
|
||||
}),
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user