We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dfbe320 commit e3f5c11Copy full SHA for e3f5c11
1 file changed
packages/code-api/src/common/types.ts
@@ -81,6 +81,7 @@ export interface IRepositoryModel {
81
owner: string;
82
name: string;
83
commit: string;
84
+ ref?: string;
85
}
86
87
export interface CommitParams {
@@ -381,3 +382,22 @@ export interface ICodeAPIService {
381
382
export interface ICodeAPIServiceProvider extends ICodeAPIService {
383
initialize?(): void | Promise<void>;
384
385
+
386
+export interface GitlensBlame {
387
+ commit: {
388
+ author_email: string;
389
+ author_name: string;
390
+ authored_date: number;
391
+ committed_date: number;
392
+ id: string; // sha
393
+ message: string;
394
+ author: {
395
+ avatar_url: string;
396
+ };
397
398
+ lines: Array<{
399
+ current_number: number;
400
+ effect_line?: number;
401
+ previous_number?: number;
402
+ }>;
403
+}
0 commit comments