Display Wrapstodon inline widget (#37106)

This commit is contained in:
Echo authored and GitHub committed 2025-12-03 13:58:38 +00:00
1 parent 234990cc37
commit e5e3a64a9b
11 files changed
+252 -13

No files matched your search

@@ -37,8 +37,30 @@ interface AnnualReportV1 {
archetype: Archetype;
}
export interface AnnualReport {
year: number;
schema_version: number;
data: AnnualReportV1;
interface AnnualReportV2 {
archetype: Archetype;
time_series: TimeSeriesMonth[];
top_hashtags: NameAndCount[];
top_statuses: TopStatuses;
most_used_apps: NameAndCount[];
type_distribution: {
total: number;
reblogs: number;
replies: number;
standalone: number;
};
}
export type AnnualReport = {
year: number;
} & (
| {
schema_version: 1;
data: AnnualReportV1;
}
| {
schema_version: 2;
data: AnnualReportV2;
share_url: string | null;
}
);