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

14 lines
378 B
TypeScript

import { ConstantManager } from '../plugin-constant-manager.model'
export interface PluginVideoLicenceManager extends ConstantManager<number> {
/**
* @deprecated use `addConstant` instead
*/
addLicence: (licenceKey: number, licenceLabel: string) => boolean
/**
* @deprecated use `deleteConstant` instead
*/
deleteLicence: (licenceKey: number) => boolean
}