[core/apis] added pluginId to feature flag metadata
This commit is contained in:
@@ -90,7 +90,10 @@ export default class AppBuilder {
|
||||
break;
|
||||
}
|
||||
case 'feature-flag': {
|
||||
registeredFeatureFlags.push({ name: output.name });
|
||||
registeredFeatureFlags.push({
|
||||
pluginId: plugin.config.id,
|
||||
name: output.name,
|
||||
});
|
||||
break;
|
||||
}
|
||||
default:
|
||||
|
||||
@@ -71,6 +71,7 @@ export const FeatureFlags = new FeatureFlagsImpl();
|
||||
* Backstage components. This enables viewing all of the available flags.
|
||||
*/
|
||||
export interface FeatureFlagsEntry {
|
||||
pluginId: string;
|
||||
name: FeatureFlagName;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user