// Copyright (C) 2012-2024 Zammad Foundation, https://zammad-foundation.org/ import { keyBy } from 'lodash-es' import type { UserTaskbarTabPlugin } from '../types.ts' const plugins = import.meta.glob( ['./**/*.ts', '!./**/index.ts', '!./types.ts', '!./__tests__/**/*.ts'], { eager: true, import: 'default', }, ) export const userTaskbarTabPlugins = Object.values(plugins) export const userTaskbarTabPluginByType = keyBy(userTaskbarTabPlugins, 'type')