From 108b469cbb09f911c9a52d4134a504d9b51ac30d Mon Sep 17 00:00:00 2001 From: HampusM Date: Wed, 11 Aug 2021 12:59:23 +0200 Subject: Implemented gpg signed commit support --- packages/api/src/commit.d.ts | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'packages/api/src/commit.d.ts') diff --git a/packages/api/src/commit.d.ts b/packages/api/src/commit.d.ts index 6eb598c..0a76f8a 100644 --- a/packages/api/src/commit.d.ts +++ b/packages/api/src/commit.d.ts @@ -18,9 +18,13 @@ export type Patch = { too_large: boolean, hunks: Hunk[] } +export interface CommitAuthor extends Author { + fingerprint: string | null +} export interface Commit { message: string, - author: Author, + author: CommitAuthor, + isSigned: boolean, date: number, insertions: number, deletions: number, @@ -30,10 +34,8 @@ export interface Commit { export type LogCommit = { id: string, - author: { - name: string, - email: string - }, + author: CommitAuthor, + isSigned: boolean, message: string, date: number, insertions: number, -- cgit v1.2.3-18-g5258