Normalize File types and improve request typings
In !17 (merged), I improved the typing of the login request. In this follow-up PR, I added typings for the remaining requests (namely: fetchFile
and fetchDirectory
).
I also reorganized a few things:
-
File
type was renamedBraggyFile
to avoid confusion with JS File (and associated TS type) - There were separate type declarations in
imageViewSlice
and infileBrowserSlice
that described the same objects (File
included). Now, both use common types. - These common types were put in
app/models
(renamed fromapp/types
for consistency) - Response types were moved in
client/models