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

14 lines
411 B
TypeScript
Raw Normal View History

import { ConstantManager } from '@shared/models/plugins/server/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
}