mirror of
https://github.com/koel/koel
synced 2024-12-23 19:13:06 +00:00
11 lines
365 B
TypeScript
11 lines
365 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'),
|
|
}
|
|
}
|