mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-02-25 18:55:32 -06:00
Plugins can update video constants
Categories, licences and languages
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
export interface PluginVideoCategoryManager {
|
||||
addCategory: (categoryKey: number, categoryLabel: string) => boolean
|
||||
|
||||
deleteCategory: (categoryKey: number) => boolean
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
export interface PluginVideoLanguageManager {
|
||||
addLanguage: (languageKey: string, languageLabel: string) => boolean
|
||||
|
||||
deleteLanguage: (languageKey: string) => boolean
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
export interface PluginVideoLicenceManager {
|
||||
addLicence: (licenceKey: number, licenceLabel: string) => boolean
|
||||
|
||||
deleteLicence: (licenceKey: number) => boolean
|
||||
}
|
||||
Reference in New Issue
Block a user