mirror of
https://github.com/IT4Change/ohmyform-ui.git
synced 2025-12-13 09:45:50 +00:00
19 lines
391 B
TypeScript
19 lines
391 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}
|
|
`
|