mirror of
https://github.com/koel/koel
synced 2025-01-06 09:48:42 +00:00
14 lines
352 B
TypeScript
14 lines
352 B
TypeScript
import { toRef } from 'vue'
|
|
import { commonStore } from '@/stores'
|
|
|
|
export const useThirdPartyServices = () => {
|
|
const useLastfm = toRef(commonStore.state, 'useLastfm')
|
|
const useYouTube = toRef(commonStore.state, 'useYouTube')
|
|
const useiTunes = toRef(commonStore.state, 'useiTunes')
|
|
|
|
return {
|
|
useLastfm,
|
|
useYouTube,
|
|
useiTunes
|
|
}
|
|
}
|