FlagStringConstraintsFragmentV1
String constraints of a flag or arg fragment, with the pattern split into source and flags.
- Import:
@kjanat/dreamcli - Export kind: type
- Declared in:
src/core/json-schema/index.ts - Source link:
src/core/json-schema/index.ts:208
Signatures
ts
type FlagStringConstraintsFragmentV1 = unknown;Members
Properties
maxLength
ts
maxLength?: number;minLength
ts
minLength?: number;nonEmpty
ts
nonEmpty?: boolean;pattern
ts
pattern?: { flags: string; source: string; };