koel/resources/assets/js/stores/visualizerStore.ts

13 lines
223 B
TypeScript
Raw Normal View History

2022-11-06 17:09:06 +00:00
import { visualizers } from '@/config'
export const visualizerStore = {
get all () {
return visualizers
},
getVisualizerById (id: string) {
return visualizers.find(visualizer => visualizer.id === id)
}
}