portal-www
Version:
Nova Portal Website. Based on Next starter by Ueno
63 lines (60 loc) • 1.06 kB
text/typescript
import gql from 'graphql-tag';
import { connectionFragment } from './connection';
import { rateplanFragment } from './rateplan';
export const profileFragment = gql`
fragment ProfileFragment on Profile {
accountName
accountSsn
activeUntil
connections {
...ConnectionFragment
}
email
isLoggedInAs
isPayer
isUser
name
ssn
statusCode
subscriptionId
subscriptionState
title
isRouted
roofAmount
departmentId
invoiceExplanation
terminated
subscriptionGuid
created
...RateplanFragment
subscriptions {
id
planId
payerId
description
createdAt
nextChargeAmount
currentPeriodStart
currentPeriodEnd
cancelAtPeriodEnd
cancelAt
status
plan {
id
amount
product {
id
title
subtitle
type
description
image {
url
}
}
}
}
}
${connectionFragment}
${rateplanFragment}
`;