Page MenuHomePhabricator

[keyserver] Introduce `OLMUtility` type
ClosedPublic

Authored by atul on Feb 27 2023, 1:39 PM.
Tags
None
Referenced Files
F2132649: D6900.id23187.diff
Thu, Jun 27, 11:50 PM
Unknown Object (File)
Tue, Jun 25, 11:03 PM
Unknown Object (File)
Mon, Jun 24, 7:07 PM
Unknown Object (File)
Mon, Jun 24, 10:31 AM
Unknown Object (File)
Sun, Jun 23, 3:04 PM
Unknown Object (File)
Fri, Jun 21, 12:38 PM
Unknown Object (File)
Mon, Jun 17, 11:09 PM
Unknown Object (File)
Mon, Jun 17, 11:09 PM
Subscribers
None

Details

Summary

The getOLMUtility() function we introduce is going to need to return Promise<OLMUtility>.

Based on the TypeScript typedefs:

fe511b.png (500×3 px, 196 KB)

Test Plan

Will be tested implicitly by subsequent diffs.

Diff Detail

Repository
rCOMM Comm
Branch
master
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

The index.d.ts is pretty short (130 characters lines), might be worth typing the library since I imagine we're going to use it quite a bit going forward. Not going to create a task at the moment, I think it'll be clear when we need to do it.

https://linear.app/comm/issue/ENG-3138/type-olm-library-for-flow

atul published this revision for review.Feb 27 2023, 1:42 PM
This revision is now accepted and ready to land.Feb 27 2023, 1:45 PM
This revision was landed with ongoing or failed builds.Feb 27 2023, 3:16 PM
This revision was automatically updated to reflect the committed changes.