mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Add plugin types
This commit is contained in:
parent
ecb84ff351
commit
64ecc3eae7
18 changed files with 51 additions and 20 deletions
|
@ -2,6 +2,7 @@ import globalize from '../../scripts/globalize';
|
|||
import * as userSettings from '../../scripts/settings/userSettings';
|
||||
import { appHost } from '../../components/apphost';
|
||||
import alert from '../../components/alert';
|
||||
import { PluginType } from '../../types/plugin.ts';
|
||||
|
||||
// TODO: Replace with date-fns
|
||||
// https://stackoverflow.com/questions/6117814/get-week-of-year-in-javascript-like-in-php
|
||||
|
@ -46,7 +47,7 @@ function showIsoMessage() {
|
|||
class ExpirementalPlaybackWarnings {
|
||||
constructor() {
|
||||
this.name = 'Experimental playback warnings';
|
||||
this.type = 'preplayintercept';
|
||||
this.type = PluginType.PreplayIntercept;
|
||||
this.id = 'expirementalplaybackwarnings';
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue