'use strict' ; import { NotificationType } from 'vscode-languageclient' ; export namespace CommandIds { export const showOutput = 'deepscan.showOutputView' ; } export enum Status { none = 0 , ok = 1 , warn = 2 , fail = 3 } export enum DiagnosticSeverity { Error = 0 , Warning = 1 , Information = 2 } export interface Suggestion { startLine : number ; startChar : number ; endLine : number ; endChar : number ; message : string ; severity : number ; } export interface StatusParams { state : Status ; message : string ; uri : string ; suggestions : Suggestion [ ] ; } export namespace StatusNotification { export const type = new NotificationType < StatusParams , void > ( 'deepscan/status' ) ; }