File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -23,4 +23,16 @@ export type {
2323 IMessageBrokerTransport ,
2424 MessageBrokerTransport ,
2525 IOperationIdContext ,
26- } from "./interfaces/core/transport/index.js" ;
26+ } from "./interfaces/core/transport/index.js" ;
27+ export type {
28+ ICombinedDescriptor ,
29+ IResolvedOperationContext ,
30+ IServiceDescriptor ,
31+ } from "./interfaces/core/service.interface.js" ;
32+ export type {
33+ IGroupByServiceInput ,
34+ IServiceGraph ,
35+ IServiceGraphNode ,
36+ IToServiceGraphInput ,
37+ IServiceDescriptor as LegacyServiceGraphDescriptor ,
38+ } from "./interfaces/core/service-graph.interface.js" ;
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ import type { IMonorepoDetection } from "./discovery.interface.js";
5555 * because the id shows up in collection names and Postman
5656 * environment variables.
5757 */
58- export interface IServiceDescriptor {
58+ export interface IServiceGraphNode {
5959 /** Stable identity of the service; used as the merge key and as the name. */
6060 readonly serviceId : string ;
6161 /**
@@ -115,6 +115,13 @@ export interface IServiceDescriptor {
115115 readonly variables : ReadonlyArray < { readonly key : string ; readonly value : string } > ;
116116}
117117
118+ /**
119+ * @deprecated Use `IServiceGraphNode` for discovery graphs. The export
120+ * descriptor with the same old name lives in `service.interface.ts` and has
121+ * `IOperation[]` endpoints; this alias preserves legacy graph consumers.
122+ */
123+ export type IServiceDescriptor = IServiceGraphNode ;
124+
118125/**
119126 * Inputs of the `groupByService` helper. It lives here for the
120127 * same reason as `IServiceDescriptor`: the helper is generic, but
You can’t perform that action at this time.
0 commit comments