2021-06-29 16:02:05 +02:00
|
|
|
import { ConstantManager } from '@shared/models/plugins/server/plugin-constant-manager.model'
|
|
|
|
|
|
|
|
export interface PluginVideoCategoryManager extends ConstantManager<number> {
|
|
|
|
/**
|
|
|
|
* @deprecated use `addConstant` instead
|
|
|
|
*/
|
2019-07-26 13:13:39 +02:00
|
|
|
addCategory: (categoryKey: number, categoryLabel: string) => boolean
|
|
|
|
|
2021-06-29 16:02:05 +02:00
|
|
|
/**
|
|
|
|
* @deprecated use `deleteConstant` instead
|
|
|
|
*/
|
2019-07-26 13:13:39 +02:00
|
|
|
deleteCategory: (categoryKey: number) => boolean
|
|
|
|
}
|