Skip to content

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.

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;

See Also

Released under the MIT License.