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

14 lines
384 B
TypeScript

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
}