show signature key on changeset

This commit is contained in:
Eduard Heimbuch
2020-07-28 17:52:20 +02:00
parent 0c45cf21e3
commit b22ead23de
37 changed files with 806 additions and 385 deletions

View File

@@ -33,6 +33,7 @@ export type Changeset = Collection & {
author: Person;
description: string;
contributors?: Contributor[];
signatures?: Signature[];
_links: Links;
_embedded: {
tags?: Tag[];
@@ -41,6 +42,14 @@ export type Changeset = Collection & {
};
};
export type Signature = {
keyId: string;
type: string;
status: "VERIFIED" | "NOT_FOUND" | "INVALID";
owner: string;
contacts: string[];
}
export type Contributor = {
person: Person;
type: string;