mirror of
https://github.com/koel/koel
synced 2024-12-24 19:43:06 +00:00
14 lines
469 B
TypeScript
14 lines
469 B
TypeScript
import { computed, reactive } from 'vue'
|
|
import { commonStore } from '@/stores'
|
|
|
|
export const useKoelPlus = () => {
|
|
return {
|
|
isPlus: computed(() => commonStore.state.koel_plus.active),
|
|
license: {
|
|
shortKey: commonStore.state.koel_plus.short_key,
|
|
customerName: commonStore.state.koel_plus.customer_name,
|
|
customerEmail: commonStore.state.koel_plus.customer_email
|
|
},
|
|
storeUrl: computed(() => commonStore.state.koel_plus.store_url)
|
|
}
|
|
}
|