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 10, 2025
1 parent 923a3d1 commit 998e298
Showing 1 changed file with 86 additions and 0 deletions.
86 changes: 86 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]

Check notice on line 4250 in server/graphql/schemaV2.graphql

View workflow job for this annotation

GitHub Actions / GraphQL Inspector - Schema v2

Field 'accountsContributedTo' was added to object type 'Contributor'

Field 'accountsContributedTo' was added to object type 'Contributor'

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

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

Check warning on line 4726 in server/graphql/schemaV2.graphql

View workflow job for this annotation

GitHub Actions / GraphQL Inspector - Schema v2

Enum value 'NON_HOST_ADMIN' was added to enum 'LastCommentBy'

Adding an enum value may break existing clients that were not programming defensively against an added case when querying an enum.

"""
Collective Admin
"""
Expand Down Expand Up @@ -12334,6 +12344,7 @@ type Member {
"""
inherited: Boolean
account: Account
ofAccount: Account

Check notice on line 12347 in server/graphql/schemaV2.graphql

View workflow job for this annotation

GitHub Actions / GraphQL Inspector - Schema v2

Field 'ofAccount' was added to object type 'Member'

Field 'ofAccount' was added to object type 'Member'
}

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

"""
Get Contributors grouped by their profiles
"""
contributors(

Check notice on line 14624 in server/graphql/schemaV2.graphql

View workflow job for this annotation

GitHub Actions / GraphQL Inspector - Schema v2

Field 'contributors' was added to object type 'Query'

Field 'contributors' was added to object type 'Query'
"""
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(

Check notice on line 14654 in server/graphql/schemaV2.graphql

View workflow job for this annotation

GitHub Actions / GraphQL Inspector - Schema v2

Field 'contributor' was added to object type 'Query'

Field 'contributor' was added to object type 'Query'
"""
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 +14984,36 @@ type Query {
"""
role: [MemberRole]
): [MemberInvitation]

"""
Get all members (admins, members, backers, followers)
"""
members(

Check notice on line 14991 in server/graphql/schemaV2.graphql

View workflow job for this annotation

GitHub Actions / GraphQL Inspector - Schema v2

Field 'members' was added to object type 'Query'

Field 'members' was added to object type 'Query'
"""
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 998e298

Please sign in to comment.