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:243
Signatures
ts
type FlagStringConstraintsFragmentV1 = { nonEmpty?: boolean; minLength?: number; maxLength?: number; pattern?: { source: string; flags: string; }; };Members
Members
nonEmpty
ts
nonEmpty?: boolean;minLength
ts
minLength?: number;maxLength
ts
maxLength?: number;pattern
ts
pattern?: { source: string; flags: string; };