diff --git a/packages/frontend/src/pages/user/activity.following.vue b/packages/frontend/src/pages/user/activity.following.vue index 25a1edaca..1c7c991aa 100644 --- a/packages/frontend/src/pages/user/activity.following.vue +++ b/packages/frontend/src/pages/user/activity.following.vue @@ -77,6 +77,9 @@ async function renderChart() { barPercentage: 0.7, categoryPercentage: 0.7, fill: true, + /* @see + } satisfies ChartData, extra); + */ }, extra); } diff --git a/packages/frontend/src/pages/user/activity.heatmap.vue b/packages/frontend/src/pages/user/activity.heatmap.vue index 2dcb754c9..ada0166ed 100644 --- a/packages/frontend/src/pages/user/activity.heatmap.vue +++ b/packages/frontend/src/pages/user/activity.heatmap.vue @@ -113,6 +113,9 @@ async function renderChart() { const a = c.chart.chartArea ?? {}; return (a.bottom - a.top) / 7 - marginEachCell; }, + /* @see + }] satisfies ChartData[], + */ }], }, options: { diff --git a/packages/frontend/src/pages/user/activity.notes.vue b/packages/frontend/src/pages/user/activity.notes.vue index 63e1c76e0..8a946aeba 100644 --- a/packages/frontend/src/pages/user/activity.notes.vue +++ b/packages/frontend/src/pages/user/activity.notes.vue @@ -76,6 +76,9 @@ async function renderChart() { borderRadius: 4, barPercentage: 0.9, fill: true, + /* @see + } satisfies ChartData, extra); + */ }, extra); } diff --git a/packages/frontend/src/pages/user/activity.pv.vue b/packages/frontend/src/pages/user/activity.pv.vue index 1be495f41..0e9c581e1 100644 --- a/packages/frontend/src/pages/user/activity.pv.vue +++ b/packages/frontend/src/pages/user/activity.pv.vue @@ -77,6 +77,9 @@ async function renderChart() { barPercentage: 0.7, categoryPercentage: 0.7, fill: true, + /* @see + } satisfies ChartData, extra); + */ }, extra); } diff --git a/packages/frontend/src/scripts/achievements.ts b/packages/frontend/src/scripts/achievements.ts index c93e96859..25e8b71a1 100644 --- a/packages/frontend/src/scripts/achievements.ts +++ b/packages/frontend/src/scripts/achievements.ts @@ -443,13 +443,14 @@ export const ACHIEVEMENT_BADGES = { bg: 'linear-gradient(0deg, rgb(144, 224, 255), rgb(255, 168, 252))', frame: 'bronze', }, -/* +/* @see } as const satisfies Record; - */ } as const; + */ +} as const; export const claimedAchievements: typeof ACHIEVEMENT_TYPES[number][] = ($i && $i.achievements) ? $i.achievements.map(x => x.name) : [];