Bilibili-Evolved/registry/lib/components/video/metadata/options.ts

17 lines
388 B
TypeScript

import { defineOptionsMetadata, OptionsOfMetadata } from '@/components/define'
export enum FieldsMode {
ALL = '全部',
Standard = '仅标准字段',
}
export const options = defineOptionsMetadata({
fieldsMode: {
defaultValue: FieldsMode.ALL,
displayName: 'FFMETADATA 字段',
dropdownEnum: FieldsMode,
},
})
export type Options = OptionsOfMetadata<typeof options>