Skip to content

ContingentValueEntry

ContingentValueEntry = { codedValue: { code: unknown; name: string; }; fieldGroupName: string; type: "coded"; } | { fieldGroupName: string; max: unknown; min: unknown; type: "range"; } | { fieldGroupName: string; type: "null"; } | { fieldGroupName: string; type: "any"; }

Defined in: src/ExpoArcgis.types.ts:536

One valid contingent value entry, discriminated by type:

  • "coded" — a specific coded-value domain entry is valid; codedValue.code is the domain code.
  • "range" — any numeric value in [min, max] is valid.
  • "null" — a null / empty value is explicitly allowed for this field.
  • "any" — any value is allowed (corresponds to ContingentAnyValue).

fieldGroupName identifies which contingent-values field group this constraint belongs to, allowing callers to match constraints to the group they were defined under.