mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
Lint fixe remove.
This commit is contained in:
parent
52529e65f3
commit
0d0c463c48
@ -1,13 +1,13 @@
|
||||
import gql from 'graphql-tag'
|
||||
|
||||
export const subscribeNewsletter = gql`
|
||||
mutation ($email: String!, $language: String!) {
|
||||
mutation($email: String!, $language: String!) {
|
||||
subscribeNewsletter(email: $email, language: $language)
|
||||
}
|
||||
`
|
||||
|
||||
export const unsubscribeNewsletter = gql`
|
||||
mutation ($email: String!) {
|
||||
mutation($email: String!) {
|
||||
unsubscribeNewsletter(email: $email)
|
||||
}
|
||||
`
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
import gql from 'graphql-tag'
|
||||
|
||||
export const login = gql`
|
||||
query ($email: String!, $password: String!) {
|
||||
query($email: String!, $password: String!) {
|
||||
login(email: $email, password: $password) {
|
||||
email
|
||||
username
|
||||
@ -23,13 +23,13 @@ export const logout = gql`
|
||||
`
|
||||
|
||||
export const resetPassword = gql`
|
||||
query ($sessionId: Float!, $email: String!, $password: String!) {
|
||||
query($sessionId: Float!, $email: String!, $password: String!) {
|
||||
resetPassword(sessionId: $sessionId, email: $email, password: $password)
|
||||
}
|
||||
`
|
||||
|
||||
export const loginViaEmailVerificationCode = gql`
|
||||
query ($optin: String!) {
|
||||
query($optin: String!) {
|
||||
loginViaEmailVerificationCode(optin: $optin) {
|
||||
sessionId
|
||||
email
|
||||
@ -38,7 +38,7 @@ export const loginViaEmailVerificationCode = gql`
|
||||
`
|
||||
|
||||
export const updateUserInfos = gql`
|
||||
query (
|
||||
query(
|
||||
$email: String!
|
||||
$firstName: String
|
||||
$lastName: String
|
||||
@ -64,7 +64,7 @@ export const updateUserInfos = gql`
|
||||
`
|
||||
|
||||
export const transactionsQuery = gql`
|
||||
query ($firstPage: Int = 1, $items: Int = 25, $order: String = "DESC") {
|
||||
query($firstPage: Int = 1, $items: Int = 25, $order: String = "DESC") {
|
||||
transactionList(firstPage: $firstPage, items: $items, order: $order) {
|
||||
gdtSum
|
||||
count
|
||||
@ -95,7 +95,7 @@ export const transactionsQuery = gql`
|
||||
`
|
||||
|
||||
export const resgisterUserQuery = gql`
|
||||
query (
|
||||
query(
|
||||
$firstName: String!
|
||||
$lastName: String!
|
||||
$email: String!
|
||||
@ -113,13 +113,13 @@ export const resgisterUserQuery = gql`
|
||||
`
|
||||
|
||||
export const sendCoins = gql`
|
||||
query ($email: String!, $amount: Float!, $memo: String!) {
|
||||
query($email: String!, $amount: Float!, $memo: String!) {
|
||||
sendCoins(email: $email, amount: $amount, memo: $memo)
|
||||
}
|
||||
`
|
||||
|
||||
export const sendResetPasswordEmail = gql`
|
||||
query ($email: String!) {
|
||||
query($email: String!) {
|
||||
sendResetPasswordEmail(email: $email) {
|
||||
state
|
||||
}
|
||||
@ -127,7 +127,7 @@ export const sendResetPasswordEmail = gql`
|
||||
`
|
||||
|
||||
export const checkUsername = gql`
|
||||
query ($username: String!) {
|
||||
query($username: String!) {
|
||||
checkUsername(username: $username) {
|
||||
state
|
||||
}
|
||||
@ -135,7 +135,7 @@ export const checkUsername = gql`
|
||||
`
|
||||
|
||||
export const listGDTEntriesQuery = gql`
|
||||
query ($currentPage: Int!, $pageSize: Int!) {
|
||||
query($currentPage: Int!, $pageSize: Int!) {
|
||||
listGDTEntries(currentPage: $currentPage, pageSize: $pageSize) {
|
||||
count
|
||||
gdtEntries {
|
||||
@ -153,7 +153,7 @@ export const listGDTEntriesQuery = gql`
|
||||
`
|
||||
|
||||
export const checkEmailQuery = gql`
|
||||
query ($optin: String!) {
|
||||
query($optin: String!) {
|
||||
checkEmail(optin: $optin) {
|
||||
email
|
||||
sessionId
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user