mirror of
https://github.com/IT4Change/ohmyform-ui.git
synced 2025-12-13 09:45:50 +00:00
20 lines
389 B
TypeScript
20 lines
389 B
TypeScript
import {gql} from 'apollo-boost'
|
|
import {ADMIN_PROFILE_FRAGMENT, AdminProfileFragment} from '../fragment/admin.profile.fragment'
|
|
|
|
export interface AdminProfileQueryData {
|
|
user: AdminProfileFragment
|
|
}
|
|
|
|
export interface AdminProfileQueryVariables {
|
|
}
|
|
|
|
export const ADMIN_PROFILE_QUERY = gql`
|
|
query profile {
|
|
user:me {
|
|
...AdminProfile
|
|
}
|
|
}
|
|
|
|
${ADMIN_PROFILE_FRAGMENT}
|
|
`
|