Port BaseResource (and extra data helpers) to spina.
Review Request #13003 — Created May 3, 2023 and submitted
This change ports the
BaseResource
class to spina and TypeScript. Along
with it comes theExtraData
model andExtraDataMixin
.
- Ran js-tests.
- Went through and tested various bits of functionality on the site.
Summary | ID |
---|---|
65dd33ca309bb545121bdb593c6a87dbb58fa3c7 |
Description | From | Last Updated |
---|---|---|
Probably should be unknown instead of any. (any is a last-resort with no type checking, but unknown has some basic … |
chipx86 | |
Should probably be unknown. |
chipx86 | |
Here, too. |
chipx86 | |
Probably should use unknown, unless there are problems. Same below. |
chipx86 | |
This feels strangely wrapped. Can we pull this out into a variable and then check that result? |
chipx86 | |
We can document options as being SaveWithFilesOptions and remove the Option Args now. Same with others. |
chipx86 | |
Same comment as on another change: If we have unit tests include things relatively, we can more easily test without … |
chipx86 |
-
-
Probably should be
unknown
instead ofany
. (any
is a last-resort with no type checking, butunknown
has some basic type checking). -
-
-
-
-
We can document
options
as beingSaveWithFilesOptions
and remove theOption Args
now. Same with others. -
Same comment as on another change: If we have unit tests include things relatively, we can more easily test without needing things to live in
RB
(which will happen during compilation), and we can eventually even treeshake the tests.
- Commits:
-
Summary ID f596bc50b057b5984481561766da38c686a7673b 65dd33ca309bb545121bdb593c6a87dbb58fa3c7 - Diff:
-
Revision 2 (+988 -512)