feat: Extend apps with further data
This commit is contained in:
@@ -7,7 +7,7 @@ const queryType = new GraphQLObjectType({
|
||||
name: 'Query',
|
||||
fields: {
|
||||
getApps: {
|
||||
type: GraphQLList(GraphQLString),
|
||||
type: GraphQLList(appType),
|
||||
args: {
|
||||
name: { type: GraphQLString }
|
||||
},
|
||||
|
@@ -7,6 +7,7 @@ const appType = new GraphQLObjectType({
|
||||
name: { type: GraphQLString },
|
||||
iconUrl: { type: GraphQLString },
|
||||
docUrl: { type: GraphQLString },
|
||||
primaryColor: { type: GraphQLString },
|
||||
fields: { type: GraphQLList(fieldType) }
|
||||
}
|
||||
});
|
||||
|
Reference in New Issue
Block a user