trustwallet-assets/src/test/models.ts
Mykola 75136431f4
Mykola/add username prop (#1091)
* Add nested-property for easy work with objects

* Add infoList interface

* Modify and run script  to gen new "username" property

* Add "username" prop for all coins

* Optimised images with calibre/image-actions

* Optimised images with calibre/image-actions

* Rename username -> handle

* Rename username -> handle

* Optimised images with calibre/image-actions

* rename

* Update handle

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2020-01-28 12:55:19 -08:00

36 lines
560 B
TypeScript

export interface ValidatorModel {
id: string,
name: string,
description: string,
website: string,
}
export interface InfoList {
name: string;
website: string;
source_code: string;
whitepaper: string;
explorers: Explorer[];
socials: Social[];
details: Detail[];
data_source: string;
}
interface Detail {
language: string;
description: string;
}
interface Social {
name: string;
url: string;
handle: string;
}
interface Explorer {
name: string;
url: string;
}