Group.ts 572 B

123456789101112131415161718
  1. // Copyright (C) 2012-2024 Zammad Foundation, https://zammad-foundation.org/
  2. import type { Group } from '#shared/graphql/types.ts'
  3. import type { DeepPartial } from '#shared/types/utils.ts'
  4. import { convertToGraphQLId } from '#shared/graphql/utils.ts'
  5. export default (): DeepPartial<Group> => {
  6. return {
  7. id: convertToGraphQLId('Group', 1), // will not generate more than 1 group
  8. name: 'Users',
  9. emailAddress: {
  10. __typename: 'EmailAddressParsed',
  11. name: 'zammad',
  12. emailAddress: 'zammad@example.com',
  13. isSystemAddress: false,
  14. },
  15. }
  16. }