objectAttributes.ts 602 B

123456789101112131415161718
  1. // Copyright (C) 2012-2024 Zammad Foundation, https://zammad-foundation.org/
  2. import { defineStore } from 'pinia'
  3. import { useObjectAttributesScreen } from '#shared/entities/object-attributes/composables/useObjectAttributesScreen.ts'
  4. import { EnumObjectManagerObjects } from '#shared/graphql/types.ts'
  5. export const useOrganizationObjectAttributesStore = defineStore(
  6. 'organizationObjectAttributes',
  7. () => {
  8. const { screenAttributes: viewScreenAttributes } =
  9. useObjectAttributesScreen(EnumObjectManagerObjects.Organization, 'view')
  10. return {
  11. viewScreenAttributes,
  12. }
  13. },
  14. )