feat: list sponsors + contributors on contribute admin page
This commit is contained in:
33
server/graph/schemas/contribute.graphql
Normal file
33
server/graph/schemas/contribute.graphql
Normal file
@@ -0,0 +1,33 @@
|
||||
# ===============================================
|
||||
# CONTRIBUTE
|
||||
# ===============================================
|
||||
|
||||
extend type Query {
|
||||
contribute: ContributeQuery
|
||||
}
|
||||
|
||||
# -----------------------------------------------
|
||||
# QUERIES
|
||||
# -----------------------------------------------
|
||||
|
||||
type ContributeQuery {
|
||||
contributors: [ContributeContributor]
|
||||
}
|
||||
|
||||
# -----------------------------------------------
|
||||
# TYPES
|
||||
# -----------------------------------------------
|
||||
|
||||
type ContributeContributor {
|
||||
company: String!
|
||||
currency: String!
|
||||
description: String!
|
||||
id: Int!
|
||||
image: String!
|
||||
name: String!
|
||||
profile: String!
|
||||
tier: String!
|
||||
totalDonated: Int!
|
||||
twitter: String!
|
||||
website: String!
|
||||
}
|
Reference in New Issue
Block a user