17 lines
730 B
TypeScript
17 lines
730 B
TypeScript
import type { Payload } from 'payload';
|
|
type Props = {
|
|
/** Injected by Payload into admin server components. */
|
|
payload?: Payload;
|
|
/** Status groups to check: field name → label. */
|
|
checks?: Record<string, string>;
|
|
/** Admin route, for the link. Default '/admin'. */
|
|
adminRoute?: string;
|
|
};
|
|
/**
|
|
* Dashboard alert (admin.components.beforeDashboard): lists integrations that
|
|
* are currently failing, with a link to Site Integrations. Renders nothing when
|
|
* everything is fine — and never throws (DB not ready → nothing).
|
|
*/
|
|
export declare function IntegrationAlerts({ payload, checks, adminRoute }: Props): Promise<import("react/jsx-runtime").JSX.Element | null>;
|
|
export default IntegrationAlerts;
|