20 lines
826 B
TypeScript
20 lines
826 B
TypeScript
import type { Field, GlobalConfig } from 'payload';
|
|
type BuildSiteIntegrationsArgs = {
|
|
/** Extra fields injected by the client project */
|
|
additionalFields?: Field[];
|
|
};
|
|
/**
|
|
* Builds the SiteIntegrations global.
|
|
*
|
|
* Holds third-party service credentials. Access is enforced at the global
|
|
* level — the whole global requires an authenticated user — so secrets stay
|
|
* out of anonymous API responses while remaining editable in the admin panel
|
|
* and readable via the server-side Local API. (Field-level read:false was
|
|
* avoided because it also hides fields from the admin UI, making them
|
|
* impossible to enter.)
|
|
*
|
|
* Unnamed tabs keep data flat (siteIntegrations.ga4MeasurementId).
|
|
*/
|
|
export declare function buildSiteIntegrations({ additionalFields, }?: BuildSiteIntegrationsArgs): GlobalConfig;
|
|
export {};
|