diff --git a/packages/app-next/app-config.yaml b/packages/app-next/app-config.yaml index 1121cfc0d5..f376c934d3 100644 --- a/packages/app-next/app-config.yaml +++ b/packages/app-next/app-config.yaml @@ -30,6 +30,9 @@ app: config: showAggregateMembersToggle: true initialRelationAggregation: aggregated + # - entity-card:org/ownership: + # config: + # entityFilterKind: ['Component', 'API', 'Resource', 'System'] # - apis.plugin.graphiql.browse.gitlab: true # - graphiql-endpoint:graphiql/gitlab: true diff --git a/plugins/org/src/alpha.tsx b/plugins/org/src/alpha.tsx index 57924a0269..5532767fea 100644 --- a/plugins/org/src/alpha.tsx +++ b/plugins/org/src/alpha.tsx @@ -65,6 +65,7 @@ const EntityOwnershipCard = EntityCardBlueprint.makeWithOverrides({ initialRelationAggregation: z => z.enum(['direct', 'aggregated']).optional(), showAggregateMembersToggle: z => z.boolean().optional(), + entityFilterKind: z => z.array(z.string()).optional(), }, }, factory(originalFactory, { config }) { @@ -79,6 +80,9 @@ const EntityOwnershipCard = EntityCardBlueprint.makeWithOverrides({ ? undefined : !config.showAggregateMembersToggle } + entityFilterKind={ + config.entityFilterKind ?? ['Component', 'API', 'System'] + } /> )), });