portal-www
Version:
Nova Portal Website. Based on Next starter by Ueno
20 lines (17 loc) • 433 B
text/typescript
import gql from 'graphql-tag';
import { userFragment } from '../fragments/user';
import { errorFragment } from '../fragments/error';
export const SET_PRIMARY_EMAIL = gql`
mutation setPrimaryEmail($input: SetPrimaryEmailInput!, $ssn: ID) {
setPrimaryEmail(input: $input, ssn: $ssn) {
user {
...UserFragment
}
error {
...ErrorFragment
}
}
}
${errorFragment}
${userFragment}
`;