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

8 lines
202 B
TypeScript

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