HomePhabricator
Diffusion Comm c4c90c74e72c

[web] Update gRPC-web generated files

Description

[web] Update gRPC-web generated files

Summary:
Updated gRPC-web code generated files to match changes made in this stack up to this diff.

Most of the changes were related to moving RPCs from one proto to the other, so I approached this by opening existing Flow files side-by-side with newly-generated TypeScript files and comparing structural changes (e.g. added/moved types).
Because most of the changes in the prior stack are simple movements between protos, some definitions were possible to be moved here too with only minor changes.

Full list of changes:

  • Added FindUserID proto, with request and response types
  • Deleted UploadOneTimeKeys and its types from unauth proto (it was previously in both protos)
  • Moved Delete and Logout RPCs to the auth proto
    • The Request objects are not necessary so replaced them with Empty (contents of former requests are now in auth metadata)
  • Moved GetOutboundKeysForUser to the auth proto.
    • Partially the types were already there because of keyserver keys endpoints
  • Moved GetInboundKeysForUser to the auth proto along with its types, though they internally use PreKey and IdentityKeyInfo from the unauth proto
  • Moved UpdateUserPassword RPCs along with its types to the auth proto

Depends on D10053

Test Plan:
Ran flow to make sure there are no errors.
Also repeated test plan of D9792

Reviewers: ashoat, varun

Reviewed By: ashoat, varun

Subscribers: tomek

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

Details

Provenance
bartekAuthored on Nov 28 2023, 4:15 AM
Reviewer
ashoat
Differential Revision
D10064: [web] Update gRPC-web generated files
Parents
rCOMMe1057a8f9e50: [identity] Modify FindUserID response to respect reserved_usernames
Branches
Unknown
Tags
Unknown