From 9b59e182d5cf8fc100cea492b07a3f65dc91ed0e Mon Sep 17 00:00:00 2001 From: Jason Luong Date: Mon, 23 Oct 2023 17:47:23 +0100 Subject: [PATCH] feat: add oss interfaces --- src/snyk/snykOss/views/interfaces.ts | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 src/snyk/snykOss/views/interfaces.ts diff --git a/src/snyk/snykOss/views/interfaces.ts b/src/snyk/snykOss/views/interfaces.ts new file mode 100644 index 000000000..d87c88ccc --- /dev/null +++ b/src/snyk/snykOss/views/interfaces.ts @@ -0,0 +1,14 @@ +import * as vscode from 'vscode'; +import { Issue, OssIssueData } from '../../common/languageServer/types'; +import { IWebViewProvider } from '../../common/views/webviewProvider'; + +export interface IOssSuggestionWebviewProvider extends IWebViewProvider> { + openIssueId: string | undefined; +} + +export type OssIssueCommandArg = { + id: string; + folderPath: string; + filePath: string; + range: vscode.Range; +};