HomePhabricator
Diffusion Comm 9564d2eed1d3

[lib] Introduce `MinimallyEncodedThreadInfo` type

Description

[lib] Introduce MinimallyEncodedThreadInfo type

Summary:
We need corresponding MinimallyEncodedThreadInfo for MinimallyEncodedRawThreadInfo. The only really relevant difference between the two is that MinimallyEncodedThreadInfo has $ReadOnlyArray<MinimallyEncodedRelativeMemberInfo> in members field instead of $ReadOnlyArray<MinimallyEncodedMemberInfo>.


Depends on D9845

Test Plan: Flow. Earlier in the stack I was writing unit tests for all of these, but I think the value of unit tests for these is questionable. Will defer for now and consider writing at the end.

Reviewers: ashoat, ginsu, tomek, rohan

Reviewed By: ashoat

Differential Revision: https://phab.comm.dev/D9846

Details

Provenance
atulAuthored on Nov 13 2023, 2:16 PM
Reviewer
ashoat
Differential Revision
D9846: [lib] Introduce `MinimallyEncodedThreadInfo` type
Parents
rCOMM561705347d2c: [lib] Update `threadHasPermission` to "go through" `permissionLookup`
Branches
Unknown
Tags
Unknown