Display Wrapstodon inline widget (#37106)
This commit is contained in:
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;
|
||||
}
|
||||
);
|
||||
Reference in new issue
Block a user