PeerTube/shared/models/plugins/server/managers/plugin-video-licence-manage...

14 lines
378 B
TypeScript
Raw Normal View History

2021-07-28 10:46:32 +02:00
import { ConstantManager } from '../plugin-constant-manager.model'
export interface PluginVideoLicenceManager extends ConstantManager<number> {
/**
2021-08-31 15:08:24 +02:00
* @deprecated use `addConstant` instead
*/
addLicence: (licenceKey: number, licenceLabel: string) => boolean
/**
2021-08-31 15:08:24 +02:00
* @deprecated use `deleteConstant` instead
*/
deleteLicence: (licenceKey: number) => boolean
}