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

14 lines
378 B
TypeScript
Raw Normal View History

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