@@ -123,31 +123,16 @@ export namespace ConnectionRequest {
123
123
124
124
125
125
export namespace ConnectionCompleteNotification {
126
- export const type = new NotificationType < types . ConnectionCompleteParams , void > ( 'connection/complete' ) ;
126
+ export const type = new NotificationType < azdata . ConnectionInfoSummary , void > ( 'connection/complete' ) ;
127
127
}
128
128
129
129
// ------------------------------- < Connection Changed Event > -------------------------------------
130
130
131
- /**
132
- * Parameters for the ConnectionChanged notification.
133
- */
134
- export class ConnectionChangedParams {
135
- /**
136
- * Owner URI of the connection that changed.
137
- */
138
- public ownerUri : string ;
139
-
140
- /**
141
- * Summary of details containing any connection changes.
142
- */
143
- public connection : types . ConnectionSummary ;
144
- }
145
-
146
131
/**
147
132
* Connection changed event callback declaration.
148
133
*/
149
134
export namespace ConnectionChangedNotification {
150
- export const type = new NotificationType < ConnectionChangedParams , void > ( 'connection/connectionchanged' ) ;
135
+ export const type = new NotificationType < azdata . ChangedConnectionInfo , void > ( 'connection/connectionchanged' ) ;
151
136
}
152
137
153
138
// ------------------------------- < Password Change for Connection Event > -------------------------------------
@@ -504,7 +489,7 @@ export namespace ScriptingRequest {
504
489
// ------------------------------- < Scripting Complete Event > ------------------------------------
505
490
506
491
export namespace ScriptingCompleteNotification {
507
- export const type = new NotificationType < types . ScriptingCompleteParams , void > ( 'scripting/scriptComplete' ) ;
492
+ export const type = new NotificationType < azdata . ScriptingCompleteResult , void > ( 'scripting/scriptComplete' ) ;
508
493
}
509
494
510
495
@@ -586,38 +571,38 @@ export namespace EditSubsetRequest {
586
571
// ------------------------------- < Object Explorer Events > ------------------------------------
587
572
588
573
export namespace ObjectExplorerCreateSessionRequest {
589
- export const type = new RequestType < azdata . ConnectionInfo , types . CreateSessionResponse , void , void > ( 'objectexplorer/createsession' ) ;
574
+ export const type = new RequestType < azdata . ConnectionInfo , azdata . ObjectExplorerSessionResponse , void , void > ( 'objectexplorer/createsession' ) ;
590
575
}
591
576
592
577
export namespace ObjectExplorerExpandRequest {
593
- export const type = new RequestType < types . ExpandParams , boolean , void , void > ( 'objectexplorer/expand' ) ;
578
+ export const type = new RequestType < azdata . ExpandNodeInfo , boolean , void , void > ( 'objectexplorer/expand' ) ;
594
579
}
595
580
596
581
export namespace ObjectExplorerRefreshRequest {
597
- export const type = new RequestType < types . ExpandParams , boolean , void , void > ( 'objectexplorer/refresh' ) ;
582
+ export const type = new RequestType < azdata . ExpandNodeInfo , boolean , void , void > ( 'objectexplorer/refresh' ) ;
598
583
}
599
584
600
585
export namespace ObjectExplorerCloseSessionRequest {
601
- export const type = new RequestType < types . CloseSessionParams , types . CloseSessionResponse , void , void > ( 'objectexplorer/closesession' ) ;
586
+ export const type = new RequestType < azdata . ObjectExplorerCloseSessionInfo , azdata . ObjectExplorerCloseSessionResponse , void , void > ( 'objectexplorer/closesession' ) ;
602
587
}
603
588
604
589
export namespace ObjectExplorerFindNodesRequest {
605
- export const type = new RequestType < types . FindNodesParams , types . FindNodesResponse , void , void > ( 'objectexplorer/findnodes' ) ;
590
+ export const type = new RequestType < azdata . FindNodesInfo , azdata . ObjectExplorerFindNodesResponse , void , void > ( 'objectexplorer/findnodes' ) ;
606
591
}
607
592
608
593
// ------------------------------- < Object Explorer Events > ------------------------------------
609
594
610
595
611
596
export namespace ObjectExplorerCreateSessionCompleteNotification {
612
- export const type = new NotificationType < types . SessionCreatedParameters , void > ( 'objectexplorer/sessioncreated' ) ;
597
+ export const type = new NotificationType < azdata . ObjectExplorerSession , void > ( 'objectexplorer/sessioncreated' ) ;
613
598
}
614
599
615
600
export namespace ObjectExplorerSessionDisconnectedNotification {
616
- export const type = new NotificationType < types . SessionDisconnectedParameters , void > ( 'objectexplorer/sessiondisconnected' ) ;
601
+ export const type = new NotificationType < azdata . ObjectExplorerSession , void > ( 'objectexplorer/sessiondisconnected' ) ;
617
602
}
618
603
619
604
export namespace ObjectExplorerExpandCompleteNotification {
620
- export const type = new NotificationType < types . ExpandResponse , void > ( 'objectexplorer/expandCompleted' ) ;
605
+ export const type = new NotificationType < azdata . ObjectExplorerExpandInfo , void > ( 'objectexplorer/expandCompleted' ) ;
621
606
}
622
607
623
608
// ------------------------------- < Task Service Events > ------------------------------------
0 commit comments