import type { Edges } from "./subgraph/edges.js"; import type { SubgraphTemporalAxes } from "./subgraph/temporal-axes.js"; import type { EntityVertexId, OntologyTypeVertexId, Vertices } from "./subgraph/vertices.js"; import type { DataTypeWithMetadata, Entity, EntityTypeWithMetadata, PropertyTypeWithMetadata } from "@blockprotocol/type-system"; export * from "./ontology.js"; export * from "./subgraph/edges.js"; export * from "./subgraph/element-mappings.js"; export * from "./subgraph/graph-resolve-depths.js"; export * from "./subgraph/temporal-axes.js"; export * from "./subgraph/vertices.js"; export type DataTypeRootType = { vertexId: OntologyTypeVertexId; element: DataTypeWithMetadata; }; export type PropertyTypeRootType = { vertexId: OntologyTypeVertexId; element: PropertyTypeWithMetadata; }; export type EntityTypeRootType = { vertexId: OntologyTypeVertexId; element: EntityTypeWithMetadata; }; export type EntityRootType = { vertexId: EntityVertexId; element: EntityImpl; }; export type SubgraphRootType = DataTypeRootType | PropertyTypeRootType | EntityTypeRootType | EntityRootType; export type Subgraph = { roots: RootType["vertexId"][]; vertices: Vertices; edges: Edges; temporalAxes: SubgraphTemporalAxes; };