Page MenuHomePhabricator

[keyserver] Introduce `OLMUtility` type
ClosedPublic

Authored by atul on Feb 27 2023, 1:39 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Mar 9, 9:37 PM
Unknown Object (File)
Sun, Mar 2, 8:58 PM
Unknown Object (File)
Jan 30 2025, 9:07 AM
Unknown Object (File)
Jan 17 2025, 2:43 PM
Unknown Object (File)
Jan 9 2025, 11:46 AM
Unknown Object (File)
Jan 7 2025, 1:35 AM
Unknown Object (File)
Jan 7 2025, 1:35 AM
Unknown Object (File)
Jan 7 2025, 1:35 AM
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
arcpatch-D6900 (branched from 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.