mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-11-22 18:48:06 +01:00
44 lines
769 B
TypeScript
44 lines
769 B
TypeScript
export interface Percentiles {
|
|
followers: number;
|
|
statuses: number;
|
|
}
|
|
|
|
export interface NameAndCount {
|
|
name: string;
|
|
count: number;
|
|
}
|
|
|
|
export interface TimeSeriesMonth {
|
|
month: number;
|
|
statuses: number;
|
|
following: number;
|
|
followers: number;
|
|
}
|
|
|
|
export interface TopStatuses {
|
|
by_reblogs: number;
|
|
by_favourites: number;
|
|
by_replies: number;
|
|
}
|
|
|
|
export type Archetype =
|
|
| 'lurker'
|
|
| 'booster'
|
|
| 'pollster'
|
|
| 'replier'
|
|
| 'oracle';
|
|
|
|
interface AnnualReportV1 {
|
|
most_used_apps: NameAndCount[];
|
|
percentiles: Percentiles;
|
|
top_hashtags: NameAndCount[];
|
|
top_statuses: TopStatuses;
|
|
time_series: TimeSeriesMonth[];
|
|
archetype: Archetype;
|
|
}
|
|
|
|
export interface AnnualReport {
|
|
year: number;
|
|
schema_version: number;
|
|
data: AnnualReportV1;
|
|
}
|