HomePhabricator
Diffusion Comm 375f45edc017

[lib] Unify duplicated avatar tcomb validators

Description

[lib] Unify duplicated avatar tcomb validators

Summary:
Noticed that we had two duplicated validators for avatar types. This diff unifies them, and opts for the more specific validator where there were differences (in just one case).

Depends on D8146

Test Plan: Flow

Reviewers: ginsu, atul

Reviewed By: atul

Subscribers: tomek

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

Details

Provenance
ashoatAuthored on Jun 7 2023, 11:03 AM
Reviewer
atul
Differential Revision
D8147: [lib] Unify duplicated avatar tcomb validators
Parents
rCOMM5423a97b4deb: [lib] Use RegExp.source instead of RegExp.toString() in emojis.js
Branches
Unknown
Tags
Unknown