type alias FieldCoders

Map of host field names to the sub-coder that decodes/encodes that field's bytes. Used as the input to refineFields.

The element coder is Coder<any> so refiners with mixed inner-payload types compose without forcing the caller to widen each entry. The decoded value type for each field is recovered via DecodedFields.

Definition

Record<string, Coder<any>>

Usage

import { type FieldCoders } from "mod.ts";