ArgElementFragmentV1
The supported value-axis fields of an entries arg's elementSchema.
Entry values have a codec, constraints, path checks, and a value hint. They do not independently declare sources, presence, metadata, collections, or another key-value layer.
- Import:
@kjanat/dreamcli - Export kind: type
- Declared in:
src/core/json-schema/index.ts - Source link:
src/core/json-schema/index.ts:279
Signatures
ts
type ArgElementFragmentV1 = unknown;Members
Properties
enumValues
ts
enumValues?: readonly string[];kind
ts
kind: Exclude<ArgKind, "keyValue">;numberConstraints
ts
numberConstraints?: NumberConstraints;pathChecks
ts
pathChecks?: FlagPathChecksFragmentV1;presence
Entry values are required once their containing key-value argument is present.
ts
presence: "required";stringConstraints
ts
stringConstraints?: FlagStringConstraintsFragmentV1;valueHint
ts
valueHint?: string;