refactor: rename userSwitchTo
All checks were successful
Deploy WordPress and Nuxt / deploy (push) Successful in 1m6s

This commit is contained in:
2025-09-18 11:50:02 -04:00
parent 3cc4b570d5
commit 4e9ad82d96
9 changed files with 72 additions and 66 deletions

View File

@@ -17463,6 +17463,12 @@ type RootMutation {
input: SendPasswordResetEmailInput!
): SendPasswordResetEmailPayload
"""The switchTo mutation"""
switchTo(
"""Input for the switchTo mutation"""
input: SwitchToInput!
): SwitchToPayload
"""The updateCategory mutation"""
updateCategory(
"""Input for the updateCategory mutation"""
@@ -17582,12 +17588,6 @@ type RootMutation {
"""Input for the updateUser mutation"""
input: UpdateUserInput!
): UpdateUserPayload
"""The userSwitchTo mutation"""
userSwitchTo(
"""Input for the userSwitchTo mutation"""
input: UserSwitchToInput!
): UserSwitchToPayload
}
"""The root entry point into the Graph"""
@@ -21777,6 +21777,34 @@ type SiteOptions implements AcfOptionsPage & Node & WithAcfGroupCcat {
parentId: String
}
"""Input for the switchTo mutation."""
input SwitchToInput {
"""
This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions.
"""
clientMutationId: String
"""The ID of the user to switch to"""
userId: ID
}
"""The payload for the switchTo mutation."""
type SwitchToPayload {
"""JWT Token for the target user"""
authToken: String
"""
If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions.
"""
clientMutationId: String
"""JWT Refresh Token for the target user"""
refreshToken: String
"""The target user object"""
user: User
}
"""
A taxonomy term used to organize and classify content. Tags do not have a hierarchy and are generally used for more specific classifications.
"""
@@ -24947,34 +24975,6 @@ enum UserRoleEnum {
TRANSLATOR
}
"""Input for the userSwitchTo mutation."""
input UserSwitchToInput {
"""
This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions.
"""
clientMutationId: String
"""The ID of the user to switch to"""
userId: ID
}
"""The payload for the userSwitchTo mutation."""
type UserSwitchToPayload {
"""JWT Token for the target user"""
authToken: String
"""
If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions.
"""
clientMutationId: String
"""JWT Refresh Token for the target user"""
refreshToken: String
"""The target user object"""
user: User
}
"""Connection between the User type and the Comment type"""
type UserToCommentConnection implements CommentConnection & Connection {
"""Edges for the UserToCommentConnection connection"""