As part of refactoring keyserver/native/web, there are places where we need to replace RawThreadInfo with RawThreadInfo | MinimallyEncodedRawThreadInfo. However, both types currently have the exact same keys, so it's difficult to refine types without duplicating functions, "drilling down" minimallyEncoded boolean to downstream functions, etc.
Instead, we add minimallyEncoded discriminator property to allow for more precise type refinement b/w RawThreadInfo and MinimallyEncodedRawThreadInfo.