mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-11 10:31:47 +00:00
24 lines
516 B
TypeScript
24 lines
516 B
TypeScript
import { createPlugin } from '@/utils';
|
|
import backend from './backend';
|
|
import { APPLICATION_NAME, 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', {
|
|
applicationName: APPLICATION_NAME,
|
|
}),
|
|
addedVersion: '3.7.X',
|
|
restartNeeded: true,
|
|
config: defaultConfig,
|
|
backend,
|
|
});
|