mirror of
https://github.com/koel/koel
synced 2024-12-20 01:23:16 +00:00
13 lines
223 B
TypeScript
13 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)
|
||
|
}
|
||
|
}
|
||
|
|