web.ts 549 B

1234567891011121314151617181920212223242526
  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'],
  8. value: 'web',
  9. label: __('Web'),
  10. icon: 'web',
  11. view: {
  12. customer: ['change'],
  13. },
  14. fields: {
  15. attachments: {},
  16. },
  17. internal: false,
  18. }
  19. return [type]
  20. },
  21. }
  22. export default actionPlugin