Files
ipal-kit/dist/modules/forms/formsPluginConfig.d.ts
T
2026-08-03 12:24:28 +02:00

12 lines
522 B
TypeScript

import type { Plugin } from 'payload';
import type { FormsOption } from './types.js';
/**
* Configures @payloadcms/plugin-form-builder from IPAL's FormsOption.
*
* Provides the form/form-submissions collections and field types. Email
* delivery is intentionally NOT handled here — the plugin's own SMTP-from-panel
* sender (submitForm) does that, so the form-builder's built-in email (which
* needs a Payload email adapter) is left unused.
*/
export declare function buildFormsPlugin(forms: FormsOption): Plugin;