@@ -35,6 +35,7 @@ export type Neighbor = {
35
35
__typename ?: 'Neighbor' ;
36
36
nodeId1 : Scalars [ 'String' ] [ 'output' ] ;
37
37
nodeId2 : Scalars [ 'String' ] [ 'output' ] ;
38
+ rtt ?: Maybe < Scalars [ 'Int' ] [ 'output' ] > ;
38
39
streamPartId : Scalars [ 'String' ] [ 'output' ] ;
39
40
} ;
40
41
@@ -157,6 +158,17 @@ export type GetGlobalStreamsStatsQueryVariables = Exact<{ [key: string]: never;
157
158
158
159
export type GetGlobalStreamsStatsQuery = { __typename ?: 'Query' , summary : { __typename ?: 'Summary' , bytesPerSecond : number , messagesPerSecond : number , streamCount : number } } ;
159
160
161
+ export type GetNeighborsQueryVariables = Exact < {
162
+ cursor ?: InputMaybe < Scalars [ 'String' ] [ 'input' ] > ;
163
+ pageSize ?: InputMaybe < Scalars [ 'Int' ] [ 'input' ] > ;
164
+ streamPart ?: InputMaybe < Scalars [ 'String' ] [ 'input' ] > ;
165
+ node ?: InputMaybe < Scalars [ 'String' ] [ 'input' ] > ;
166
+ streamId ?: InputMaybe < Scalars [ 'String' ] [ 'input' ] > ;
167
+ } > ;
168
+
169
+
170
+ export type GetNeighborsQuery = { __typename ?: 'Query' , neighbors : { __typename ?: 'Neighbors' , cursor ?: string | null , items : Array < { __typename ?: 'Neighbor' , streamPartId : string , nodeId1 : string , nodeId2 : string , rtt ?: number | null } > } } ;
171
+
160
172
161
173
export const GetStreamsDocument = gql `
162
174
query getStreams($streamIds: [String!], $first: Int, $orderBy: StreamOrderBy, $orderDirection: OrderDirection, $search: String, $owner: String, $cursor: String) {
@@ -192,4 +204,24 @@ export const GetGlobalStreamsStatsDocument = gql`
192
204
}
193
205
}
194
206
` ;
195
- export type GetGlobalStreamsStatsQueryResult = Apollo . QueryResult < GetGlobalStreamsStatsQuery , GetGlobalStreamsStatsQueryVariables > ;
207
+ export type GetGlobalStreamsStatsQueryResult = Apollo . QueryResult < GetGlobalStreamsStatsQuery , GetGlobalStreamsStatsQueryVariables > ;
208
+ export const GetNeighborsDocument = gql `
209
+ query getNeighbors($cursor: String, $pageSize: Int, $streamPart: String, $node: String, $streamId: String) {
210
+ neighbors(
211
+ cursor: $cursor
212
+ pageSize: $pageSize
213
+ streamPart: $streamPart
214
+ node: $node
215
+ stream: $streamId
216
+ ) {
217
+ items {
218
+ streamPartId
219
+ nodeId1
220
+ nodeId2
221
+ rtt
222
+ }
223
+ cursor
224
+ }
225
+ }
226
+ ` ;
227
+ export type GetNeighborsQueryResult = Apollo . QueryResult < GetNeighborsQuery , GetNeighborsQueryVariables > ;
0 commit comments