-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🌱 Update the Task
TypeScript interface
#1961
Conversation
Update the `Task` interface, and related, to follow the current definitions of Task REST resource[1] on the hub. Supports: konveyor#1955, konveyor#1956, konveyor#1957 [1] - https://github.com/konveyor/tackle2-hub/blob/1366d95b62ac7717826fd9f64c9e268013107008/api/task.go#L725-L748 Signed-off-by: Scott J Dickerson <[email protected]>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1961 +/- ##
==========================================
+ Coverage 39.20% 42.13% +2.93%
==========================================
Files 146 166 +20
Lines 4857 5328 +471
Branches 1164 1294 +130
==========================================
+ Hits 1904 2245 +341
- Misses 2939 3067 +128
- Partials 14 16 +2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
client/src/app/api/models.ts
Outdated
export interface Attachment { | ||
id: number; | ||
name?: string; | ||
activity?: number; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd rather keep "Task" prefix like in https://github.com/rszwajko/tackle2-ui/blob/e4b6895a65310d95edbb186472623c533045973d/client/src/app/api/models.ts#L325
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok
Signed-off-by: Scott J Dickerson <[email protected]>
Update the
Task
interface, and related, to follow the current definitions of Task REST resource1 on the hub.Supports: #1955, #1956, #1957
Footnotes
https://github.com/konveyor/tackle2-hub/blob/1366d95b62ac7717826fd9f64c9e268013107008/api/task.go#L725-L748 ↩