Chocobozzz/PeerTube

View on GitHub
packages/models/src/plugins/server/managers/plugin-video-category-manager.model.ts

Summary

Maintainability
A
1 hr
Test Coverage
import { ConstantManager } from '../plugin-constant-manager.model.js'

export interface PluginVideoCategoryManager extends ConstantManager<number> {
  /**
   * @deprecated use `addConstant` instead
   */
  addCategory: (categoryKey: number, categoryLabel: string) => boolean

  /**
   * @deprecated use `deleteConstant` instead
   */
  deleteCategory: (categoryKey: number) => boolean
}