Skip to content

Commit d837685

Browse files
Merge pull request #1005 from devtron-labs/fix/ai-qa
chore: update version to 1.22.5-beta-1 in package.json and package-lock.json; add CommonContextDataType to types.ts
2 parents 8636f74 + 3912efe commit d837685

3 files changed

Lines changed: 9 additions & 5 deletions

File tree

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@devtron-labs/devtron-fe-common-lib",
3-
"version": "1.22.5-beta-0",
3+
"version": "1.22.5-beta-1",
44
"description": "Supporting common component library",
55
"type": "module",
66
"main": "dist/index.js",

src/Shared/Providers/MainContextProvider/types.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,10 @@ type AIAgentAppDataType<TAppType extends AIAgentAppType, TRequiredFields extends
8383
appType: TAppType
8484
}
8585

86+
type CommonContextDataType = Record<string, unknown> & {
87+
uiMarkup?: string
88+
}
89+
8690
export type AIAgentContextType =
8791
| {
8892
source: AIAgentContextSourceType.APP_DETAILS
@@ -97,14 +101,14 @@ export type AIAgentContextType =
97101
'externalFluxApp',
98102
'appName' | 'clusterId' | 'namespace' | 'fluxAppDeploymentType'
99103
> &
100-
Record<string, unknown>)
104+
CommonContextDataType)
101105
}
102106
| {
103107
source: AIAgentContextSourceType.RESOURCE_BROWSER_CLUSTER
104108
data: {
105109
clusterId: number
106110
clusterName: string
107-
} & Record<string, unknown>
111+
} & CommonContextDataType
108112
}
109113

110114
export type DebugAgentContextType = AIAgentContextType & {

0 commit comments

Comments
 (0)