AAE-42151 [FE - Studio Admin] Improve types for Integration Contexts#11633
Merged
tomson7777 merged 3 commits intodevelopfrom Feb 11, 2026
Merged
AAE-42151 [FE - Studio Admin] Improve types for Integration Contexts#11633tomson7777 merged 3 commits intodevelopfrom
tomson7777 merged 3 commits intodevelopfrom
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Improves type safety for Service Task Integration Context retrieval by tightening the HTTP response typing and expanding the ServiceTaskIntegrationContextCloudModel to better reflect the API payload.
Changes:
- Added a typed generic to
this.get()to avoidanyingetServiceTaskStatus. - Reworked
ServiceTaskIntegrationContextCloudModelto remove query-related fields and add integration-context-specific fields. - Introduced
ServiceTaskStackTraceElementfor typed stack trace payloads.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
| lib/process-services-cloud/src/lib/task/task-list/services/service-task-list-cloud.service.ts | Adds a typed generic for the integration-context API response and returns the typed entry. |
| lib/process-services-cloud/src/lib/task/task-list/models/service-task-cloud.model.ts | Redefines the integration context model with additional typed fields and adds a stack trace element interface. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
lib/process-services-cloud/src/lib/task/task-list/services/service-task-list-cloud.service.ts
Show resolved
Hide resolved
lib/process-services-cloud/src/lib/task/task-list/models/service-task-cloud.model.ts
Show resolved
Hide resolved
lib/process-services-cloud/src/lib/task/task-list/models/service-task-cloud.model.ts
Show resolved
Hide resolved
lib/process-services-cloud/src/lib/task/task-list/models/service-task-cloud.model.ts
Show resolved
Hide resolved
DenysVuika
approved these changes
Feb 10, 2026
7 tasks
Contributor
|
@tomson7777 I've opened a new pull request, #11636, to work on those changes. Once the pull request is ready, I'll request review from you. |
|
jacekpluta
approved these changes
Feb 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Please check if the PR fulfills these requirements
What kind of change does this PR introduce? (check one with "x")
What is the current behaviour? (You can also link to an open issue here)
Wrong types
What is the new behaviour?
Correct types
Does this PR introduce a breaking change? (check one with "x")
Added
13 new fields to ServiceTaskIntegrationContextCloudModel: serviceType, parentProcessInstanceId, rootProcessInstanceId, connectorType, clientId, clientName, clientType, businessKey, inBoundVariables, outBoundVariables, requestDate, resultDate, stackTraceElements
ServiceTaskStackTraceElement interface (classLoaderName, moduleName, moduleVersion, methodName, fileName, lineNumber, className, nativeMethod)
Type-safe generic on this.get() (removed any)
Removed
extends ServiceTaskQueryCloudRequestModel from ServiceTaskIntegrationContextCloudModel
9 irrelevant query parameter fields: environmentId, maxItems, skipCount, sorting, activityName, activityType, completedDate, elementId, startedDate