IQSS / IQSS/dataverse-client-javascript
Return file info in `GetPrivateUrlDataset` use case
未关闭
适合新手
还没有人认领这个 Issue。
- 主要语言
- TypeScript
- 星标
- 20
- 派生
- 11
- 平均合并
- 2 天 5 小时
- 30 天内合并 PR
- 1
描述
The dataverse API for retrieving a dataset using a private URL /api/datasets/privateUrlDatasetVersion/... returns information about dataset files, but the transformer used by the GetPrivateUrlDataset use case doesn't transform it, so it's not returned:
It would be useful to receive the file info from that use case.
Should the use case/transformer be extended? If yes, I'd be open to creating a PR for that.
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
从 src/datasets/infra/repositories/DatasetsRepository.ts 中 issue 引用的 GetPrivateUrlDataset transformer 开始。检查 private URL dataset 响应是如何转换的,以及文件信息在其他地方是如何处理的。当 use case 返回 API 提供的 dataset 文件信息时,即表示完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- typescript
- 领域
- api
- Issue 类型
- 缺陷
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 活跃度
- 冷清
- 描述清晰度
- 基本清楚
- 新手友好度
- 72/100