Add plugin types
This commit is contained in:
parent
ecb84ff351
commit
64ecc3eae7
18 changed files with 51 additions and 20 deletions
13
src/types/plugin.ts
Normal file
13
src/types/plugin.ts
Normal file
|
@ -0,0 +1,13 @@
|
|||
export enum PluginType {
|
||||
MediaPlayer = 'mediaplayer',
|
||||
PreplayIntercept = 'preplayintercept',
|
||||
Screensaver = 'screensaver',
|
||||
SyncPlay = 'syncplay'
|
||||
}
|
||||
|
||||
export interface Plugin {
|
||||
name: string
|
||||
id: string
|
||||
type: PluginType | string
|
||||
priority: number
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue