KnowledgeBaseAnswerTranslation.ts 930 B

123456789101112131415161718192021222324
  1. // Copyright (C) 2012-2024 Zammad Foundation, https://zammad-foundation.org/
  2. import { type KnowledgeBaseAnswerTranslation } from '#shared/graphql/types.ts'
  3. import { convertToGraphQLId } from '#shared/graphql/utils.ts'
  4. import type { DeepPartial } from '#shared/types/utils.ts'
  5. export default (): DeepPartial<KnowledgeBaseAnswerTranslation> => {
  6. return {
  7. __typename: 'KnowledgeBaseAnswerTranslation',
  8. id: convertToGraphQLId('KnowledgeBase::Answer::Translation', 999),
  9. title: 'Knowledge Base Answer Translation Title',
  10. categoryTreeTranslation: [
  11. {
  12. __typename: 'KnowledgeBaseCategoryTranslation',
  13. id: convertToGraphQLId('KnowledgeBase::Category::Translation', 999),
  14. title: 'Knowledge Base Category Translation Title',
  15. category: {
  16. __typename: 'KnowledgeBaseCategory',
  17. id: convertToGraphQLId('KnowledgeBase::Category', 999),
  18. },
  19. },
  20. ],
  21. }
  22. }