We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 05baa0e commit a8dee67Copy full SHA for a8dee67
src/plugins/synced-lyrics/providers/index.ts
@@ -1,21 +1,4 @@
1
-import * as z from 'zod';
2
-
3
-import type { LyricResult } from '../types';
4
5
export enum ProviderNames {
6
- YTMusic = 'YTMusic',
7
- LRCLib = 'LRCLib',
8
- MusixMatch = 'MusixMatch',
9
- LyricsGenius = 'LyricsGenius',
10
- // Megalobiz = 'Megalobiz',
11
-}
12
13
-export const ProviderNameSchema = z.enum(ProviderNames);
14
-export type ProviderName = z.infer<typeof ProviderNameSchema>;
15
-export const providerNames = ProviderNameSchema.options;
16
17
-export type ProviderState = {
18
- state: 'fetching' | 'done' | 'error';
19
- data: LyricResult | null;
20
- error: Error | null;
21
-};
+ ...,
+ SimpMusicLyrics = 'SimpMusic Lyrics'
+}
0 commit comments