Commit fbd2d423 authored by frankstrater's avatar frankstrater Committed by Chocobozzz
Browse files

Fix some documentation mistakes

parent c21a0aa8
......@@ -13,10 +13,10 @@
* Server helpers
* **Deprecate** `videoLanguageManager.addLanguage` and `videoLanguageManager.deleteLanguage`: use `videoLanguageManager.addConstant` and `videoLanguageManager.deleteConstant` instead
* **Deprecate** `videoCategoryManager.addLanguage` and `videoCategoryManager.deleteLanguage`: use `videoCategoryManager.addConstant` and `videoCategoryManager.deleteConstant` instead
* **Deprecate** `videoLicenceManager.addLanguage` and `videoLicenceManager.deleteLanguage`: use `videoLicenceManager.addConstant` and `videoLicenceManager.deleteConstant` instead
* **Deprecate** `videoPrivacyManager.deleteLanguage`: `videoPrivacyManager.deleteConstant` instead
* **Deprecate** `playlistPrivacyManager.deleteLanguage`: `playlistPrivacyManager.deleteConstant` instead
* **Deprecate** `videoCategoryManager.addCategory` and `videoCategoryManager.deleteCategory`: use `videoCategoryManager.addConstant` and `videoCategoryManager.deleteConstant` instead
* **Deprecate** `videoLicenceManager.addLicence` and `videoLicenceManager.deleteLicence`: use `videoLicenceManager.addConstant` and `videoLicenceManager.deleteConstant` instead
* **Deprecate** `videoPrivacyManager.deletePrivacy`: `videoPrivacyManager.deleteConstant` instead
* **Deprecate** `playlistPrivacyManager.deletePlaylistPrivacy`: `playlistPrivacyManager.deleteConstant` instead
* Introduce `.getConstantValue()`, `.getConstants()` and `.resetConstants()` for `videoLanguageManager`, `videoCategoryManager`, `videoLicenceManager`, `videoPrivacyManager` and `playlistPrivacyManager`
* Add server plugin hooks:
* `filter:api.overviews.videos.list.params` and `filter:api.overviews.videos.list.result`
......
......@@ -2,12 +2,12 @@ import { ConstantManager } from '../plugin-constant-manager.model'
export interface PluginVideoLicenceManager extends ConstantManager<number> {
/**
* @deprecated use `addLicence` instead
* @deprecated use `addConstant` instead
*/
addLicence: (licenceKey: number, licenceLabel: string) => boolean
/**
* @deprecated use `deleteLicence` instead
* @deprecated use `deleteConstant` instead
*/
deleteLicence: (licenceKey: number) => boolean
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment