entity.ts 413 B

1234567891011121314
  1. // Copyright (C) 2012-2025 Zammad Foundation, https://zammad-foundation.org/
  2. import { type TicketState } from '#shared/graphql/types.ts'
  3. import type { EntityPlugin } from '../useEntity.ts'
  4. // TODO: add Entity-Data types instead of direct usage from GQL
  5. const ticketStateEntity: EntityPlugin<TicketState> = {
  6. name: 'TicketState',
  7. display: (object) => object.name || '',
  8. }
  9. export default ticketStateEntity