1
0
Fork 0
peertube/shared/models/plugins/server/managers/plugin-video-language-manager.model.ts
2021-07-28 10:46:32 +02:00

13 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
}