koel/resources/assets/js/stores/visualizerStore.ts
2022-11-06 18:09:06 +01:00

12 lines
223 B
TypeScript

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