mirror of
https://github.com/IT4Change/ohmyform-ui.git
synced 2025-12-13 09:45:50 +00:00
- add default page background - add environment list in [doc](doc/environment.md) - combined notificationts to become more versatile - use exported hooks for graphql - links at the bottom for new users - fixes for hide contrib setting - upgrad all packages
21 lines
410 B
TypeScript
21 lines
410 B
TypeScript
import { gql } from '@apollo/client/core'
|
|
import { ADMIN_USER_FRAGMENT, AdminUserFragment } from '../fragment/admin.user.fragment'
|
|
|
|
export interface AdminUserQueryData {
|
|
user: AdminUserFragment
|
|
}
|
|
|
|
export interface AdminUserQueryVariables {
|
|
id: string
|
|
}
|
|
|
|
export const ADMIN_USER_QUERY = gql`
|
|
query user($id: ID!) {
|
|
user: getUserById(id: $id) {
|
|
...AdminUser
|
|
}
|
|
}
|
|
|
|
${ADMIN_USER_FRAGMENT}
|
|
`
|