Add and tweak Github registry types
This commit is contained in:
parent
5f079b1958
commit
33ed6b4af2
@ -15,6 +15,19 @@ export interface GithubChainRegistryItem {
|
||||
};
|
||||
}
|
||||
|
||||
export interface GithubTreeItem {
|
||||
readonly path: string;
|
||||
readonly mode: string;
|
||||
readonly type: string;
|
||||
readonly sha: string;
|
||||
readonly size: number;
|
||||
readonly url: string;
|
||||
}
|
||||
|
||||
export interface GithubTreesResponse {
|
||||
readonly tree: readonly GithubTreeItem[];
|
||||
}
|
||||
|
||||
export interface RegistryChainApisRpc {
|
||||
readonly address: string;
|
||||
readonly provider: string;
|
||||
@ -43,12 +56,17 @@ export interface RegistryChainFees {
|
||||
}
|
||||
|
||||
export interface RegistryChain {
|
||||
readonly apis: RegistryChainApis;
|
||||
readonly apis?: RegistryChainApis;
|
||||
readonly bech32_prefix: string;
|
||||
readonly chain_id: string;
|
||||
readonly chain_name: string;
|
||||
readonly explorers: readonly RegistryChainExplorer[];
|
||||
readonly fees: RegistryChainFees;
|
||||
readonly fees?: RegistryChainFees;
|
||||
readonly pretty_name: string;
|
||||
readonly logo_URIs?: {
|
||||
readonly png?: string;
|
||||
readonly svg?: string;
|
||||
};
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Loading…
Reference in New Issue
Block a user