diff options
author | Chocobozzz <me@florianbigard.com> | 2019-07-26 13:13:39 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-07-26 15:18:30 +0200 |
commit | ee286591a5b740702bad66c55cc900740f749e9a (patch) | |
tree | 16503d1299a107c5972ba16f95228b1ebce20f79 /shared/models/plugins/plugin-video-category-manager.model.ts | |
parent | 16d54696294d15f8ab6ba3a6bcfac21528fec2f2 (diff) | |
download | PeerTube-ee286591a5b740702bad66c55cc900740f749e9a.tar.gz PeerTube-ee286591a5b740702bad66c55cc900740f749e9a.tar.zst PeerTube-ee286591a5b740702bad66c55cc900740f749e9a.zip |
Plugins can update video constants
Categories, licences and languages
Diffstat (limited to 'shared/models/plugins/plugin-video-category-manager.model.ts')
-rw-r--r-- | shared/models/plugins/plugin-video-category-manager.model.ts | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/shared/models/plugins/plugin-video-category-manager.model.ts b/shared/models/plugins/plugin-video-category-manager.model.ts new file mode 100644 index 000000000..201bfa979 --- /dev/null +++ b/shared/models/plugins/plugin-video-category-manager.model.ts | |||
@@ -0,0 +1,5 @@ | |||
1 | export interface PluginVideoCategoryManager { | ||
2 | addCategory: (categoryKey: number, categoryLabel: string) => boolean | ||
3 | |||
4 | deleteCategory: (categoryKey: number) => boolean | ||
5 | } | ||