mirror of
https://github.com/koel/koel
synced 2024-12-01 00:09:17 +00:00
12 lines
233 B
TypeScript
12 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)
|
|
}
|
|
}
|
|
|