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

14 lines
384 B
TypeScript
Raw Normal View History

2021-07-28 03:46:32 -05:00
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
}