EN

@core / kit-cms

1.0.3 ▾
verifiedMIT
GitHub

Self-managed website kit for Next.js: /admin to edit pages with blocks, media, menus, settings, forms and users

Code39 filesContext~2K tokensscan passed

The exact tree that will be injected, after .genpmignore. Pinned to

src/app/(cms)/_templates/genpm/forms.tsread-only · e44820b
// Formularios definidos en código. Los editores también pueden crearlos en el panel (Formularios).
import { z } from 'zod';
import { defineForm } from '@/lib/forms';

defineForm({
  key: 'contact',
  label: 'Contact',
  schema: z.object({ name: z.string().trim().min(1).max(120), email: z.email(), message: z.string().trim().min(5).max(5000) }),
  emailField: 'email',
  // Texto pendiente de revisar por el titular del sitio: enlaza a su política de privacidad real.
  consent: { required: true, version: '2026-10', text: 'I have read the privacy policy and agree to be contacted about my request.' },
});

Report @core/kit-cms

Sign in with GitHub to report a package.