feat: integration/webhook counts in project overview

ProjectOverview gains integration_count + webhook_count (enabled only);
dashboard Resources list gets an Integrations row linking to the new
view. Covers the "dashboard widget if cheap" Phase 4 item.

Authored By: TDvorak <[email protected]>
This commit is contained in:
Tomas Dvorak committed 2026-09-16 19:18:15 +02:00
1 parent e25eb92339
commit 23186e38b8
8 files changed
+71 -2

No files matched your search

@@ -15,5 +15,13 @@ export type ProjectOverview = {
pending_invitation_count: number;
audit_events_24h: number;
last_audit_at?: string | null;
/**
* Connectors attached to the project.
*/
integration_count: number;
/**
* Enabled outbound webhooks.
*/
webhook_count: number;
};
@@ -62,5 +62,17 @@ export const $ProjectOverview = {
isNullable: true,
format: 'date-time',
},
integration_count: {
type: 'number',
description: `Connectors attached to the project.`,
isRequired: true,
format: 'int64',
},
webhook_count: {
type: 'number',
description: `Enabled outbound webhooks.`,
isRequired: true,
format: 'int64',
},
},
} as const;