Files
ipal-kit/docs/agent/skills/iapl-form/resources/actions.ts
T
Radosław SmolińskiandClaude Fable 5.2 b91984fbcd IAPL rename: docs, agent guide, skills, reference site and starter on the new names; changelog draft
- docs, AGENT.md, the 16 skills, PROGRAMISTA and README use the preferred names (scripted, same list of forms);
  past CHANGELOG entries and the proposals in docs/dev are not rewritten
- AGENT.md: 'Names: IAPL and ipal-kit' — old name, new name, state in 1.x; what is not renamed; storageNames
- iapl-upgrade '→ 1.17.0', PROGRAMISTA §6 item 72, CHANGELOG 1.17.0 (draft): nothing required
- env.md, doctor.md (legacy-names, storage-names), stats.md, security.md, project-starter.md, iapl-reference, iapl-setup
- skill scripts read ipal-audit-skip and IPAL_IP_HEADER too; audit rule ids stay what they were
- reference site: iapl(), iapl-doctor.json, iapl-* skills, storageNames: 'iapl'; INDEX.md regenerated

Co-Authored-By: Claude Fable 5.2 <[email protected]>
2026-11-25 17:36:09 +01:00

10 lines
487 B
TypeScript

// src/app/(frontend)/[locale]/actions.ts — ONE server action for every builder form.
// honeypot → client IP (IAPL_IP_HEADER) → submitForm (rate limit, Turnstile,
// validation, GDPR consent, storage) → visitor message from Notifications.
'use server'
import { headers } from 'next/headers'
import { createSubmitAction } from '@intecion/ipal-kit/server'
import { getCachedPayload } from '@/lib/content'
export const sendForm = createSubmitAction({ getCachedPayload, headers })