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 { // 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 []; }