- Forms: step and checkboxGroup field types (radio, date on), server validation for them, useBuilderForm (logic) + BuilderForm (unstyled default) + RenderForm (/rsc: rich text, bound action, public part of the form only — the Emails tab never reaches the browser) - Notifications: next / back / stepOf texts - createContentHelpers: getSiteShell, getFormTexts, getLinkOptions, resolveLink, resolveNav, resolvePageRedirect, one-line route handlers (llms, llms-full, md, mcp, health, indexnow, manifest) - /rsc: SiteProviders, createPageRoute, createNotFoundPage - resolveLink / resolveNav / homeSlugFrom, buildSectionHeaderField / buildSectionSettingsField - Dev sandbox frontend built on these imports; tests (unit + real Payload) Co-Authored-By: Claude Opus 5.5 <[email protected]>
8 lines
253 B
TypeScript
8 lines
253 B
TypeScript
'use server'
|
|
import { headers } from 'next/headers.js'
|
|
import { createSubmitAction } from '@intecion/ipal-kit/server'
|
|
|
|
import { getCachedPayload } from '../../../lib/content.js'
|
|
|
|
export const sendForm = createSubmitAction({ getCachedPayload, headers })
|