Load installed server add-ons

Reviewed By: nikoant

Differential Revision: D34300475

fbshipit-source-id: 6bb6c0ab811e28806a0924b3487931bdb0dd2c59
This commit is contained in:
Andrey Goncharov
2022-02-28 03:50:34 -08:00
committed by Facebook GitHub Bot
parent b4b9c0ab28
commit 8b94186783
7 changed files with 62 additions and 22 deletions

View File

@@ -13,6 +13,10 @@ import {
FlipperServerEvents,
} from './server-types';
export type ServerAddOnStartDetails =
| {isBundled: true; path?: never}
| {isBundled?: false; path: string};
export interface ServerAddOnControls {
start: FlipperServerCommands['plugins-server-add-on-start'];
stop: FlipperServerCommands['plugins-server-add-on-stop'];