PeerTube/server/typings/plugins/plugin-library.model.ts

8 lines
184 B
TypeScript

import { RegisterOptions } from './register-options.model'
export interface PluginLibrary {
register: (options: RegisterOptions) => Promise<any>
unregister: () => Promise<any>
}