Add UI for viewing and changing trust setting in repo
This commit is contained in:
parent
dec14647a8
commit
14054a237a
7 changed files with 161 additions and 23 deletions
|
@ -79,6 +79,7 @@ export type Repository = {
|
|||
private: boolean;
|
||||
url: string;
|
||||
namespace?: string;
|
||||
trust_enabled: boolean;
|
||||
}
|
||||
|
||||
|
||||
|
@ -101,4 +102,29 @@ export type Namespace = {
|
|||
export type Trigger = {
|
||||
id: number;
|
||||
service: any;
|
||||
};
|
||||
|
||||
/**
|
||||
* Represents an apostille signature document, with extra expiration information.
|
||||
*/
|
||||
export type ApostilleSignatureDocument = {
|
||||
// When the signed document expires.
|
||||
expiration: string
|
||||
|
||||
// Object of information for each tag.
|
||||
tags: {string: ApostilleTagDocument}
|
||||
|
||||
// If true, an error occurred while trying to load this document.
|
||||
error: boolean
|
||||
};
|
||||
|
||||
/**
|
||||
* An apostille document containing signatures for a tag.
|
||||
*/
|
||||
export type ApostilleTagDocument = {
|
||||
// The length of the document.
|
||||
length: number
|
||||
|
||||
// The hashes for the tag.
|
||||
hashes: {string: string}
|
||||
};
|
Reference in a new issue