Open file import

Summary: This change only adds the PWA as capable of handling files with the ".flipper" extension.

Reviewed By: aigoncharov

Differential Revision: D48353437

fbshipit-source-id: fd78942ac4dffb7d26d5ca5be826290018465b93
This commit is contained in:
Lorenzo Blasa
2023-08-17 13:46:08 -07:00
committed by Facebook GitHub Bot
parent 9728155cbf
commit ce13ee426f
13 changed files with 150 additions and 106 deletions

View File

@@ -67,7 +67,7 @@ interface NotificationConstructorOptions {
// Events that are emitted from the main.ts ovr the IPC process bridge in Electron
type MainProcessEvents = {
'flipper-protocol-handler': [query: string];
'open-flipper-file': [url: string];
'open-flipper-file': [name: string, data: string];
notificationEvent: [
eventName: NotificationEvents,
pluginNotification: PluginNotification,
@@ -88,7 +88,7 @@ type ChildProcessEvents = {
},
];
getLaunchTime: [];
componentDidMount: [];
storeRehydrated: [];
};
/**