diff --git a/desktop/flipper-common/src/PluginDetails.tsx b/desktop/flipper-common/src/PluginDetails.tsx index 9f3a33f1b..3de98b19a 100644 --- a/desktop/flipper-common/src/PluginDetails.tsx +++ b/desktop/flipper-common/src/PluginDetails.tsx @@ -96,6 +96,8 @@ export interface DownloadablePluginDetails extends ConcretePluginDetails { isBundled: false; downloadUrl: string; lastUpdated: Date; + // Indicates whether plugin should be enabled by default for new users + isEnabledByDefault: boolean; } export type UpdateResult = diff --git a/desktop/flipper-ui-core/src/utils/testUtils.tsx b/desktop/flipper-ui-core/src/utils/testUtils.tsx index ede07f0aa..ae41b88ec 100644 --- a/desktop/flipper-ui-core/src/utils/testUtils.tsx +++ b/desktop/flipper-ui-core/src/utils/testUtils.tsx @@ -58,6 +58,7 @@ export function createMockDownloadablePluginDetails( lastUpdated: lastUpdated, isBundled: false, isActivatable: false, + isEnabledByDefault: false, }; return details; }