Bilibili-Evolved/registry/lib/components/live/badge-keepalive/index.ts
2025-03-16 14:20:19 +08:00

17 lines
481 B
TypeScript

import { defineComponentMetadata } from '@/components/define'
import { getUID } from '@/core/utils'
export const component = defineComponentMetadata({
name: 'badgeKeepalive',
displayName: '一键点亮直播间粉丝勋章',
entry: none,
reload: none,
unload: none,
tags: [componentsTags.live],
widget: {
component: () => import('./BadgeKeepalive.vue').then(m => m.default),
condition: () => Boolean(getUID()),
},
urlInclude: ['//live.bilibili.com'],
})