Port UserSession to spina.
Review Request #13005 — Created May 3, 2023 and submitted
This change ports over the UserSession and associated helpers to spina
and TypeScript.
- Ran js-tests.
- Tested review request starring, muting, and archiving, and group
starring.
Summary | ID |
---|---|
875b385029d310e99e16f818074155a90806870f |
Description | From | Last Updated |
---|---|---|
Oh, I thought we were keeping all these for another version? Same below. For obj and others, can we type … |
chipx86 | |
Can you document these? |
chipx86 | |
When possible, we should use unknown, which is intended to replace any and has some level of type checks. No … |
chipx86 | |
This applies to all tests, current and future. I think we want to use relative paths in tests, in order … |
chipx86 |
-
-
Oh, I thought we were keeping all these for another version? Same below.
For
obj
and others, can we type this to something? Whether a model or an interface or whatever. -
-
When possible, we should use
unknown
, which is intended to replaceany
and has some level of type checks. No idea if that's an option here. -
This applies to all tests, current and future.
I think we want to use relative paths in tests, in order to avoid these turning into
RB.UserSession
and such. Direct access means fewer things we have to export intoRB
(we can export it in the imported module, but don't have to put it inRB
just to test it).It also allows us to bundle in tested modules straight into the tests bundle and eventually avoid having to import all bundles into the test runner.
- Commits:
-
Summary ID 5c6e3c6ebd185639ff18c840b4f558ba028c42ff 875b385029d310e99e16f818074155a90806870f - Diff:
-
Revision 2 (+574 -500)