mirror of
https://github.com/the1812/Bilibili-Evolved.git
synced 2025-11-04 21:22:45 +08:00
18 lines
584 B
TypeScript
18 lines
584 B
TypeScript
import { PluginMetadata } from '@/plugins/plugin'
|
|
import { DownloadVideoOutput } from '../../../../components/video/download/types'
|
|
|
|
export const plugin: PluginMetadata = {
|
|
name: 'downloadVideo.outputs.empty',
|
|
displayName: '下载视频 - 空输出',
|
|
setup: ({ addData }) => {
|
|
addData('downloadVideo.outputs', (outputs: DownloadVideoOutput[]) => {
|
|
outputs.push({
|
|
name: 'empty',
|
|
displayName: '空',
|
|
description: '不输出视频本身, 仅获取下载视频的附带产物.',
|
|
runAction: async () => lodash.noop(),
|
|
})
|
|
})
|
|
},
|
|
}
|