koel/resources/assets/js/stores/visualizerStore.ts
2024-10-14 00:37:01 +07:00

11 lines
233 B
TypeScript

import { visualizers } from '@/config'
export const visualizerStore = {
get all () {
return visualizers
},
getVisualizerById (id: Visualizer['id']) {
return visualizers.find(visualizer => visualizer.id === id)
},
}