📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!
TypeScript chartsclickhousedockergdprgoogle-analyticsmetricsmonitoringmysqlnestjsprivacyredisself-hostedselfhostedstatisticstailwindcssweb-analyticswebanalyticswebsite
fix knip
Blue Mouse6fddf9d2c136
diff --git a/web/app/api/api.server.ts b/web/app/api/api.server.tsindex 0b3452878..ed0fb78bf 100644--- a/web/app/api/api.server.ts+++ b/web/app/api/api.server.ts@@ -1,4 +1,3 @@-import { Alerts } from '~/lib/models/Alerts'import { Auth } from '~/lib/models/Auth'import { User } from '~/lib/models/User'import {@@ -1419,32 +1418,6 @@ export async function getGoalChartServer()}-// ============================================================================-// MARK: Alerts API (Deferred Loading)-// ============================================================================--export interface AlertsResponse {- results: Alerts[]- total: number-}--export async function getProjectAlertsServer(- request: Request,- projectId: string,- take = 25,- skip = 0,-): Promise<ServerFetchResult<AlertsResponse>> {- const params = new URLSearchParams({- take: String(take),- skip: String(skip),- })-- return serverFetch<AlertsResponse>(- request,- `alert/project/${projectId}?${params.toString()}`,- )-}-// ============================================================================// MARK: Funnels API (Deferred Loading)// ============================================================================