@devtron-labs/devtron-fe-common-lib 0.0.9-beta-7 → 0.0.9-beta-9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Common/Constants.d.ts +0 -5
- package/dist/Common/Dialogs/Types.d.ts +0 -1
- package/dist/Common/Types.d.ts +3 -9
- package/dist/Common/index.d.ts +0 -2
- package/dist/index.js +57 -145
- package/package.json +1 -1
- package/src/Common/Constants.ts +0 -6
- package/src/Common/Dialogs/DeleteDialog.tsx +27 -45
- package/src/Common/Dialogs/Types.ts +0 -1
- package/src/Common/TippyCustomized.tsx +2 -31
- package/src/Common/Types.ts +13 -18
- package/src/Common/index.ts +0 -2
- package/dist/Common/CIPipeline.Types.d.ts +0 -265
- package/dist/Common/Policy.Types.d.ts +0 -46
- package/src/Assets/Icon/ic-help.svg +0 -3
- package/src/Common/CIPipeline.Types.ts +0 -277
- package/src/Common/Policy.Types.ts +0 -51
- /package/src/Assets/Img/{delete-medium.svg → warning-medium.svg} +0 -0
|
@@ -1,17 +1,13 @@
|
|
|
1
|
-
import React, { useRef
|
|
1
|
+
import React, { useRef } from 'react'
|
|
2
2
|
import Tippy from '@tippyjs/react'
|
|
3
3
|
import { ReactComponent as CloseIcon } from '../Assets/Icon/ic-cross.svg'
|
|
4
|
-
import { ReactComponent as QuestionFilled } from '../Assets/Icon/ic-help.svg'
|
|
5
|
-
import { ReactComponent as Question } from '../Assets/Icon/ic-help-outline.svg'
|
|
6
4
|
import 'tippy.js/animations/shift-toward-subtle.css'
|
|
7
5
|
import { TippyCustomizedProps, TippyTheme } from './Types'
|
|
8
|
-
import { not } from './Helper'
|
|
9
6
|
|
|
10
7
|
// This component will handle some of the new tippy designs and interactions
|
|
11
8
|
// So this can be updated to support further for new features or interactions
|
|
12
9
|
export function TippyCustomized(props: TippyCustomizedProps) {
|
|
13
10
|
const tippyRef = useRef(null)
|
|
14
|
-
const [showHeadingInfo, setShowHeadingInfo] = useState(false)
|
|
15
11
|
const isWhiteTheme = props.theme === TippyTheme.white
|
|
16
12
|
|
|
17
13
|
const onTippyMount = (tippyInstance) => {
|
|
@@ -28,7 +24,6 @@ export function TippyCustomized(props: TippyCustomizedProps) {
|
|
|
28
24
|
props.onClose()
|
|
29
25
|
}
|
|
30
26
|
}
|
|
31
|
-
setShowHeadingInfo(false)
|
|
32
27
|
}
|
|
33
28
|
|
|
34
29
|
const closeOnEsc = (e) => {
|
|
@@ -37,10 +32,6 @@ export function TippyCustomized(props: TippyCustomizedProps) {
|
|
|
37
32
|
}
|
|
38
33
|
}
|
|
39
34
|
|
|
40
|
-
const toggleHeadingInfo = (e) => {
|
|
41
|
-
setShowHeadingInfo(not)
|
|
42
|
-
}
|
|
43
|
-
|
|
44
35
|
const getTippyContent = () => {
|
|
45
36
|
const {
|
|
46
37
|
Icon,
|
|
@@ -49,7 +40,6 @@ export function TippyCustomized(props: TippyCustomizedProps) {
|
|
|
49
40
|
iconSize,
|
|
50
41
|
onImageLoadError,
|
|
51
42
|
heading,
|
|
52
|
-
headingInfo,
|
|
53
43
|
infoTextHeading,
|
|
54
44
|
infoText,
|
|
55
45
|
showCloseButton,
|
|
@@ -61,9 +51,7 @@ export function TippyCustomized(props: TippyCustomizedProps) {
|
|
|
61
51
|
<>
|
|
62
52
|
<div
|
|
63
53
|
className={`dc__word-break dc__hyphens-auto flex left ${
|
|
64
|
-
isWhiteTheme
|
|
65
|
-
? `p-12 cn-9 ${props.noHeadingBorder ? '' : 'dc__border-bottom-n1'}`
|
|
66
|
-
: 'pt-20 pb-12 pr-20 pl-20 cn-0 top'
|
|
54
|
+
isWhiteTheme ? 'p-12 dc__border-bottom-n1 cn-9' : 'pt-20 pb-12 pr-20 pl-20 cn-0 top'
|
|
67
55
|
}`}
|
|
68
56
|
>
|
|
69
57
|
{iconPath ? (
|
|
@@ -81,11 +69,6 @@ export function TippyCustomized(props: TippyCustomizedProps) {
|
|
|
81
69
|
)
|
|
82
70
|
)}
|
|
83
71
|
{heading && <span className={`fs-14 fw-6 lh-20 ${showCloseButton ? 'mr-6' : ''}`}>{heading}</span>}
|
|
84
|
-
{headingInfo && (
|
|
85
|
-
<div className="icon-dim-20 cursor" onClick={toggleHeadingInfo}>
|
|
86
|
-
<Question className="icon-dim-20" />
|
|
87
|
-
</div>
|
|
88
|
-
)}
|
|
89
72
|
{showCloseButton && (
|
|
90
73
|
<div className="icon-dim-16 ml-auto">
|
|
91
74
|
<CloseIcon
|
|
@@ -95,18 +78,6 @@ export function TippyCustomized(props: TippyCustomizedProps) {
|
|
|
95
78
|
</div>
|
|
96
79
|
)}
|
|
97
80
|
</div>
|
|
98
|
-
{showHeadingInfo && (
|
|
99
|
-
<div
|
|
100
|
-
className={`flex left top bcv-1 fs-13 fw-4 lh-20 pt-8 pb-8 ${
|
|
101
|
-
isWhiteTheme ? 'pl-12 pr-12' : 'pl-20 pr-20'
|
|
102
|
-
}`}
|
|
103
|
-
>
|
|
104
|
-
<div className="icon-dim-20 mr-8">
|
|
105
|
-
<QuestionFilled className="icon-dim-20 fcv-5" />
|
|
106
|
-
</div>
|
|
107
|
-
<div className="dc__word-break dc__hyphens-auto">{headingInfo}</div>
|
|
108
|
-
</div>
|
|
109
|
-
)}
|
|
110
81
|
{infoTextHeading && (
|
|
111
82
|
<div
|
|
112
83
|
className={`dc__word-break dc__hyphens-auto fs-14 fw-6 lh-20 ${
|
package/src/Common/Types.ts
CHANGED
|
@@ -52,8 +52,6 @@ export interface TippyCustomizedProps {
|
|
|
52
52
|
theme: TippyTheme
|
|
53
53
|
visible?: boolean
|
|
54
54
|
heading?: ReactNode | string
|
|
55
|
-
headingInfo?: ReactNode | string
|
|
56
|
-
noHeadingBorder?: boolean
|
|
57
55
|
infoTextHeading?: string
|
|
58
56
|
placement: Placement
|
|
59
57
|
className?: string
|
|
@@ -188,7 +186,7 @@ export enum DeploymentNodeType {
|
|
|
188
186
|
PRECD = 'PRECD',
|
|
189
187
|
CD = 'CD',
|
|
190
188
|
POSTCD = 'POSTCD',
|
|
191
|
-
APPROVAL = 'APPROVAL'
|
|
189
|
+
APPROVAL = 'APPROVAL'
|
|
192
190
|
}
|
|
193
191
|
|
|
194
192
|
export interface UserApprovalConfigType {
|
|
@@ -259,28 +257,23 @@ export interface CommonNodeAttr {
|
|
|
259
257
|
approvalUsers?: string[]
|
|
260
258
|
userApprovalConfig?: UserApprovalConfigType
|
|
261
259
|
requestedUserId?: number
|
|
262
|
-
showPluginWarning?: boolean
|
|
263
260
|
helmPackageName?: string
|
|
264
261
|
isVirtualEnvironment?: boolean
|
|
265
|
-
isCITriggerBlocked?: boolean
|
|
266
|
-
ciBlockState?: {
|
|
267
|
-
action: any,
|
|
268
|
-
metadataField: string
|
|
269
|
-
}
|
|
270
262
|
}
|
|
271
263
|
|
|
264
|
+
|
|
272
265
|
export interface VulnerabilityType {
|
|
273
|
-
name: string
|
|
274
|
-
severity:
|
|
275
|
-
package: string
|
|
276
|
-
version: string
|
|
277
|
-
fixedVersion: string
|
|
278
|
-
policy: string
|
|
279
|
-
url?: string
|
|
266
|
+
name: string;
|
|
267
|
+
severity: "CRITICAL" | "MODERATE" | "LOW";
|
|
268
|
+
package: string;
|
|
269
|
+
version: string;
|
|
270
|
+
fixedVersion: string;
|
|
271
|
+
policy: string;
|
|
272
|
+
url?: string;
|
|
280
273
|
}
|
|
281
274
|
|
|
282
275
|
export interface ScanVulnerabilitiesTableProps {
|
|
283
|
-
vulnerabilities: VulnerabilityType[]
|
|
276
|
+
vulnerabilities: VulnerabilityType[];
|
|
284
277
|
}
|
|
285
278
|
|
|
286
279
|
export interface MaterialInfo {
|
|
@@ -325,4 +318,6 @@ export interface CDMaterialResponseType {
|
|
|
325
318
|
materials: any[]
|
|
326
319
|
userApprovalConfig: UserApprovalConfigType
|
|
327
320
|
requestedUserId: number
|
|
328
|
-
|
|
321
|
+
tagsEditable: boolean
|
|
322
|
+
appReleaseTagNames: string[]
|
|
323
|
+
}
|
package/src/Common/index.ts
CHANGED
|
@@ -29,6 +29,4 @@ export { default as GenericEmptyState } from './EmptyState/GenericEmptyState'
|
|
|
29
29
|
export { default as Toggle } from './Toggle/Toggle'
|
|
30
30
|
export { default as ScanVulnerabilitiesTable } from './Security/ScanVulnerabilitiesTable'
|
|
31
31
|
export { default as StyledRadioGroup } from './RadioGroup/RadioGroup'
|
|
32
|
-
export * from './CIPipeline.Types'
|
|
33
|
-
export * from './Policy.Types'
|
|
34
32
|
export { default as DeleteComponent } from './DeleteComponentModal/DeleteComponent'
|
|
@@ -1,265 +0,0 @@
|
|
|
1
|
-
export interface MaterialType {
|
|
2
|
-
name: string;
|
|
3
|
-
type: string;
|
|
4
|
-
value: string;
|
|
5
|
-
gitMaterialId: number;
|
|
6
|
-
id: number;
|
|
7
|
-
isSelected: boolean;
|
|
8
|
-
gitHostId: number;
|
|
9
|
-
gitProviderId: number;
|
|
10
|
-
regex?: string;
|
|
11
|
-
isRegex: boolean;
|
|
12
|
-
}
|
|
13
|
-
export interface Githost {
|
|
14
|
-
id: number;
|
|
15
|
-
name: string;
|
|
16
|
-
active: boolean;
|
|
17
|
-
webhookSecret: string;
|
|
18
|
-
webhookUrl: string;
|
|
19
|
-
}
|
|
20
|
-
export interface WebhookEvent {
|
|
21
|
-
id: number;
|
|
22
|
-
gitHostId: number;
|
|
23
|
-
name: string;
|
|
24
|
-
isActive: boolean;
|
|
25
|
-
selectors: WebhookEventSelectors[];
|
|
26
|
-
}
|
|
27
|
-
interface WebhookEventSelectors {
|
|
28
|
-
id: number;
|
|
29
|
-
eventId: number;
|
|
30
|
-
name: string;
|
|
31
|
-
selector: string;
|
|
32
|
-
toShowInCiFilter: boolean;
|
|
33
|
-
fixValue: string;
|
|
34
|
-
toShow: boolean;
|
|
35
|
-
possibleValues: string;
|
|
36
|
-
isActive: boolean;
|
|
37
|
-
}
|
|
38
|
-
export interface CiPipelineSourceTypeOption {
|
|
39
|
-
label: string;
|
|
40
|
-
value: string;
|
|
41
|
-
isDisabled: boolean;
|
|
42
|
-
isSelected: boolean;
|
|
43
|
-
isWebhook: boolean;
|
|
44
|
-
}
|
|
45
|
-
export declare enum RefVariableType {
|
|
46
|
-
GLOBAL = "GLOBAL",
|
|
47
|
-
FROM_PREVIOUS_STEP = "FROM_PREVIOUS_STEP",
|
|
48
|
-
NEW = "NEW"
|
|
49
|
-
}
|
|
50
|
-
export declare enum PluginType {
|
|
51
|
-
INLINE = "INLINE",
|
|
52
|
-
PLUGIN_REF = "REF_PLUGIN"
|
|
53
|
-
}
|
|
54
|
-
export declare enum ScriptType {
|
|
55
|
-
SHELL = "SHELL",
|
|
56
|
-
DOCKERFILE = "DOCKERFILE",
|
|
57
|
-
CONTAINERIMAGE = "CONTAINER_IMAGE"
|
|
58
|
-
}
|
|
59
|
-
export declare enum MountPath {
|
|
60
|
-
TRUE = "Yes",
|
|
61
|
-
FALSE = "No"
|
|
62
|
-
}
|
|
63
|
-
export declare enum ConditionType {
|
|
64
|
-
SKIP = "SKIP",
|
|
65
|
-
TRIGGER = "TRIGGER",
|
|
66
|
-
PASS = "PASS",
|
|
67
|
-
FAIL = "FAIL"
|
|
68
|
-
}
|
|
69
|
-
export declare enum RefVariableStageType {
|
|
70
|
-
PRE_CI = "PRE_CI",
|
|
71
|
-
POST_CI = "POST_CI"
|
|
72
|
-
}
|
|
73
|
-
export interface VariableType {
|
|
74
|
-
id: number;
|
|
75
|
-
name: string;
|
|
76
|
-
value: string;
|
|
77
|
-
format: string;
|
|
78
|
-
description: string;
|
|
79
|
-
defaultValue: string;
|
|
80
|
-
variableType: RefVariableType;
|
|
81
|
-
refVariableStepIndex: number;
|
|
82
|
-
refVariableName: string;
|
|
83
|
-
refVariableStage?: RefVariableStageType;
|
|
84
|
-
variableStepIndexInPlugin?: number;
|
|
85
|
-
}
|
|
86
|
-
interface CommandArgsMap {
|
|
87
|
-
command: string;
|
|
88
|
-
args: string[];
|
|
89
|
-
}
|
|
90
|
-
export interface PortMapType {
|
|
91
|
-
portOnLocal: number;
|
|
92
|
-
portOnContainer: number;
|
|
93
|
-
}
|
|
94
|
-
interface ConditionDetails {
|
|
95
|
-
id: number;
|
|
96
|
-
conditionOnVariable: string;
|
|
97
|
-
conditionOperator: string;
|
|
98
|
-
conditionType: ConditionType;
|
|
99
|
-
conditionalValue: string;
|
|
100
|
-
}
|
|
101
|
-
interface InlineStepDetailType {
|
|
102
|
-
scriptType: ScriptType;
|
|
103
|
-
isMountCustomScript?: boolean;
|
|
104
|
-
script?: string;
|
|
105
|
-
dockerFileExists?: boolean;
|
|
106
|
-
mountPath?: string;
|
|
107
|
-
mountCodeToContainer?: boolean;
|
|
108
|
-
mountDirectoryFromHost?: boolean;
|
|
109
|
-
containerImagePath?: string;
|
|
110
|
-
imagePullSecret?: string;
|
|
111
|
-
commandArgsMap?: CommandArgsMap[];
|
|
112
|
-
portMap?: PortMapType[];
|
|
113
|
-
mountPathMap?: {
|
|
114
|
-
filePathOnDisk: string;
|
|
115
|
-
filePathOnContainer: string;
|
|
116
|
-
}[];
|
|
117
|
-
inputVariables?: VariableType[];
|
|
118
|
-
outputVariables?: VariableType[];
|
|
119
|
-
conditionDetails: ConditionDetails[];
|
|
120
|
-
}
|
|
121
|
-
interface PluginRefStepDetailType {
|
|
122
|
-
id: number;
|
|
123
|
-
pluginId: number;
|
|
124
|
-
inputVariables?: VariableType[];
|
|
125
|
-
outputVariables?: VariableType[];
|
|
126
|
-
conditionDetails?: ConditionDetails[];
|
|
127
|
-
}
|
|
128
|
-
export interface StepType {
|
|
129
|
-
id: number;
|
|
130
|
-
index: number;
|
|
131
|
-
name: string;
|
|
132
|
-
description: string;
|
|
133
|
-
stepType: PluginType;
|
|
134
|
-
outputDirectoryPath: string[];
|
|
135
|
-
inlineStepDetail?: InlineStepDetailType;
|
|
136
|
-
pluginRefStepDetail?: PluginRefStepDetailType;
|
|
137
|
-
triggerIfParentStageFail: boolean;
|
|
138
|
-
isMandatory?: boolean;
|
|
139
|
-
}
|
|
140
|
-
export interface BuildStageType {
|
|
141
|
-
id: number;
|
|
142
|
-
steps: StepType[];
|
|
143
|
-
}
|
|
144
|
-
export declare enum CIBuildType {
|
|
145
|
-
SELF_DOCKERFILE_BUILD_TYPE = "self-dockerfile-build",
|
|
146
|
-
MANAGED_DOCKERFILE_BUILD_TYPE = "managed-dockerfile-build",
|
|
147
|
-
BUILDPACK_BUILD_TYPE = "buildpack-build"
|
|
148
|
-
}
|
|
149
|
-
export interface BuildPackConfigType {
|
|
150
|
-
builderId: string;
|
|
151
|
-
language: string;
|
|
152
|
-
languageVersion: string;
|
|
153
|
-
projectPath: string;
|
|
154
|
-
builderLangEnvParam?: string;
|
|
155
|
-
currentBuilderLangEnvParam?: string;
|
|
156
|
-
buildPacks?: any;
|
|
157
|
-
args?: Record<string, string>;
|
|
158
|
-
}
|
|
159
|
-
export interface DockerBuildConfigType {
|
|
160
|
-
dockerfileContent: string;
|
|
161
|
-
dockerfileRelativePath: string;
|
|
162
|
-
buildContext: string;
|
|
163
|
-
dockerfilePath?: string;
|
|
164
|
-
dockerfileRepository?: string;
|
|
165
|
-
args?: Record<string, string>;
|
|
166
|
-
targetPlatform?: any;
|
|
167
|
-
language?: string;
|
|
168
|
-
languageFramework?: string;
|
|
169
|
-
}
|
|
170
|
-
export interface CIBuildConfigType {
|
|
171
|
-
buildPackConfig: BuildPackConfigType;
|
|
172
|
-
ciBuildType: CIBuildType;
|
|
173
|
-
dockerBuildConfig: DockerBuildConfigType;
|
|
174
|
-
gitMaterialId: number;
|
|
175
|
-
buildContextGitMaterialId: number;
|
|
176
|
-
id?: number;
|
|
177
|
-
useRootBuildContext: boolean;
|
|
178
|
-
}
|
|
179
|
-
export interface DockerConfigOverrideType {
|
|
180
|
-
dockerRegistry: string;
|
|
181
|
-
dockerRepository: string;
|
|
182
|
-
ciBuildConfig: CIBuildConfigType;
|
|
183
|
-
}
|
|
184
|
-
export interface FormType {
|
|
185
|
-
name: string;
|
|
186
|
-
args: {
|
|
187
|
-
key: string;
|
|
188
|
-
value: string;
|
|
189
|
-
}[];
|
|
190
|
-
materials: MaterialType[];
|
|
191
|
-
gitHost: Githost;
|
|
192
|
-
webhookEvents: WebhookEvent[];
|
|
193
|
-
ciPipelineSourceTypeOptions: CiPipelineSourceTypeOption[];
|
|
194
|
-
webhookConditionList: {
|
|
195
|
-
selectorId: number;
|
|
196
|
-
value: string;
|
|
197
|
-
}[];
|
|
198
|
-
triggerType: string;
|
|
199
|
-
scanEnabled?: boolean;
|
|
200
|
-
beforeDockerBuildScripts?: {
|
|
201
|
-
id: number;
|
|
202
|
-
name: string;
|
|
203
|
-
outputLocation: string;
|
|
204
|
-
script: string;
|
|
205
|
-
isCollapsed: boolean;
|
|
206
|
-
index: number;
|
|
207
|
-
}[];
|
|
208
|
-
afterDockerBuildScripts?: {
|
|
209
|
-
id: number;
|
|
210
|
-
name: string;
|
|
211
|
-
outputLocation: string;
|
|
212
|
-
script: string;
|
|
213
|
-
isCollapsed: boolean;
|
|
214
|
-
index: number;
|
|
215
|
-
}[];
|
|
216
|
-
ciPipelineEditable: true;
|
|
217
|
-
preBuildStage?: BuildStageType;
|
|
218
|
-
postBuildStage?: BuildStageType;
|
|
219
|
-
isDockerConfigOverridden?: boolean;
|
|
220
|
-
dockerConfigOverride?: DockerConfigOverrideType;
|
|
221
|
-
isOffendingMandatoryPlugin?: boolean;
|
|
222
|
-
}
|
|
223
|
-
export interface ErrorObj {
|
|
224
|
-
isValid: boolean;
|
|
225
|
-
message: string | null;
|
|
226
|
-
}
|
|
227
|
-
export interface TaskErrorObj {
|
|
228
|
-
isValid: boolean;
|
|
229
|
-
name: ErrorObj;
|
|
230
|
-
inlineStepDetail?: {
|
|
231
|
-
inputVariables?: ErrorObj[];
|
|
232
|
-
outputVariables?: ErrorObj[];
|
|
233
|
-
};
|
|
234
|
-
pluginRefStepDetail?: {
|
|
235
|
-
inputVariables?: ErrorObj[];
|
|
236
|
-
outputVariables?: ErrorObj[];
|
|
237
|
-
};
|
|
238
|
-
}
|
|
239
|
-
export interface FormErrorObjectType {
|
|
240
|
-
name: ErrorObj;
|
|
241
|
-
materials?: MaterialType[];
|
|
242
|
-
preBuildStage?: {
|
|
243
|
-
isValid: boolean;
|
|
244
|
-
steps: TaskErrorObj[];
|
|
245
|
-
};
|
|
246
|
-
buildStage?: {
|
|
247
|
-
isValid: boolean;
|
|
248
|
-
name: ErrorObj;
|
|
249
|
-
};
|
|
250
|
-
postBuildStage?: {
|
|
251
|
-
isValid: boolean;
|
|
252
|
-
steps: TaskErrorObj[];
|
|
253
|
-
};
|
|
254
|
-
}
|
|
255
|
-
export interface PluginDetailType {
|
|
256
|
-
id: number;
|
|
257
|
-
name: string;
|
|
258
|
-
type: string;
|
|
259
|
-
description: string;
|
|
260
|
-
icon: string;
|
|
261
|
-
tags: string[];
|
|
262
|
-
inputVariables?: VariableType[];
|
|
263
|
-
outputVariables?: VariableType[];
|
|
264
|
-
}
|
|
265
|
-
export {};
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import { VariableType } from "./CIPipeline.Types";
|
|
2
|
-
export declare enum ApplyPolicyToStage {
|
|
3
|
-
PRE_CI = "PRE_CI",
|
|
4
|
-
POST_CI = "POST_CI",
|
|
5
|
-
PRE_OR_POST_CI = "PRE_OR_POST_CI"
|
|
6
|
-
}
|
|
7
|
-
export declare enum PluginRequiredStage {
|
|
8
|
-
PRE_CI = "preBuildStage",
|
|
9
|
-
POST_CI = "postBuildStage",
|
|
10
|
-
PRE_OR_POST_CI = "PRE_OR_POST_CI"
|
|
11
|
-
}
|
|
12
|
-
export interface DefinitionSourceType {
|
|
13
|
-
projectName: string;
|
|
14
|
-
isDueToProductionEnvironment: boolean;
|
|
15
|
-
isDueToLinkedPipeline: boolean;
|
|
16
|
-
policyName: string;
|
|
17
|
-
appName?: string;
|
|
18
|
-
clusterName?: string;
|
|
19
|
-
environmentName?: string;
|
|
20
|
-
branchNames?: string[];
|
|
21
|
-
ciPipelineName?: string;
|
|
22
|
-
}
|
|
23
|
-
export interface MandatoryPluginDetailType {
|
|
24
|
-
id: number;
|
|
25
|
-
name: string;
|
|
26
|
-
description?: string;
|
|
27
|
-
requiredIn: PluginRequiredStage;
|
|
28
|
-
applied?: boolean;
|
|
29
|
-
inputVariables?: VariableType[];
|
|
30
|
-
outputVariables?: VariableType[];
|
|
31
|
-
definitionSources?: DefinitionSourceType[];
|
|
32
|
-
}
|
|
33
|
-
export interface MandatoryPluginDataType {
|
|
34
|
-
pluginData: MandatoryPluginDetailType[];
|
|
35
|
-
isValidPre: boolean;
|
|
36
|
-
isValidPost: boolean;
|
|
37
|
-
}
|
|
38
|
-
export declare enum ConsequenceAction {
|
|
39
|
-
BLOCK = "BLOCK",
|
|
40
|
-
ALLOW_UNTIL_TIME = "ALLOW_UNTIL_TIME",
|
|
41
|
-
ALLOW_FOREVER = "ALLOW_FOREVER"
|
|
42
|
-
}
|
|
43
|
-
export interface ConsequenceType {
|
|
44
|
-
action: ConsequenceAction;
|
|
45
|
-
metadataField: string;
|
|
46
|
-
}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
|
|
2
|
-
<path fill="#767D84" fill-rule="evenodd" d="M12 2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2zm-.205 12.868c-.615 0-1.12.505-1.12 1.12 0 .617.505 1.121 1.12 1.121.615 0 1.12-.504 1.12-1.12 0-.616-.506-1.12-1.12-1.12zM11.863 7c-1.667 0-3.197 1.187-3.196 2.527 0 .546.41.833.888.833 1.325 0 .642-1.803 2.39-1.803.82 0 1.311.438 1.311 1.175 0 1.34-2.39 1.708-2.39 3.334 0 .438.287.915.874.915.902 0 .792-.67 1.12-1.148.438-.642 2.473-1.325 2.473-3.101 0-1.927-1.721-2.732-3.47-2.732z"/>
|
|
3
|
-
</svg>
|