mirror of
https://github.com/status-im/MyCrypto.git
synced 2025-01-10 11:05:47 +00:00
574c628e61
* Add script to update tokens from ethereum-lists/tokens, commit output. * Force decimals to be integers. * Eth-lists-script Typescript (#1508) * Update scripts to handle collisions, and use typescript * Add comment on duplicateAddress validator * Lock dep on ts-node * Fix tsc errors * revert tokens update * make implicit anys
91 lines
1.5 KiB
TypeScript
91 lines
1.5 KiB
TypeScript
export interface Author {
|
|
name: string;
|
|
email: string;
|
|
date: Date;
|
|
}
|
|
|
|
export interface Committer {
|
|
name: string;
|
|
email: string;
|
|
date: Date;
|
|
}
|
|
|
|
export interface Tree {
|
|
sha: string;
|
|
url: string;
|
|
}
|
|
|
|
export interface Verification {
|
|
verified: boolean;
|
|
reason: string;
|
|
signature?: any;
|
|
payload?: any;
|
|
}
|
|
|
|
export interface Commit {
|
|
author: Author;
|
|
committer: Committer;
|
|
message: string;
|
|
tree: Tree;
|
|
url: string;
|
|
comment_count: number;
|
|
verification: Verification;
|
|
}
|
|
|
|
export interface Author2 {
|
|
login: string;
|
|
id: number;
|
|
avatar_url: string;
|
|
gravatar_id: string;
|
|
url: string;
|
|
html_url: string;
|
|
followers_url: string;
|
|
following_url: string;
|
|
gists_url: string;
|
|
starred_url: string;
|
|
subscriptions_url: string;
|
|
organizations_url: string;
|
|
repos_url: string;
|
|
events_url: string;
|
|
received_events_url: string;
|
|
type: string;
|
|
site_admin: boolean;
|
|
}
|
|
|
|
export interface Committer2 {
|
|
login: string;
|
|
id: number;
|
|
avatar_url: string;
|
|
gravatar_id: string;
|
|
url: string;
|
|
html_url: string;
|
|
followers_url: string;
|
|
following_url: string;
|
|
gists_url: string;
|
|
starred_url: string;
|
|
subscriptions_url: string;
|
|
organizations_url: string;
|
|
repos_url: string;
|
|
events_url: string;
|
|
received_events_url: string;
|
|
type: string;
|
|
site_admin: boolean;
|
|
}
|
|
|
|
export interface Parent {
|
|
sha: string;
|
|
url: string;
|
|
html_url: string;
|
|
}
|
|
|
|
export interface GitCommit {
|
|
sha: string;
|
|
commit: Commit;
|
|
url: string;
|
|
html_url: string;
|
|
comments_url: string;
|
|
author: Author2;
|
|
committer: Committer2;
|
|
parents: Parent[];
|
|
}
|