aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorfrankstrater <frankstrater@gmail.com>2021-08-31 15:08:24 +0200
committerChocobozzz <chocobozzz@cpy.re>2021-09-02 09:33:39 +0200
commitfbd2d423587caace6ff3e98840a8d4d4e4938266 (patch)
treeda578a344c11b9ef4d398f971cdb7b2002f62b90
parentc21a0aa855f61daaca458e16b47f95278898beb4 (diff)
downloadPeerTube-fbd2d423587caace6ff3e98840a8d4d4e4938266.tar.gz
PeerTube-fbd2d423587caace6ff3e98840a8d4d4e4938266.tar.zst
PeerTube-fbd2d423587caace6ff3e98840a8d4d4e4938266.zip
Fix some documentation mistakes
-rw-r--r--CHANGELOG.md8
-rw-r--r--shared/models/plugins/server/managers/plugin-video-licence-manager.model.ts4
2 files changed, 6 insertions, 6 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 4f2fab9ec..29aea7922 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -13,10 +13,10 @@
13 13
14 * Server helpers 14 * Server helpers
15 * **Deprecate** `videoLanguageManager.addLanguage` and `videoLanguageManager.deleteLanguage`: use `videoLanguageManager.addConstant` and `videoLanguageManager.deleteConstant` instead 15 * **Deprecate** `videoLanguageManager.addLanguage` and `videoLanguageManager.deleteLanguage`: use `videoLanguageManager.addConstant` and `videoLanguageManager.deleteConstant` instead
16 * **Deprecate** `videoCategoryManager.addLanguage` and `videoCategoryManager.deleteLanguage`: use `videoCategoryManager.addConstant` and `videoCategoryManager.deleteConstant` instead 16 * **Deprecate** `videoCategoryManager.addCategory` and `videoCategoryManager.deleteCategory`: use `videoCategoryManager.addConstant` and `videoCategoryManager.deleteConstant` instead
17 * **Deprecate** `videoLicenceManager.addLanguage` and `videoLicenceManager.deleteLanguage`: use `videoLicenceManager.addConstant` and `videoLicenceManager.deleteConstant` instead 17 * **Deprecate** `videoLicenceManager.addLicence` and `videoLicenceManager.deleteLicence`: use `videoLicenceManager.addConstant` and `videoLicenceManager.deleteConstant` instead
18 * **Deprecate** `videoPrivacyManager.deleteLanguage`: `videoPrivacyManager.deleteConstant` instead 18 * **Deprecate** `videoPrivacyManager.deletePrivacy`: `videoPrivacyManager.deleteConstant` instead
19 * **Deprecate** `playlistPrivacyManager.deleteLanguage`: `playlistPrivacyManager.deleteConstant` instead 19 * **Deprecate** `playlistPrivacyManager.deletePlaylistPrivacy`: `playlistPrivacyManager.deleteConstant` instead
20 * Introduce `.getConstantValue()`, `.getConstants()` and `.resetConstants()` for `videoLanguageManager`, `videoCategoryManager`, `videoLicenceManager`, `videoPrivacyManager` and `playlistPrivacyManager` 20 * Introduce `.getConstantValue()`, `.getConstants()` and `.resetConstants()` for `videoLanguageManager`, `videoCategoryManager`, `videoLicenceManager`, `videoPrivacyManager` and `playlistPrivacyManager`
21 * Add server plugin hooks: 21 * Add server plugin hooks:
22 * `filter:api.overviews.videos.list.params` and `filter:api.overviews.videos.list.result` 22 * `filter:api.overviews.videos.list.params` and `filter:api.overviews.videos.list.result`
diff --git a/shared/models/plugins/server/managers/plugin-video-licence-manager.model.ts b/shared/models/plugins/server/managers/plugin-video-licence-manager.model.ts
index 6efeadd7d..21b422270 100644
--- a/shared/models/plugins/server/managers/plugin-video-licence-manager.model.ts
+++ b/shared/models/plugins/server/managers/plugin-video-licence-manager.model.ts
@@ -2,12 +2,12 @@ import { ConstantManager } from '../plugin-constant-manager.model'
2 2
3export interface PluginVideoLicenceManager extends ConstantManager<number> { 3export interface PluginVideoLicenceManager extends ConstantManager<number> {
4 /** 4 /**
5 * @deprecated use `addLicence` instead 5 * @deprecated use `addConstant` instead
6 */ 6 */
7 addLicence: (licenceKey: number, licenceLabel: string) => boolean 7 addLicence: (licenceKey: number, licenceLabel: string) => boolean
8 8
9 /** 9 /**
10 * @deprecated use `deleteLicence` instead 10 * @deprecated use `deleteConstant` instead
11 */ 11 */
12 deleteLicence: (licenceKey: number) => boolean 12 deleteLicence: (licenceKey: number) => boolean
13} 13}