(p: Plugin)
| 53 | | 'applyResponseHooks'; |
| 54 | |
| 55 | function serializePlugin(p: Plugin) { |
| 56 | return { |
| 57 | name: p.name, |
| 58 | displayName: p.displayName, |
| 59 | description: p.description, |
| 60 | version: p.version, |
| 61 | directory: p.directory, |
| 62 | config: p.config, |
| 63 | permissions: p.permissions, |
| 64 | permissionWarnings: p.permissionWarnings, |
| 65 | permissionsDeclared: p.permissionsDeclared, |
| 66 | loadError: p.loadError, |
| 67 | }; |
| 68 | } |
| 69 | |
| 70 | export async function invokePluginMethod(method: PluginInvokeMethod, args?: unknown): Promise<unknown> { |
| 71 | switch (method) { |
no outgoing calls
no test coverage detected