mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-16 09:35:36 -05:00
Profiler notifications (#1648)
* adding lost events flag to events available notification * Initial changes to support notifications for stopped session and lost events * Updated localized strings & send stop notification box * reordering imports * vbump sqltools & dataprotocolclient, fix notification wording
This commit is contained in:
committed by
GitHub
parent
e686fed209
commit
520cfb780a
10
src/sql/sqlops.d.ts
vendored
10
src/sql/sqlops.d.ts
vendored
@@ -1409,6 +1409,7 @@ declare module 'sqlops' {
|
||||
disconnectSession(sessionId: string): Thenable<boolean>;
|
||||
|
||||
registerOnSessionEventsAvailable(handler: (response: ProfilerSessionEvents) => any): void;
|
||||
registerOnSessionStopped(handler: (response: ProfilerSessionStoppedParams) => any): void;
|
||||
}
|
||||
|
||||
export interface IProfilerTableRow {
|
||||
@@ -1449,6 +1450,15 @@ declare module 'sqlops' {
|
||||
sessionId: string;
|
||||
|
||||
events: ProfilerEvent[];
|
||||
|
||||
eventsLost: boolean;
|
||||
}
|
||||
|
||||
export interface ProfilerSessionStoppedParams {
|
||||
|
||||
ownerUri: string;
|
||||
|
||||
sessionId: number;
|
||||
}
|
||||
|
||||
// File browser interfaces -----------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user