1
0
Fork 0
peertube/shared/models/plugins/server/managers/plugin-video-licence-manager.model.ts
2021-07-28 10:46:32 +02:00

13 lines
376 B
TypeScript

import { ConstantManager } from '../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
}