MarketplacePluginDetails into flipper-common
Summary: ^ Reviewed By: antonk52 Differential Revision: D37715921 fbshipit-source-id: 05d35c472e847a7891fd4af1e88a3425e1d55f13
This commit is contained in:
committed by
Facebook GitHub Bot
parent
caa04f4a44
commit
ea958b0b15
@@ -109,6 +109,10 @@ export interface DownloadablePluginDetails extends ConcretePluginDetails {
|
||||
isEnabledByDefault: boolean;
|
||||
}
|
||||
|
||||
export interface MarketplacePluginDetails extends DownloadablePluginDetails {
|
||||
availableVersions?: DownloadablePluginDetails[];
|
||||
}
|
||||
|
||||
export type UpdateResult =
|
||||
| {kind: 'not-installed'; version: string}
|
||||
| {kind: 'up-to-date'}
|
||||
|
||||
Reference in New Issue
Block a user