import type * as HydraDB from "../index.js"; export interface GraphGraphRelationsResponse { /** * AuxiliaryRelations carries the structural graph around the entity * relations: Entity->Source presence, Source->Comment/Attachment, * Actor->Source/Comment, and Source->Source links. Same item shape as * Relations, so a caller wanting one graph concatenates the two. * * Deliberately a SEPARATE array rather than merged into Relations: * capPreservingTies counts triplets against the caller's limit, and * computeNextCursor keys on relation timestamps. Auxiliary edges carry * created_at — a different clock — so merging them would both shrink the * entity relations returned for a given limit and corrupt the cursor. */ auxiliaryRelations?: HydraDB.GraphTripletWithEvidence[]; /** * AuxiliaryTruncated reports that an aggregate row ceiling clipped the * auxiliary graph. Distinct from the per-triplet Truncated flag, which only * covers a single node exceeding its fan-out cap: a wide page can blow the * aggregate ceiling with every individual node still under its own cap, and * without this the caller would receive a subset presented as complete. * * Independent of IsTruncated, which describes Relations pagination only. */ auxiliaryTruncated?: boolean; /** Whether the response was truncated due to the result limit. */ isTruncated?: boolean; /** Human-readable result message. */ message?: string; /** NO omitempty */ nextCursor?: number; /** Array of triplet groups with evidence for each relationship. */ relations?: HydraDB.GraphTripletWithEvidence[]; /** * Deprecated for API clients: to decide whether the request succeeded, * check the HTTP status code — 2xx is success — or equivalently the * envelope's top-level `success`. This nested copy always carries the same * value and never carries independent information. Still emitted unchanged * for existing clients (PRO-1208). */ success?: boolean; }