GRANULARITY_DESCRIPTORS
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production.
Canonical registry of every DateAttributeGranularity.
GRANULARITY_DESCRIPTORS: Record<DateAttributeGranularity, IGranularityDescriptor>
Remarks
Keyed on the full union so that adding a new granularity to DateAttributeGranularity is a compile error here until its descriptor is provided — the registry is the single point that must be extended.