Skip to content

Commit c16d341

Browse files
committed
Update GraphQL schema for V5
1 parent 03263b7 commit c16d341

File tree

1 file changed

+22
-10
lines changed

1 file changed

+22
-10
lines changed

data/schema.graphql

Lines changed: 22 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ type CreateOrganizationPayload {
9797
"""An edge for our `Organization`. May be used by Relay 1."""
9898
organizationEdge(
9999
"""The method to use when ordering `Organization`."""
100-
orderBy: [OrganizationsOrderBy!] = [PRIMARY_KEY_ASC]
100+
orderBy: [OrganizationsOrderBy!]! = [PRIMARY_KEY_ASC]
101101
): OrganizationsEdge
102102

103103
"""
@@ -140,7 +140,7 @@ type CreateUserEmailPayload {
140140
"""An edge for our `UserEmail`. May be used by Relay 1."""
141141
userEmailEdge(
142142
"""The method to use when ordering `UserEmail`."""
143-
orderBy: [UserEmailsOrderBy!] = [PRIMARY_KEY_ASC]
143+
orderBy: [UserEmailsOrderBy!]! = [PRIMARY_KEY_ASC]
144144
): UserEmailsEdge
145145
}
146146

@@ -194,7 +194,6 @@ type DeleteUserAuthenticationPayload {
194194
unchanged and unused. May be used by a client to track mutations.
195195
"""
196196
clientMutationId: String
197-
deletedUserAuthenticationNodeId: ID
198197

199198
"""
200199
Our root query field type. Allows us to run any query from our mutation payload.
@@ -225,7 +224,6 @@ type DeleteUserEmailPayload {
225224
unchanged and unused. May be used by a client to track mutations.
226225
"""
227226
clientMutationId: String
228-
deletedUserEmailNodeId: ID
229227

230228
"""
231229
Our root query field type. Allows us to run any query from our mutation payload.
@@ -241,7 +239,7 @@ type DeleteUserEmailPayload {
241239
"""An edge for our `UserEmail`. May be used by Relay 1."""
242240
userEmailEdge(
243241
"""The method to use when ordering `UserEmail`."""
244-
orderBy: [UserEmailsOrderBy!] = [PRIMARY_KEY_ASC]
242+
orderBy: [UserEmailsOrderBy!]! = [PRIMARY_KEY_ASC]
245243
): UserEmailsEdge
246244
}
247245

@@ -338,7 +336,7 @@ type MakeEmailPrimaryPayload {
338336
"""An edge for our `UserEmail`. May be used by Relay 1."""
339337
userEmailEdge(
340338
"""The method to use when ordering `UserEmail`."""
341-
orderBy: [UserEmailsOrderBy!] = [PRIMARY_KEY_ASC]
339+
orderBy: [UserEmailsOrderBy!]! = [PRIMARY_KEY_ASC]
342340
): UserEmailsEdge
343341
}
344342

@@ -751,13 +749,19 @@ type PageInfo {
751749
type Query {
752750
"""The currently logged in user (or null if not logged in)."""
753751
currentUser: User
752+
753+
"""Get a single `Organization`."""
754754
organization(id: UUID!): Organization
755+
756+
"""Get a single `Organization`."""
755757
organizationBySlug(slug: String!): Organization
756758

757759
"""
758760
Given an invitation UUID (and, if required, the code that was emailed to you), retrieves the `Organization` that you were invited to.
759761
"""
760762
organizationForInvitation(code: String, invitationId: UUID!): Organization
763+
764+
"""Get a single `OrganizationMembership`."""
761765
organizationMembership(id: UUID!): OrganizationMembership
762766

763767
"""Reads and enables pagination through a set of `Organization`."""
@@ -788,9 +792,17 @@ type Query {
788792
"""The method to use when ordering `Organization`."""
789793
orderBy: [OrganizationsOrderBy!] = [PRIMARY_KEY_ASC]
790794
): OrganizationsConnection
795+
796+
"""Get a single `User`."""
791797
user(id: UUID!): User
798+
799+
"""Get a single `UserAuthentication`."""
792800
userAuthentication(id: UUID!): UserAuthentication
801+
802+
"""Get a single `User`."""
793803
userByUsername(username: String!): User
804+
805+
"""Get a single `UserEmail`."""
794806
userEmail(id: UUID!): UserEmail
795807
}
796808

@@ -938,7 +950,7 @@ type TransferOrganizationBillingContactPayload {
938950
"""An edge for our `Organization`. May be used by Relay 1."""
939951
organizationEdge(
940952
"""The method to use when ordering `Organization`."""
941-
orderBy: [OrganizationsOrderBy!] = [PRIMARY_KEY_ASC]
953+
orderBy: [OrganizationsOrderBy!]! = [PRIMARY_KEY_ASC]
942954
): OrganizationsEdge
943955

944956
"""
@@ -970,7 +982,7 @@ type TransferOrganizationOwnershipPayload {
970982
"""An edge for our `Organization`. May be used by Relay 1."""
971983
organizationEdge(
972984
"""The method to use when ordering `Organization`."""
973-
orderBy: [OrganizationsOrderBy!] = [PRIMARY_KEY_ASC]
985+
orderBy: [OrganizationsOrderBy!]! = [PRIMARY_KEY_ASC]
974986
): OrganizationsEdge
975987

976988
"""
@@ -1013,7 +1025,7 @@ type UpdateOrganizationPayload {
10131025
"""An edge for our `Organization`. May be used by Relay 1."""
10141026
organizationEdge(
10151027
"""The method to use when ordering `Organization`."""
1016-
orderBy: [OrganizationsOrderBy!] = [PRIMARY_KEY_ASC]
1028+
orderBy: [OrganizationsOrderBy!]! = [PRIMARY_KEY_ASC]
10171029
): OrganizationsEdge
10181030

10191031
"""
@@ -1058,7 +1070,7 @@ type UpdateUserPayload {
10581070
"""An edge for our `User`. May be used by Relay 1."""
10591071
userEdge(
10601072
"""The method to use when ordering `User`."""
1061-
orderBy: [UsersOrderBy!] = [PRIMARY_KEY_ASC]
1073+
orderBy: [UsersOrderBy!]! = [PRIMARY_KEY_ASC]
10621074
): UsersEdge
10631075
}
10641076

0 commit comments

Comments
 (0)