mirror of
https://github.com/koel/koel
synced 2024-12-23 11:03:05 +00:00
11 lines
364 B
TypeScript
11 lines
364 B
TypeScript
import { toRef } from 'vue'
|
|
import { commonStore } from '@/stores'
|
|
|
|
export const useThirdPartyServices = () => {
|
|
return {
|
|
useLastfm: toRef(commonStore.state, 'uses_last_fm'),
|
|
useYouTube: toRef(commonStore.state, 'uses_you_tube'),
|
|
useAppleMusic: toRef(commonStore.state, 'uses_i_tunes'),
|
|
useSpotify: toRef(commonStore.state, 'uses_spotify')
|
|
}
|
|
}
|