// Copyright (C) 2012-2024 Zammad Foundation, https://zammad-foundation.org/ import { computed, type Ref } from 'vue' import { type TicketById } from '#shared/entities/ticket/types.ts' import type { JsonValue } from 'type-fest' export const useTicketPreferences = (ticket: Ref) => { const ticketPreferences = computed>( () => ticket.value?.preferences, ) return { ticketPreferences } }