Improve type-safety in data storage
Open
- Dominant language
- Scala
- Stars
- 301
- Forks
- 76
- PR merge metrics
- No merged PRs in 30d
Description
1. Improve the type interface for the `files` object in `DataPanel` to include path:
```
files.push({
...item,
// @ts-ignore
path: getPathForChildResource(resource, item),
_self: resource._self ?? item._self,
resourceId: resource['@id'],
});
```
2. Remove `@ts-ignore` comments. (except the ones for "Error". We have to update ts for that).
3. Add "distribution" as a field of "Resource" in nexus sdk
Contributor guide
Assessment
This issue has not been assessed yet.