Skip to content

Commit

Permalink
chore: update schemas
Browse files Browse the repository at this point in the history
  • Loading branch information
kewitz committed Jan 13, 2025
1 parent 923a3d1 commit bcfce2d
Showing 1 changed file with 85 additions and 0 deletions.
85 changes: 85 additions & 0 deletions server/graphql/schemaV2.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -4244,6 +4244,11 @@ type Contributor {
collectiveSlug: String @deprecated(reason: "2024-08-26: Use account.slug instead")
account: Account

"""
List of accounts the contributor has contributed to
"""
accountsContributedTo: [Account]

"""
Contributor avatar or logo
"""
Expand Down Expand Up @@ -4715,6 +4720,11 @@ enum LastCommentBy {
"""
HOST_ADMIN

"""
Not a Fiscal Host Admin
"""
NON_HOST_ADMIN

"""
Collective Admin
"""
Expand Down Expand Up @@ -14607,6 +14617,51 @@ type Query {
id: String!
): Conversation

"""
Get Contributors grouped by their profiles
"""
contributors(
"""
Host hosting the account
"""
account: AccountReferenceInput

"""
Host hosting the account
"""
host: AccountReferenceInput
limit: Int! = 100
offset: Int! = 0
role: [MemberRole]
type: [AccountType]

"""
Admin only. To filter on the email address of a member, useful to check if a member exists.
"""
email: EmailAddress

"""
Order of the results
"""
orderBy: ChronologicalOrderInput! = { field: CREATED_AT, direction: ASC }
includeInherited: Boolean = true
): ContributorCollection!

"""
Get Contributors grouped by their profiles
"""
contributor(
"""
Contributor Account reference
"""
account: AccountReferenceInput

"""
Context host to fetch the contributor from
"""
host: AccountReferenceInput
): Contributor!

"""
Get exchange rates from Open Collective
"""
Expand Down Expand Up @@ -14928,6 +14983,36 @@ type Query {
"""
role: [MemberRole]
): [MemberInvitation]

"""
Get all members (admins, members, backers, followers)
"""
members(
"""
Host hosting the account
"""
account: AccountReferenceInput

"""
Host hosting the account
"""
host: AccountReferenceInput
limit: Int! = 100
offset: Int! = 0
role: [MemberRole]
accountType: [AccountType]

"""
Admin only. To filter on the email address of a member, useful to check if a member exists.
"""
email: EmailAddress

"""
Order of the results
"""
orderBy: ChronologicalOrderInput! = { field: CREATED_AT, direction: ASC }
includeInherited: Boolean = true
): MemberCollection!
order(
"""
Identifiers to retrieve the Order
Expand Down

0 comments on commit bcfce2d

Please sign in to comment.