1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-04 02:09:37 +02:00
Peertube/shared/models/plugins/server/managers/plugin-video-category-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 PluginVideoCategoryManager extends ConstantManager<number> {
/**
* @deprecated use `addConstant` instead
*/
addCategory: (categoryKey: number, categoryLabel: string) => boolean
/**
* @deprecated use `deleteConstant` instead
*/
deleteCategory: (categoryKey: number) => boolean
}