forked from microsoft/vscode-pull-request-github
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomment.ts
More file actions
31 lines (28 loc) · 832 Bytes
/
Copy pathcomment.ts
File metadata and controls
31 lines (28 loc) · 832 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import { DiffHunk } from './diffHunk';
export interface User {
id: string;
login: string;
avatar_url: string;
}
export interface Comment {
url: string;
id: string;
path: string;
pull_request_review_id: number;
diff_hunk: string;
diff_hunks: DiffHunk[];
position: number;
original_position: number;
commit_id: string;
original_commit_id: string;
user: User;
body: string;
created_at: string;
updated_at: string;
html_url: string;
absolutePosition?: number;
}