objectAttributes.ts 595 B

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