NFS entityKindFilter

Signed-off-by: Peter Macdonald <peterm4c@pm.me>
This commit is contained in:
Peter Macdonald
2026-01-05 10:23:33 +01:00
parent c5984b1ff8
commit d4abd7f0f2
2 changed files with 7 additions and 0 deletions
+3
View File
@@ -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
+4
View File
@@ -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']
}
/>
)),
});