IAllowedRelationshipType
Allowed relationship type combination for semantic search. Filters relationships and results to only include direct matches or objects reachable via allowed relationship types.
export interface IAllowedRelationshipType
Properties
Property | Modifiers | Type | Description |
|---|---|---|---|
boolean | (Optional) If true, allows target objects that are not part of any relationship (orphans) to be included in results. If false, orphan target objects will be excluded even if they directly match the search query. Default is true (orphans are allowed). | ||
Source object type (e.g. ‘dashboard’, ‘visualization’, ‘metric’). | |||
Target object type (e.g. ‘visualization’, ‘metric’, ‘attribute’). |
Property details
IAllowedRelationshipType.allowOrphansproperty
If true, allows target objects that are not part of any relationship (orphans) to be included in results. If false, orphan target objects will be excluded even if they directly match the search query. Default is true (orphans are allowed).
allowOrphans?: boolean;
IAllowedRelationshipType.sourceTypeproperty
Source object type (e.g. ‘dashboard’, ‘visualization’, ‘metric’).
sourceType: GenAIObjectType;
IAllowedRelationshipType.targetTypeproperty
Target object type (e.g. ‘visualization’, ‘metric’, ‘attribute’).
targetType: GenAIObjectType;