userAttributes.api.ts 895 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. import * as Types from '#shared/graphql/types.ts';
  2. import gql from 'graphql-tag';
  3. import { UserPersonalSettingsFragmentDoc } from './userPersonalSettings.api';
  4. import { ObjectAttributeValuesFragmentDoc } from './objectAttributeValues.api';
  5. export const UserAttributesFragmentDoc = gql`
  6. fragment userAttributes on User {
  7. id
  8. internalId
  9. firstname
  10. lastname
  11. fullname
  12. image
  13. outOfOffice
  14. outOfOfficeStartAt
  15. outOfOfficeEndAt
  16. outOfOfficeReplacement {
  17. id
  18. internalId
  19. firstname
  20. lastname
  21. fullname
  22. login
  23. phone
  24. email
  25. }
  26. preferences
  27. ...userPersonalSettings
  28. objectAttributeValues {
  29. ...objectAttributeValues
  30. }
  31. organization {
  32. id
  33. internalId
  34. name
  35. active
  36. objectAttributeValues {
  37. ...objectAttributeValues
  38. }
  39. }
  40. hasSecondaryOrganizations
  41. }
  42. ${UserPersonalSettingsFragmentDoc}
  43. ${ObjectAttributeValuesFragmentDoc}`;