17
17
* limitations under the License.
18
18
*/
19
19
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" ;
28
21
import Integer from "../../../types/v1/integer" ;
29
22
30
23
const dummy : any = null ;
31
24
32
- const sum : ResultSummary = dummy ;
25
+ const sum1 : ResultSummary = dummy ;
33
26
34
- const stmt = sum . statement ;
27
+ const stmt = sum1 . statement ;
35
28
const stmtText : string = stmt . text ;
36
29
const stmtParams : object = stmt . parameters ;
37
30
38
- const str : string = sum . statementType ;
31
+ const str : string = sum1 . statementType ;
39
32
40
- const counters : StatementStatistic = sum . counters ;
33
+ const counters : StatementStatistic = sum1 . counters ;
41
34
42
35
const containsUpdates : boolean = counters . containsUpdates ( ) ;
43
36
const nodesCreated : number = counters . nodesCreated ( ) ;
@@ -52,21 +45,21 @@ const indexesRemoved: number = counters.indexesRemoved();
52
45
const constraintsAdded : number = counters . constraintsAdded ( ) ;
53
46
const constraintsRemoved : number = counters . constraintsRemoved ( ) ;
54
47
55
- const plan : Plan = sum . plan ;
48
+ const plan : Plan = sum1 . plan ;
56
49
const planOperatorType : string = plan . operatorType ;
57
50
const planIdentifiers : string [ ] = plan . identifiers ;
58
51
const planArguments : { [ key : string ] : string } = plan . arguments ;
59
52
const planChildren : Plan [ ] = plan . children ;
60
53
61
- const profile : ProfiledPlan = sum . profile ;
54
+ const profile : ProfiledPlan = sum1 . profile ;
62
55
const profileOperatorType : string = profile . operatorType ;
63
56
const profileIdentifiers : string [ ] = profile . identifiers ;
64
57
const profileArguments : { [ key : string ] : string } = profile . arguments ;
65
58
const profileDbHits : number = profile . dbHits ;
66
59
const profileRows : number = profile . rows ;
67
60
const profileChildren : ProfiledPlan [ ] = profile . children ;
68
61
69
- const notifications : Notification [ ] = sum . notifications ;
62
+ const notifications : Notification [ ] = sum1 . notifications ;
70
63
const notification : Notification = notifications [ 0 ] ;
71
64
const code : string = notification . code ;
72
65
const title : string = notification . title ;
@@ -78,12 +71,20 @@ const offset: number = position2.offset;
78
71
const line : number = position2 . line ;
79
72
const column : number = position2 . column ;
80
73
81
- const server : ServerInfo = sum . server ;
74
+ const server : ServerInfo = sum1 . server ;
82
75
const address : string = server . address ;
83
76
const version : string = server . version ;
84
77
85
- const resultConsumedAfter : Integer = sum . resultConsumedAfter ;
86
- const resultAvailableAfter : Integer = sum . resultAvailableAfter ;
78
+ const resultConsumedAfter1 : Integer = sum1 . resultConsumedAfter ;
79
+ const resultAvailableAfter1 : Integer = sum1 . resultAvailableAfter ;
87
80
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