Skip to content

ShapeFields

Type: warmhub.ShapeFields

ShapeFields = Mapping[str, JsonValue]

A shape’s data.fields — the declaration side of shape validation.

TypeScript spells this ShapeFields = Record<string, unknown>. The Python alias is a Mapping rather than a dict because every consumer only reads it, and read-only makes the alias usable for a caller holding any mapping.