web.ts 596 B

123456789101112131415161718192021222324252627
  1. // Copyright (C) 2012-2024 Zammad Foundation, https://zammad-foundation.org/
  2. import type { TicketArticleActionPlugin, TicketArticleType } from './types.ts'
  3. const actionPlugin: TicketArticleActionPlugin = {
  4. order: 100,
  5. addTypes() {
  6. const type: TicketArticleType = {
  7. apps: ['mobile', 'desktop'],
  8. value: 'web',
  9. label: __('Web'),
  10. buttonLabel: __('Add Reply'),
  11. icon: 'web',
  12. view: {
  13. customer: ['change'],
  14. },
  15. fields: {
  16. attachments: {},
  17. },
  18. internal: false,
  19. }
  20. return [type]
  21. },
  22. }
  23. export default actionPlugin