nexus
nexus copied to clipboard
Improve type-safety in data storage
- Improve the type interface for the
filesobject inDataPanelto include path:
files.push({
...item,
// @ts-ignore
path: getPathForChildResource(resource, item),
_self: resource._self ?? item._self,
resourceId: resource['@id'],
});
- Remove
@ts-ignorecomments. (except the ones for "Error". We have to update ts for that). - Add "distribution" as a field of "Resource" in nexus sdk