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

14 lines
403 B
TypeScript
Raw Normal View History

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