Docs@skmtc/core

Enrichments

VARIABLE

lensInputModuleType

@skmtc/core 0.63.4

The standard lens/input module type: a candidate module fits a field when it accepts { lens: Lens<Normalize<FieldType>> } (react-hook-form lenses). __SlotNormalize mirrors what generated form code does with lens.focus(path).defined() - optional/nullable wrappers are stripped on primitives and made recursively optional on objects - so an optional string | undefined field still matches a Lens<string> input.

Pass as moduleSelect(lensInputModuleType). Generators with a custom binding (e.g. a table cell renderer taking { value: F }) declare their own export type XModule<F> = … source instead.

Signature

import { lensInputModuleType } from '@skmtc/core'

const lensInputModuleType: string