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-licence-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-licence-manager.model.ts')
-rw-r--r-- | shared/models/plugins/plugin-video-licence-manager.model.ts | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/shared/models/plugins/plugin-video-licence-manager.model.ts b/shared/models/plugins/plugin-video-licence-manager.model.ts new file mode 100644 index 000000000..82a634d3a --- /dev/null +++ b/shared/models/plugins/plugin-video-licence-manager.model.ts | |||
@@ -0,0 +1,5 @@ | |||
1 | export interface PluginVideoLicenceManager { | ||
2 | addLicence: (licenceKey: number, licenceLabel: string) => boolean | ||
3 | |||
4 | deleteLicence: (licenceKey: number) => boolean | ||
5 | } | ||