Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ConfirmEmail: move to GraphQL V2 #10379

Merged
merged 1 commit into from
Jul 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions components/UserProvider.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ export const UserContext = React.createContext({
loadingLoggedInUser: true,
errorLoggedInUser: null,
LoggedInUser: null,
logout() {},
login() {},
refetchLoggedInUser() {},
logout: async () => null,
login: async () => null,
async refetchLoggedInUser() {},
});

class UserProvider extends React.Component {
Expand Down
1 change: 1 addition & 0 deletions lang/ca.json
Original file line number Diff line number Diff line change
Expand Up @@ -3037,6 +3037,7 @@
"redeemed.subtitle.line1": "The card has been added to your account.",
"redeemed.subtitle.line2": "You can now contribute to the Collective(s) of your choice.",
"redeemed.success": "Gift Card Redeemed!",
"ReeYyf": "Go back to your Dashboard",
"Refund": "Refund",
"RejectContribution": "Reject and refund",
"RejectionReason": "Type your rejection reason here if you want.",
Expand Down
1 change: 1 addition & 0 deletions lang/cs.json
Original file line number Diff line number Diff line change
Expand Up @@ -3037,6 +3037,7 @@
"redeemed.subtitle.line1": "The card has been added to your account.",
"redeemed.subtitle.line2": "You can now contribute to the Collective(s) of your choice.",
"redeemed.success": "Gift Card Redeemed!",
"ReeYyf": "Go back to your Dashboard",
"Refund": "Refund",
"RejectContribution": "Reject and refund",
"RejectionReason": "Type your rejection reason here if you want.",
Expand Down
1 change: 1 addition & 0 deletions lang/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -3037,6 +3037,7 @@
"redeemed.subtitle.line1": "The card has been added to your account.",
"redeemed.subtitle.line2": "You can now contribute to the Collective(s) of your choice.",
"redeemed.success": "Gift Card Redeemed!",
"ReeYyf": "Go back to your Dashboard",
"Refund": "Refund",
"RejectContribution": "Reject and refund",
"RejectionReason": "Type your rejection reason here if you want.",
Expand Down
1 change: 1 addition & 0 deletions lang/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -3037,6 +3037,7 @@
"redeemed.subtitle.line1": "The card has been added to your account.",
"redeemed.subtitle.line2": "You can now contribute to the Collective(s) of your choice.",
"redeemed.success": "Gift Card Redeemed!",
"ReeYyf": "Go back to your Dashboard",
"Refund": "Refund",
"RejectContribution": "Reject and refund",
"RejectionReason": "Type your rejection reason here if you want.",
Expand Down
1 change: 1 addition & 0 deletions lang/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -3037,6 +3037,7 @@
"redeemed.subtitle.line1": "Se ha añadido la tarjeta a su cuenta correctamente.",
"redeemed.subtitle.line2": "Ahora puedes contribuir al Colectivo(s) que desees.",
"redeemed.success": "¡Tarjeta de regalo canjeada!",
"ReeYyf": "Go back to your Dashboard",
"Refund": "Reembolsar",
"RejectContribution": "Rechazar y reembolsar",
"RejectionReason": "Escribe aquí tu motivo de rechazo si quieres.",
Expand Down
1 change: 1 addition & 0 deletions lang/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -3037,6 +3037,7 @@
"redeemed.subtitle.line1": "La carte a été ajoutée à votre compte.",
"redeemed.subtitle.line2": "Vous pouvez désormais donner aux Collectifs de votre choix.",
"redeemed.success": "Carte Cadeau validée !",
"ReeYyf": "Go back to your Dashboard",
"Refund": "Rembourser",
"RejectContribution": "Rejeter et rembourser",
"RejectionReason": "Tapez votre raison de rejet ici si vous le souhaitez.",
Expand Down
1 change: 1 addition & 0 deletions lang/he.json
Original file line number Diff line number Diff line change
Expand Up @@ -3037,6 +3037,7 @@
"redeemed.subtitle.line1": "כרטיס זה התווסף לחשבונך.",
"redeemed.subtitle.line2": "עכשיו ביכולתך לתרום לקבוצה או קבוצות שתבחר/י.",
"redeemed.success": "כרטיס מתנה מומש!",
"ReeYyf": "Go back to your Dashboard",
"Refund": "זיכוי כספי (החזר)",
"RejectContribution": "דחיה וזיכוי (החזרת כספים)",
"RejectionReason": "כאן אפשר לפרט את סיבת הדחייה.",
Expand Down
1 change: 1 addition & 0 deletions lang/it.json
Original file line number Diff line number Diff line change
Expand Up @@ -3037,6 +3037,7 @@
"redeemed.subtitle.line1": "The card has been added to your account.",
"redeemed.subtitle.line2": "You can now contribute to the Collective(s) of your choice.",
"redeemed.success": "Gift Card Redeemed!",
"ReeYyf": "Go back to your Dashboard",
"Refund": "Refund",
"RejectContribution": "Reject and refund",
"RejectionReason": "Type your rejection reason here if you want.",
Expand Down
1 change: 1 addition & 0 deletions lang/ja.json
Original file line number Diff line number Diff line change
Expand Up @@ -3037,6 +3037,7 @@
"redeemed.subtitle.line1": "カードがあなたのアカウントに追加されました。",
"redeemed.subtitle.line2": "You can now contribute to the Collective(s) of your choice.",
"redeemed.success": "Gift Card Redeemed!",
"ReeYyf": "Go back to your Dashboard",
"Refund": "Refund",
"RejectContribution": "Reject and refund",
"RejectionReason": "Type your rejection reason here if you want.",
Expand Down
1 change: 1 addition & 0 deletions lang/ko.json
Original file line number Diff line number Diff line change
Expand Up @@ -3037,6 +3037,7 @@
"redeemed.subtitle.line1": "The card has been added to your account.",
"redeemed.subtitle.line2": "You can now contribute to the Collective(s) of your choice.",
"redeemed.success": "Gift Card Redeemed!",
"ReeYyf": "Go back to your Dashboard",
"Refund": "환불",
"RejectContribution": "Reject and refund",
"RejectionReason": "Type your rejection reason here if you want.",
Expand Down
1 change: 1 addition & 0 deletions lang/nl.json
Original file line number Diff line number Diff line change
Expand Up @@ -3037,6 +3037,7 @@
"redeemed.subtitle.line1": "The card has been added to your account.",
"redeemed.subtitle.line2": "You can now contribute to the Collective(s) of your choice.",
"redeemed.success": "Cadeaubon ingewisseld!",
"ReeYyf": "Go back to your Dashboard",
"Refund": "Terugbetaling",
"RejectContribution": "Afwijzen en terugbetalen",
"RejectionReason": "Type your rejection reason here if you want.",
Expand Down
1 change: 1 addition & 0 deletions lang/pl.json
Original file line number Diff line number Diff line change
Expand Up @@ -3037,6 +3037,7 @@
"redeemed.subtitle.line1": "Karta została dodana do Twojego konta.",
"redeemed.subtitle.line2": "Możesz teraz wpłacić pieniądze na wybraną przez siebie zbiórkę (zbiórki).",
"redeemed.success": "Karta podarunkowa zrealizowana!",
"ReeYyf": "Go back to your Dashboard",
"Refund": "Zwrot",
"RejectContribution": "Odrzucić i zwrócić pieniądze",
"RejectionReason": "Wpisz tutaj swój powód odrzucenia, jeśli chcesz.",
Expand Down
1 change: 1 addition & 0 deletions lang/pt-BR.json
Original file line number Diff line number Diff line change
Expand Up @@ -3037,6 +3037,7 @@
"redeemed.subtitle.line1": "O cartão foi adicionado à sua conta.",
"redeemed.subtitle.line2": "Agora você pode contribuir para Coletivo(s) de sua escolha.",
"redeemed.success": "Vale-presente resgatado!",
"ReeYyf": "Go back to your Dashboard",
"Refund": "Reembolsar",
"RejectContribution": "Rejeitar e reembolsar",
"RejectionReason": "Digite aqui o motivo da sua rejeição, se quiser.",
Expand Down
1 change: 1 addition & 0 deletions lang/pt.json
Original file line number Diff line number Diff line change
Expand Up @@ -3037,6 +3037,7 @@
"redeemed.subtitle.line1": "Este cartão foi adicionado à sua conta.",
"redeemed.subtitle.line2": "You can now contribute to the Collective(s) of your choice.",
"redeemed.success": "Vale-presente resgatado!",
"ReeYyf": "Go back to your Dashboard",
"Refund": "Reembolso",
"RejectContribution": "Rejeitar e reembolsar",
"RejectionReason": "Digite aqui o motivo da sua rejeição, se quiser.",
Expand Down
1 change: 1 addition & 0 deletions lang/ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -3037,6 +3037,7 @@
"redeemed.subtitle.line1": "Карта была добавлена к вашему аккаунту.",
"redeemed.subtitle.line2": "You can now contribute to the Collective(s) of your choice.",
"redeemed.success": "Подарочная карта использована!",
"ReeYyf": "Go back to your Dashboard",
"Refund": "Возместить",
"RejectContribution": "Reject and refund",
"RejectionReason": "Type your rejection reason here if you want.",
Expand Down
1 change: 1 addition & 0 deletions lang/sk-SK.json
Original file line number Diff line number Diff line change
Expand Up @@ -3037,6 +3037,7 @@
"redeemed.subtitle.line1": "Karta bola pridaná k vášmu účtu.",
"redeemed.subtitle.line2": "Teraz môžete prispievať do Kolektívov podľa vlastného výberu.",
"redeemed.success": "Darčeková karta uplatnená!",
"ReeYyf": "Go back to your Dashboard",
"Refund": "Vrátiť platbu",
"RejectContribution": "Zamietnuť a vrátiť peniaze",
"RejectionReason": "Ak chcete, napíšte sem dôvod odmietnutia.",
Expand Down
1 change: 1 addition & 0 deletions lang/sv-SE.json
Original file line number Diff line number Diff line change
Expand Up @@ -3037,6 +3037,7 @@
"redeemed.subtitle.line1": "Kortet har lagts till på ditt konto.",
"redeemed.subtitle.line2": "Du kan nu bidra till de kollektiven du väljer.",
"redeemed.success": "Presentkort inlöst!",
"ReeYyf": "Go back to your Dashboard",
"Refund": "Återbetala",
"RejectContribution": "Neka och återbetala",
"RejectionReason": "Skriv dina skäl för att neka bidragsgivaren här om du vill.",
Expand Down
1 change: 1 addition & 0 deletions lang/uk.json
Original file line number Diff line number Diff line change
Expand Up @@ -3037,6 +3037,7 @@
"redeemed.subtitle.line1": "Картку була додано до вашого облікового запису.",
"redeemed.subtitle.line2": "You can now contribute to the Collective(s) of your choice.",
"redeemed.success": "Gift Card Redeemed!",
"ReeYyf": "Go back to your Dashboard",
"Refund": "Відшкодування",
"RejectContribution": "Відхилити та повернути кошти",
"RejectionReason": "Якщо хочете, введіть причину відхилення.",
Expand Down
1 change: 1 addition & 0 deletions lang/zh.json
Original file line number Diff line number Diff line change
Expand Up @@ -3037,6 +3037,7 @@
"redeemed.subtitle.line1": "The card has been added to your account.",
"redeemed.subtitle.line2": "You can now contribute to the Collective(s) of your choice.",
"redeemed.success": "代金卡赎回!",
"ReeYyf": "Go back to your Dashboard",
"Refund": "退款",
"RejectContribution": "拒绝并退款",
"RejectionReason": "如果你想,可以在此输入你的拒绝理由。",
Expand Down
22 changes: 22 additions & 0 deletions lib/graphql/schemaV2.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -17925,6 +17925,16 @@ type Mutation {
currentPassword: String
): SetPasswordResponse!

"""
Confirm email for Individual. Scope: "account".
"""
confirmEmail(
"""
The token to confirm the email.
"""
token: String!
): IndividualConfirmEmailResponse!

"""
Submit a legal document
"""
Expand Down Expand Up @@ -20025,6 +20035,18 @@ type SetPasswordResponse {
token: String
}

type IndividualConfirmEmailResponse {
"""
The account that was confirmed
"""
individual: Individual!

"""
A new session token to use for the account. Only returned if user is signed in already.
"""
sessionToken: String
}

"""
The `Upload` scalar type represents a file upload.
"""
Expand Down
Loading
Loading