PeerTube/shared/models/plugins/server/managers/plugin-video-language-manag...

14 lines
384 B
TypeScript
Raw Normal View History

2021-07-28 10:46:32 +02:00
import { ConstantManager } from '../plugin-constant-manager.model'
export interface PluginVideoLanguageManager extends ConstantManager<string> {
/**
* @deprecated use `addConstant` instead
*/
addLanguage: (languageKey: string, languageLabel: string) => boolean
/**
* @deprecated use `deleteConstant` instead
*/
deleteLanguage: (languageKey: string) => boolean
}