aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models
diff options
context:
space:
mode:
Diffstat (limited to 'shared/models')
-rw-r--r--shared/models/plugins/plugin-video-category-manager.model.ts5
-rw-r--r--shared/models/plugins/plugin-video-language-manager.model.ts5
-rw-r--r--shared/models/plugins/plugin-video-licence-manager.model.ts5
3 files changed, 15 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 @@
1export interface PluginVideoCategoryManager {
2 addCategory: (categoryKey: number, categoryLabel: string) => boolean
3
4 deleteCategory: (categoryKey: number) => boolean
5}
diff --git a/shared/models/plugins/plugin-video-language-manager.model.ts b/shared/models/plugins/plugin-video-language-manager.model.ts
new file mode 100644
index 000000000..3fd577a79
--- /dev/null
+++ b/shared/models/plugins/plugin-video-language-manager.model.ts
@@ -0,0 +1,5 @@
1export interface PluginVideoLanguageManager {
2 addLanguage: (languageKey: string, languageLabel: string) => boolean
3
4 deleteLanguage: (languageKey: string) => boolean
5}
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 @@
1export interface PluginVideoLicenceManager {
2 addLicence: (licenceKey: number, licenceLabel: string) => boolean
3
4 deleteLicence: (licenceKey: number) => boolean
5}