Closed SalihuDickson closed 3 weeks ago
This PR improves TypeScript support by enhancing property decorators and adding comprehensive JSDoc documentation. The changes focus on adding the reflect
attribute to property decorators and improving property documentation across TES and WES client components.
classDiagram
class ECCClientGa4ghTesRuns {
+Number pageSize
+String baseURL
+Boolean filter
+Boolean search
+Field[] fields
+Boolean extendFields
}
note for ECCClientGa4ghTesRuns "Added reflect attribute to properties"
classDiagram
class ECCClientGa4ghWesRuns {
+Number pageSize
+String baseURL
+Field[] fields
+Boolean filter
+Boolean extendFields
}
note for ECCClientGa4ghWesRuns "Added reflect attribute to properties"
classDiagram
class ECCCLientGa4ghTesCreateRun {
+String baseURL
}
note for ECCCLientGa4ghTesCreateRun "Added reflect attribute to baseURL property"
classDiagram
class ECCClientGa4ghWesCreateRuns {
+String baseURL
}
note for ECCClientGa4ghWesCreateRuns "Added reflect attribute to baseURL property"
Change | Details | Files |
---|---|---|
Added reflect attribute to property decorators |
|
packages/ecc-client-ga4gh-tes/src/components/runs/runs.ts packages/ecc-client-ga4gh-wes/src/components/runs/runs.ts packages/ecc-client-ga4gh-tes/src/components/create-run/create-run.ts packages/ecc-client-ga4gh-wes/src/components/create-run/create-run.ts |
Enhanced JSDoc documentation for component properties |
|
packages/ecc-client-ga4gh-tes/src/components/runs/runs.ts packages/ecc-client-ga4gh-wes/src/components/runs/runs.ts |
Issue | Objective | Addressed | Explanation |
---|---|---|---|
#371 | Expose proper TypeScript type definitions for React components from tes & wes packages | ✅ |
Latest commit: 01f8536f6ee66caa3a457de9f775e8cc09780fb8
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this PR
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
elixir-cloud-components | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Nov 2, 2024 4:26pm |
hey @anurag, I've fixed the missing typescript references issue in this PR, please check it out ASAP
Thanks @SalihuDickson for the quick fix!
Description
Fixes #371
Checklist
Comments
Summary by Sourcery
Fix TypeScript support by ensuring component properties reflect their values to attributes and enhance code documentation with detailed JSDoc comments.
Bug Fixes:
Enhancements: