Skip to content

Commit 3a9d8df

Browse files
committed
Merge branch 'main' of github.com:devtron-labs/devtron-fe-common-lib into feat/config-diff-phase-1
2 parents 3936b81 + d312cce commit 3a9d8df

35 files changed

+1270
-61
lines changed

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": "0.1.12-beta-1",
3+
"version": "0.1.15",
44
"description": "Supporting common component library",
55
"type": "module",
66
"main": "dist/index.js",

src/Assets/Icon/ic-book-open.svg

Lines changed: 3 additions & 0 deletions
Loading

src/Assets/Icon/ic-filter-applied.svg

Lines changed: 4 additions & 0 deletions
Loading

src/Assets/Icon/ic-filter.svg

Lines changed: 3 additions & 0 deletions
Loading

src/Assets/Icon/ic-lego-block.svg

Lines changed: 20 additions & 0 deletions
Loading

src/Assets/Icon/ic-visibility-on.svg

Lines changed: 20 additions & 0 deletions
Loading

src/Common/CIPipeline.Types.ts

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -280,14 +280,3 @@ export interface FormErrorObjectType {
280280
steps: TaskErrorObj[]
281281
}
282282
}
283-
284-
export interface PluginDetailType {
285-
id: number
286-
name: string
287-
type: string
288-
description: string
289-
icon: string
290-
tags: string[]
291-
inputVariables?: VariableType[]
292-
outputVariables?: VariableType[]
293-
}

src/Common/Constants.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,9 @@ export const ROUTES = {
9595
CONFIG_CD_PIPELINE: 'config/cd-pipeline',
9696
MODULE_CONFIGURED: 'module/config',
9797
RESOURCE_HISTORY_DEPLOYMENT: 'resource/history/deployment',
98+
PLUGIN_GLOBAL_LIST_DETAIL_V2: 'plugin/global/list/detail/v2',
99+
PLUGIN_GLOBAL_LIST_V2: 'plugin/global/list/v2',
100+
PLUGIN_GLOBAL_LIST_TAGS: 'plugin/global/list/tags',
98101
}
99102

100103
export enum KEY_VALUE {

src/Common/Policy.Types.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@
1414
* limitations under the License.
1515
*/
1616

17+
import { PluginDataStoreType } from '../Shared'
1718
import { VariableType } from './CIPipeline.Types'
19+
import { ServerErrors } from './ServerError'
1820
import { ResponseType } from './Types'
1921

2022
export enum ApplyPolicyToStage {
@@ -42,6 +44,7 @@ export interface DefinitionSourceType {
4244
}
4345
export interface MandatoryPluginDetailType {
4446
id: number
47+
parentPluginId: number
4548
icon: string
4649
name: string
4750
description?: string
@@ -57,6 +60,12 @@ export interface MandatoryPluginDataType {
5760
isValidPost: boolean
5861
}
5962

63+
export interface ProcessPluginDataReturnType {
64+
mandatoryPluginData: MandatoryPluginDataType
65+
pluginDataStore: PluginDataStoreType
66+
mandatoryPluginsError?: ServerErrors
67+
}
68+
6069
export enum ConsequenceAction {
6170
BLOCK = 'BLOCK',
6271
ALLOW_UNTIL_TIME = 'ALLOW_UNTIL_TIME',

0 commit comments

Comments
 (0)