Updated api-report and exported missing types

Signed-off-by: Gustaf Räntilä <g.rantila@gmail.com>
This commit is contained in:
Gustaf Räntilä
2025-09-06 23:04:33 +02:00
parent 004557156b
commit f4f5356630
2 changed files with 27 additions and 0 deletions
+23
View File
@@ -181,8 +181,31 @@ export type EntityRelationsGraphProps = {
renderLabel?: DependencyGraphTypes.RenderLabelFunction<EntityEdge>;
curve?: 'curveStepBefore' | 'curveMonotoneX';
showArrowHeads?: boolean;
onPostTransformation?: GraphTransformationDebugger;
};
// @public
export type GraphTransformationDebugger = (
transformation: string | undefined,
transformationContext: TransformationContext,
clonedContext: TransformationContext,
) => void;
// @public
export type RelationPairs = [string, string][];
// @public
export interface TransformationContext {
// (undocumented)
edges: EntityEdge[];
// (undocumented)
maxDepth: number;
nodeDistances: Map<string, number>;
// (undocumented)
nodes: EntityNode[];
// (undocumented)
rootEntityRefs: string[];
// (undocumented)
unidirectional: boolean;
}
```
+4
View File
@@ -35,3 +35,7 @@ export type {
EntityNode,
} from './lib/types';
export { Direction } from './lib/types';
export type {
TransformationContext,
GraphTransformationDebugger,
} from './lib/graph-transformations';