import type * as HydraDB from "../index.js"; export interface GraphSourceSubgraphResponse { /** * AuxiliaryRelations carries the structural graph around the member * sources: Entity->Source presence, Source->Comment/Attachment and * Actor->Source/Comment links. Same item shape as Relations, matching * GraphRelationsResponse so the dashboard renderer works unchanged. */ auxiliaryRelations?: HydraDB.GraphTripletWithEvidence[]; /** * AuxiliaryTruncated reports that a fetch ceiling clipped the auxiliary * graph, same contract as GraphRelationsResponse.AuxiliaryTruncated. */ auxiliaryTruncated?: boolean; /** * IsTruncated reports that the traversal stopped before exhausting the * connected component: the source budget or an edge/expansion fetch cap * was hit, or the depth limit left an unexpanded frontier. */ isTruncated?: boolean; /** MaxDepthReached is the deepest BFS level that admitted a member. */ maxDepthReached?: number; /** Human-readable result message. */ message?: string; /** * Relations holds the Source->Source triplets: every RELATES_TO edge whose * endpoints are both members, plus synthesized same_thread / child_of * provenance edges for members reached through a node property rather than * a stored edge (those carry Synthesized on their evidence). */ relations?: HydraDB.GraphTripletWithEvidence[]; seedSourceId?: string; /** * Sources is every member of the subgraph in BFS discovery order, seed * first. */ sources?: HydraDB.GraphSubgraphSource[]; /** Whether the request succeeded. */ success?: boolean; }