1
0
Fork 0
peertube/shared/models/plugins/server/managers/plugin-video-licence-manager.model.ts
2021-09-02 09:33:39 +02:00

13 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
}