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

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
}