feat: build dashboard reporting #1
@@ -23,7 +23,7 @@
|
|||||||
|
|
||||||
<MetricCards metrics={data.metrics} monthLabel={data.meta.monthLabel} {formatMoney} />
|
<MetricCards metrics={data.metrics} monthLabel={data.meta.monthLabel} {formatMoney} />
|
||||||
|
|
||||||
<div class="grid gap-4 xl:grid-cols-[minmax(0,1.15fr)_minmax(360px,0.85fr)]">
|
<div class="grid gap-4 xl:grid-cols-2">
|
||||||
<BillingTrend records={data.billingTrend} {formatMoney} />
|
<BillingTrend records={data.billingTrend} {formatMoney} />
|
||||||
<RoomSummary metrics={data.metrics} summary={data.roomSummary} />
|
<RoomSummary metrics={data.metrics} summary={data.roomSummary} />
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Vendored
+4
-1
@@ -1,8 +1,11 @@
|
|||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
// Generated by Wrangler by running `wrangler types` (hash: 4f9fe9ddb2ea1e2c41e1be5910da8551)
|
// Generated by Wrangler by running `wrangler types` (hash: 61c64c9cd1c2465ff3a92bc5ac82d57d)
|
||||||
// Runtime types generated with workerd@1.20260521.1 2026-05-23 nodejs_als
|
// Runtime types generated with workerd@1.20260521.1 2026-05-23 nodejs_als
|
||||||
interface __BaseEnv_Env {
|
interface __BaseEnv_Env {
|
||||||
ASSETS: Fetcher;
|
ASSETS: Fetcher;
|
||||||
|
DATABASE_URL: string;
|
||||||
|
ORIGIN: string;
|
||||||
|
BETTER_AUTH_SECRET: string;
|
||||||
}
|
}
|
||||||
declare namespace Cloudflare {
|
declare namespace Cloudflare {
|
||||||
interface Env extends __BaseEnv_Env {}
|
interface Env extends __BaseEnv_Env {}
|
||||||
|
|||||||
Reference in New Issue
Block a user