mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-11 10:31:47 +00:00
21 lines
444 B
TypeScript
21 lines
444 B
TypeScript
import { createPlugin } from '@/utils';
|
|
import backend from './backend';
|
|
import { t } from '@/i18n';
|
|
|
|
export interface MusicWidgetConfig {
|
|
enabled: boolean;
|
|
}
|
|
|
|
export const defaultConfig: MusicWidgetConfig = {
|
|
enabled: false,
|
|
};
|
|
|
|
export default createPlugin({
|
|
name: () => t('plugins.amuse.name'),
|
|
description: () => t('plugins.amuse.description'),
|
|
addedVersion: '3.7.X',
|
|
restartNeeded: true,
|
|
config: defaultConfig,
|
|
backend,
|
|
});
|