Files
HiveGrid-Wireframes/03 Quellen und Referenzen/hivegrid-cloud/apps/web/app/utils/services/appDashboardService.ts
T
2026-07-08 16:15:37 +02:00

19 lines
511 B
TypeScript

import { TFunction } from "i18next";
import { Stat } from "~/application/dtos/stats/Stat";
import { TenantSimple } from "../db/tenants.db.server";
export async function getAppDashboardStats({
tenant,
}: {
t: TFunction;
tenant: TenantSimple | null;
gte: Date | undefined;
}): Promise<Stat[]> {
// Entity/row-based dashboard stats were produced by the generic entity-builder,
// which has been removed. There are no entity stats to compute anymore.
if (!tenant) {
return [];
}
return [];
}