mirror of
https://github.com/koel/koel
synced 2024-12-28 21:43:07 +00:00
14 lines
366 B
TypeScript
14 lines
366 B
TypeScript
import { toRef } from 'vue'
|
|
import { commonStore } from '@/stores'
|
|
|
|
export const useThirdPartyServices = () => {
|
|
const useLastfm = toRef(commonStore.state, 'use_last_fm')
|
|
const useYouTube = toRef(commonStore.state, 'use_you_tube')
|
|
const useAppleMusic = toRef(commonStore.state, 'use_i_tunes')
|
|
|
|
return {
|
|
useLastfm,
|
|
useYouTube,
|
|
useAppleMusic
|
|
}
|
|
}
|