-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
18 changed files
with
769 additions
and
134 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
frontend/src/assets/template-page/question-mark-circle-svgrepo-com.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,47 @@ | ||
import { gql } from "@apollo/client"; | ||
|
||
export const UPDATE_USER_INFORMATION = gql` | ||
mutation UpdateUser($email: String!, $firstname: String!, $lastname: String!) { | ||
updateUserName(email: $email, firstname: $firstname, lastname: $lastname) | ||
} | ||
mutation UpdateUser( | ||
$email: String! | ||
$firstname: String! | ||
$lastname: String! | ||
) { | ||
updateUserName(email: $email, firstname: $firstname, lastname: $lastname) | ||
} | ||
`; | ||
|
||
export const VERIFY_PASSWORD = gql` | ||
mutation VerifyPassword($email: String!, $password: String!) { | ||
verifyPassword(email: $email, password: $password) | ||
} | ||
mutation VerifyPassword($email: String!, $password: String!) { | ||
verifyPassword(email: $email, password: $password) | ||
} | ||
`; | ||
|
||
export const CREATE_USER_LINKS = gql` | ||
mutation CreateUserLinks($socialLinkData: SocialLinkInput!, $email: String!) { | ||
createUserLinks(socialLinkData: $socialLinkData, email: $email) | ||
}`; | ||
mutation CreateUserLinks($socialLinkData: SocialLinkInput!, $email: String!) { | ||
createUserLinks(socialLinkData: $socialLinkData, email: $email) | ||
} | ||
`; | ||
|
||
export const UPDATE_USER_LINKS = gql` | ||
mutation UpdateUserLinks($email: String!, $id: Float!, $facebook: String!, $twitter: String!, $linkedin: String!) { | ||
updateUserLinks(email: $email, id: $id, facebook: $facebook, twitter: $twitter, linkedin: $linkedin) | ||
} | ||
mutation UpdateUserLinks( | ||
$email: String! | ||
$id: Float! | ||
$facebook: String! | ||
$twitter: String! | ||
$linkedin: String! | ||
) { | ||
updateUserLinks( | ||
email: $email | ||
id: $id | ||
facebook: $facebook | ||
twitter: $twitter | ||
linkedin: $linkedin | ||
) | ||
} | ||
`; | ||
|
||
export const UPDATE_USER_TOUR = gql` | ||
mutation UpdateUserTour($userId: Float!) { | ||
updateUserTour(userId: $userId) | ||
} | ||
`; |
Oops, something went wrong.