2
0
Fork 0
mirror of https://github.com/koel/koel synced 2024-12-28 21:43:07 +00:00
koel/resources/assets/js/composables/useThirdPartyServices.ts
2022-07-04 10:36:39 +02:00

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
}
}