Add missing files
This commit is contained in:
parent
6498494e85
commit
05f22ce54f
|
@ -0,0 +1,8 @@
|
|||
/**
|
||||
* A Generic dictionary with the value of a specific type.
|
||||
*
|
||||
* Keys _must_ be strings.
|
||||
*/
|
||||
export interface Dictionary<T> {
|
||||
[Key: string]: T;
|
||||
}
|
|
@ -14,6 +14,7 @@ export type Account = {
|
|||
followers_count: number;
|
||||
following_count: number;
|
||||
statuses_count: number;
|
||||
last_status_at: string;
|
||||
note: string;
|
||||
url: string;
|
||||
avatar: string;
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
export type History = {
|
||||
day: string;
|
||||
uses: number;
|
||||
accounts: number;
|
||||
};
|
|
@ -1,4 +1,7 @@
|
|||
import { History } from "./History";
|
||||
|
||||
export type Tag = {
|
||||
name: string;
|
||||
url: string;
|
||||
history?: [History];
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue