Skip to content

Commit 1f5dfb2

Browse files
committed
Fix graph.explore Hop definition
1 parent 3c781a6 commit 1f5dfb2

File tree

1 file changed

+17
-2
lines changed
  • specification/graph/_types

1 file changed

+17
-2
lines changed

specification/graph/_types/Hop.ts

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,28 @@ export class Hop {
2424
/**
2525
* Specifies one or more fields from which you want to extract terms that are associated with the specified vertices.
2626
*/
27-
connections?: Hop
27+
connections?: NextHop
2828
/**
29-
* An optional guiding query that constrains the Graph API as it explores connected terms.
29+
* A seed query that identifies the documents of interest.
3030
*/
3131
query: QueryContainer
3232
/**
3333
* Contains the fields you are interested in.
3434
*/
3535
vertices: VertexDefinition[]
3636
}
37+
38+
export class NextHop {
39+
/**
40+
* Specifies one or more fields from which you want to extract terms that are associated with the specified vertices.
41+
*/
42+
connections?: NextHop
43+
/**
44+
* An optional guiding query that constrains the Graph API as it explores connected terms.
45+
*/
46+
query?: QueryContainer
47+
/**
48+
* Contains the fields you are interested in.
49+
*/
50+
vertices: VertexDefinition[]
51+
}

0 commit comments

Comments
 (0)