Plugin Marketplace API
Summary: Extracted plugin marketplace API to a separate file and updated it to load full plugin manifests. Reviewed By: passy Differential Revision: D25181759 fbshipit-source-id: a63f9ce16249ccc170df148cef5c209fdc6d4d6d
This commit is contained in:
committed by
Facebook GitHub Bot
parent
658b3e8a91
commit
5b26f36672
@@ -7,7 +7,7 @@
|
||||
* @format
|
||||
*/
|
||||
|
||||
export default interface PluginDetails {
|
||||
export interface PluginDetails {
|
||||
dir: string;
|
||||
name: string;
|
||||
specVersion: number;
|
||||
@@ -22,9 +22,19 @@ export default interface PluginDetails {
|
||||
icon?: string;
|
||||
description?: string;
|
||||
category?: string;
|
||||
engines?: {
|
||||
[name: string]: string;
|
||||
};
|
||||
bugs?: {
|
||||
email?: string;
|
||||
url?: string;
|
||||
};
|
||||
flipperSDKVersion?: string;
|
||||
}
|
||||
|
||||
export interface DownloadablePluginDetails extends PluginDetails {
|
||||
downloadUrl: string;
|
||||
lastUpdated: Date;
|
||||
}
|
||||
|
||||
export default PluginDetails;
|
||||
|
||||
Reference in New Issue
Block a user