1717 * limitations under the License.
1818 */
1919
20- import ResultSummary , {
21- Notification ,
22- NotificationPosition ,
23- Plan ,
24- ProfiledPlan ,
25- ServerInfo ,
26- StatementStatistic
27- } from "../../../types/v1/result-summary" ;
20+ import ResultSummary , { Notification , NotificationPosition , Plan , ProfiledPlan , ServerInfo , StatementStatistic } from "../../../types/v1/result-summary" ;
2821import Integer from "../../../types/v1/integer" ;
2922
3023const dummy : any = null ;
3124
32- const sum : ResultSummary = dummy ;
25+ const sum1 : ResultSummary = dummy ;
3326
34- const stmt = sum . statement ;
27+ const stmt = sum1 . statement ;
3528const stmtText : string = stmt . text ;
3629const stmtParams : object = stmt . parameters ;
3730
38- const str : string = sum . statementType ;
31+ const str : string = sum1 . statementType ;
3932
40- const counters : StatementStatistic = sum . counters ;
33+ const counters : StatementStatistic = sum1 . counters ;
4134
4235const containsUpdates : boolean = counters . containsUpdates ( ) ;
4336const nodesCreated : number = counters . nodesCreated ( ) ;
@@ -52,21 +45,21 @@ const indexesRemoved: number = counters.indexesRemoved();
5245const constraintsAdded : number = counters . constraintsAdded ( ) ;
5346const constraintsRemoved : number = counters . constraintsRemoved ( ) ;
5447
55- const plan : Plan = sum . plan ;
48+ const plan : Plan = sum1 . plan ;
5649const planOperatorType : string = plan . operatorType ;
5750const planIdentifiers : string [ ] = plan . identifiers ;
5851const planArguments : { [ key : string ] : string } = plan . arguments ;
5952const planChildren : Plan [ ] = plan . children ;
6053
61- const profile : ProfiledPlan = sum . profile ;
54+ const profile : ProfiledPlan = sum1 . profile ;
6255const profileOperatorType : string = profile . operatorType ;
6356const profileIdentifiers : string [ ] = profile . identifiers ;
6457const profileArguments : { [ key : string ] : string } = profile . arguments ;
6558const profileDbHits : number = profile . dbHits ;
6659const profileRows : number = profile . rows ;
6760const profileChildren : ProfiledPlan [ ] = profile . children ;
6861
69- const notifications : Notification [ ] = sum . notifications ;
62+ const notifications : Notification [ ] = sum1 . notifications ;
7063const notification : Notification = notifications [ 0 ] ;
7164const code : string = notification . code ;
7265const title : string = notification . title ;
@@ -78,12 +71,20 @@ const offset: number = position2.offset;
7871const line : number = position2 . line ;
7972const column : number = position2 . column ;
8073
81- const server : ServerInfo = sum . server ;
74+ const server : ServerInfo = sum1 . server ;
8275const address : string = server . address ;
8376const version : string = server . version ;
8477
85- const resultConsumedAfter : Integer = sum . resultConsumedAfter ;
86- const resultAvailableAfter : Integer = sum . resultAvailableAfter ;
78+ const resultConsumedAfter1 : Integer = sum1 . resultConsumedAfter ;
79+ const resultAvailableAfter1 : Integer = sum1 . resultAvailableAfter ;
8780
88- const hasPlan : boolean = sum . hasPlan ( ) ;
89- const hasProfile : boolean = sum . hasProfile ( ) ;
81+ const hasPlan : boolean = sum1 . hasPlan ( ) ;
82+ const hasProfile : boolean = sum1 . hasProfile ( ) ;
83+
84+ const sum2 : ResultSummary < number > = dummy ;
85+ const resultConsumedAfter2 : number = sum2 . resultConsumedAfter ;
86+ const resultAvailableAfter2 : number = sum2 . resultAvailableAfter ;
87+
88+ const sum3 : ResultSummary < Integer > = dummy ;
89+ const resultConsumedAfter3 : Integer = sum3 . resultConsumedAfter ;
90+ const resultAvailableAfter3 : Integer = sum3 . resultAvailableAfter ;
0 commit comments