mirror of https://github.com/Chocobozzz/PeerTube
14 lines
384 B
TypeScript
14 lines
384 B
TypeScript
import { ConstantManager } from '../plugin-constant-manager.model'
|
|
|
|
export interface PluginVideoCategoryManager extends ConstantManager<number> {
|
|
/**
|
|
* @deprecated use `addConstant` instead
|
|
*/
|
|
addCategory: (categoryKey: number, categoryLabel: string) => boolean
|
|
|
|
/**
|
|
* @deprecated use `deleteConstant` instead
|
|
*/
|
|
deleteCategory: (categoryKey: number) => boolean
|
|
}
|