feat(amuse): song query api (add amuse plugin) (#2723)

Co-authored-by: JellyBrick <shlee1503@naver.com>
This commit is contained in:
Iris
2024-12-24 19:45:19 -05:00
committed by GitHub
parent 237dde9765
commit b62ccfe7b1
4 changed files with 118 additions and 0 deletions

View File

@ -0,0 +1,20 @@
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,
});