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

6 lines
171 B
TypeScript

export interface PluginVideoCategoryManager {
addCategory: (categoryKey: number, categoryLabel: string) => boolean
deleteCategory: (categoryKey: number) => boolean
}