BlueBrain / BlueBrain/nexus

Improve type-safety in data storage

Open
#3,902 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.