@devtron-labs/devtron-fe-common-lib 0.0.68-beta-9 → 0.0.68-beta-10

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.
Files changed (58) hide show
  1. package/dist/Common/Common.service.d.ts +0 -1
  2. package/dist/Common/Constants.d.ts +1 -13
  3. package/dist/Common/Helper.d.ts +4 -0
  4. package/dist/Common/ImageTags.Types.d.ts +1 -1
  5. package/dist/Common/Types.d.ts +8 -59
  6. package/dist/Pages/GlobalConfigurations/Authorization/index.d.ts +1 -2
  7. package/dist/Pages/GlobalConfigurations/Authorization/types.d.ts +0 -27
  8. package/dist/Pages/GlobalConfigurations/BuildInfra/utils.d.ts +0 -2
  9. package/dist/Shared/Components/APIResponseHandler/APIResponseHandler.d.ts +1 -1
  10. package/dist/Shared/Components/APIResponseHandler/types.d.ts +0 -9
  11. package/dist/Shared/Components/ReactSelect/utils.d.ts +0 -4
  12. package/dist/Shared/Components/index.d.ts +0 -7
  13. package/dist/Shared/Helpers.d.ts +0 -6
  14. package/dist/Shared/index.d.ts +0 -1
  15. package/dist/Shared/types.d.ts +0 -114
  16. package/dist/assets/index.css +1 -1
  17. package/dist/index.js +12716 -13292
  18. package/package.json +2 -3
  19. package/dist/Pages/GlobalConfigurations/Authorization/shared/components/UserRoleGroupsTable/UserRoleGroupTableRow.d.ts +0 -7
  20. package/dist/Pages/GlobalConfigurations/Authorization/shared/components/UserRoleGroupsTable/UserRoleGroupsTable.component.d.ts +0 -3
  21. package/dist/Pages/GlobalConfigurations/Authorization/shared/components/UserRoleGroupsTable/index.d.ts +0 -1
  22. package/dist/Pages/GlobalConfigurations/Authorization/shared/components/UserRoleGroupsTable/types.d.ts +0 -31
  23. package/dist/Pages/GlobalConfigurations/Authorization/shared/components/index.d.ts +0 -1
  24. package/dist/Pages/GlobalConfigurations/Authorization/shared/index.d.ts +0 -1
  25. package/dist/Shared/Components/ActivityIndicator/ActivityIndicator.d.ts +0 -3
  26. package/dist/Shared/Components/ActivityIndicator/index.d.ts +0 -1
  27. package/dist/Shared/Components/ActivityIndicator/types.d.ts +0 -3
  28. package/dist/Shared/Components/ExcludedImageNode/ExcludedImageNode.d.ts +0 -3
  29. package/dist/Shared/Components/ExcludedImageNode/index.d.ts +0 -1
  30. package/dist/Shared/Components/ExcludedImageNode/types.d.ts +0 -3
  31. package/dist/Shared/Components/GenericSectionErrorState/GenericSectionErrorState.component.d.ts +0 -3
  32. package/dist/Shared/Components/GenericSectionErrorState/index.d.ts +0 -1
  33. package/dist/Shared/Components/GenericSectionErrorState/types.d.ts +0 -32
  34. package/dist/Shared/Components/ImageCard/ArtifactInfo/ArtifactInfo.d.ts +0 -3
  35. package/dist/Shared/Components/ImageCard/ArtifactInfo/index.d.ts +0 -1
  36. package/dist/Shared/Components/ImageCard/ArtifactInfo/types.d.ts +0 -3
  37. package/dist/Shared/Components/ImageCard/ImageCard.d.ts +0 -3
  38. package/dist/Shared/Components/ImageCard/SequentialCDCardTitle/DeploymentEnvState/DeploymentEnvState.d.ts +0 -3
  39. package/dist/Shared/Components/ImageCard/SequentialCDCardTitle/DeploymentEnvState/constants.d.ts +0 -6
  40. package/dist/Shared/Components/ImageCard/SequentialCDCardTitle/DeploymentEnvState/index.d.ts +0 -1
  41. package/dist/Shared/Components/ImageCard/SequentialCDCardTitle/DeploymentEnvState/types.d.ts +0 -10
  42. package/dist/Shared/Components/ImageCard/SequentialCDCardTitle/DeploymentEnvState/utils.d.ts +0 -2
  43. package/dist/Shared/Components/ImageCard/SequentialCDCardTitle/SequentialCDCardTitle.d.ts +0 -3
  44. package/dist/Shared/Components/ImageCard/SequentialCDCardTitle/index.d.ts +0 -1
  45. package/dist/Shared/Components/ImageCard/index.d.ts +0 -3
  46. package/dist/Shared/Components/ImageCard/types.d.ts +0 -40
  47. package/dist/Shared/Components/ImageCardAccordion/ImageCardAccordion.d.ts +0 -3
  48. package/dist/Shared/Components/ImageCardAccordion/index.d.ts +0 -1
  49. package/dist/Shared/Components/ImageCardAccordion/types.d.ts +0 -23
  50. package/dist/Shared/Components/ScannedByToolModal/ScannedByToolModal.d.ts +0 -3
  51. package/dist/Shared/Components/ScannedByToolModal/index.d.ts +0 -1
  52. package/dist/Shared/Components/ScannedByToolModal/types.d.ts +0 -3
  53. package/dist/Shared/Components/Vulnerabilities/Vulnerabilities.d.ts +0 -3
  54. package/dist/Shared/Components/Vulnerabilities/constants.d.ts +0 -4
  55. package/dist/Shared/Components/Vulnerabilities/index.d.ts +0 -1
  56. package/dist/Shared/Components/Vulnerabilities/service.d.ts +0 -2
  57. package/dist/Shared/Components/Vulnerabilities/types.d.ts +0 -8
  58. package/dist/Shared/constants.d.ts +0 -31
@@ -17,5 +17,4 @@ export declare const genericCDMaterialsService: (serviceType: CDMaterialServiceE
17
17
  export declare function extractImage(image: string): string;
18
18
  export declare function createGitCommitUrl(url: string, revision: string): string;
19
19
  export declare function fetchChartTemplateVersions(): Promise<ResponseType<any>>;
20
- export declare function getDefaultConfig(): Promise<ResponseType>;
21
20
  export {};
@@ -14,18 +14,14 @@ export declare const PATTERNS: {
14
14
  };
15
15
  export declare const URLS: {
16
16
  LOGIN_SSO: string;
17
- PERMISSION_GROUPS: string;
18
17
  };
19
18
  export declare const ROUTES: {
20
- APP_ARTIFACT_PROMOTE_MATERIAL: string;
21
19
  PROJECT_LIST_MIN: string;
22
20
  USER_CHECK_ROLE: string;
23
21
  IMAGE_TAGGING: string;
24
22
  CD_MATERIAL_GET: string;
25
23
  DEPLOYMENT_TEMPLATE_LIST: string;
26
24
  INFRA_CONFIG_PROFILE: string;
27
- SECURITY_SCAN_EXECUTION_DETAILS: string;
28
- NOTIFIER: string;
29
25
  };
30
26
  export declare enum KEY_VALUE {
31
27
  KEY = "key",
@@ -77,8 +73,7 @@ export declare enum MODES {
77
73
  }
78
74
  export declare enum APPROVAL_MODAL_TYPE {
79
75
  CONFIG = "CONFIG",
80
- DEPLOYMENT = "DEPLOYMENT",
81
- IMAGE_PROMOTION = "IMAGE-PROMOTION"
76
+ DEPLOYMENT = "DEPLOYMENT"
82
77
  }
83
78
  export declare const MAX_Z_INDEX = 2147483647;
84
79
  export declare const SELECTED_APPROVAL_TAB_STATE: {
@@ -99,10 +94,3 @@ export declare enum SortingOrder {
99
94
  * Base page size for pagination
100
95
  */
101
96
  export declare const DEFAULT_BASE_PAGE_SIZE = 20;
102
- export declare enum ReactSelectInputAction {
103
- inputChange = "input-change",
104
- selectOption = "select-option",
105
- deselectOption = "deselect-option",
106
- removeValue = "remove-value"
107
- }
108
- export declare const ZERO_TIME_STRING = "0001-01-01T00:00:00Z";
@@ -65,4 +65,8 @@ export declare function getLockedJSON(json: any, jsonPathArray: string[]): any;
65
65
  * Returns a debounced variant of the function
66
66
  */
67
67
  export declare const debounce: (func: any, timeout?: number) => (this: any, ...args: any[]) => void;
68
+ /**
69
+ * Sorts the relative dates based on the sorting direction
70
+ */
71
+ export declare const handleRelativeDateSorting: (dateStringA: any, dateStringB: any, sortOrder: any) => number;
68
72
  export {};
@@ -34,7 +34,7 @@ export interface ImageButtonType {
34
34
  onHardDeleteClick?: any;
35
35
  tagId: number;
36
36
  softDeleteTags: any;
37
- isSuperAdmin: boolean;
37
+ isSuperAdmin: any;
38
38
  duplicateTag?: boolean;
39
39
  hideHardDelete?: boolean;
40
40
  }
@@ -2,7 +2,6 @@ import React, { ReactNode, CSSProperties } from 'react';
2
2
  import { Placement } from 'tippy.js';
3
3
  import { ImageComment, ReleaseTag } from './ImageTags.Types';
4
4
  import { DockerConfigOverrideType, SortingOrder, TaskErrorObj } from '.';
5
- import { RegistryType } from '../Shared';
6
5
  /**
7
6
  * Generic response type object with support for overriding the result type
8
7
  *
@@ -52,7 +51,6 @@ export interface CheckboxProps {
52
51
  onChange: (event: any) => void;
53
52
  isChecked: boolean;
54
53
  value: 'CHECKED' | 'INTERMEDIATE' | 'BULK_CHECKED';
55
- name?: string;
56
54
  disabled?: boolean;
57
55
  tabIndex?: number;
58
56
  rootClassName?: string;
@@ -248,34 +246,6 @@ export declare enum FilterStates {
248
246
  export declare enum MaterialDataSource {
249
247
  EXTERNAL = "ext"
250
248
  }
251
- export declare enum ImagePromotionRuntimeState {
252
- AWAITING = "AWAITING",
253
- PROMOTED = "PROMOTED",
254
- CANCELLED = "CANCELLED",
255
- STALE = "STALE"
256
- }
257
- export interface ImagePromotionPolicyApprovalMetadata {
258
- approverCount: number;
259
- allowRequesterFromApprove: boolean;
260
- allowImageBuilderFromApprove: boolean;
261
- allowApproverFromDeploy: boolean;
262
- }
263
- export interface ImagePromotionPolicyInfoType {
264
- name: string;
265
- id: number;
266
- description: string;
267
- conditions: FilterConditionsInfo[];
268
- approvalMetadata: ImagePromotionPolicyApprovalMetadata;
269
- }
270
- export interface PromotionApprovalMetadataType {
271
- approvalRequestId: number;
272
- approvalRuntimeState: ImagePromotionRuntimeState;
273
- approvedUsersData: ApprovalUserDataType[];
274
- requestedUserData: ApprovalUserDataType;
275
- policy: ImagePromotionPolicyInfoType;
276
- promotedFrom?: string;
277
- promoteFromType?: string;
278
- }
279
249
  export interface CDMaterialType {
280
250
  index: number;
281
251
  id: string;
@@ -302,7 +272,7 @@ export interface CDMaterialType {
302
272
  imageReleaseTags?: ReleaseTag[];
303
273
  artifactStatus?: string;
304
274
  filterState: FilterStates;
305
- registryType?: RegistryType;
275
+ registryType?: string;
306
276
  imagePath?: string;
307
277
  registryName?: string;
308
278
  scanToolId?: number;
@@ -312,24 +282,13 @@ export interface CDMaterialType {
312
282
  createdTime?: string;
313
283
  deployed?: boolean;
314
284
  dataSource?: MaterialDataSource;
315
- /**
316
- * The below two keys: `promotionApprovalMetaData`, `deployedOnEnvironments` are used in image promotion
317
- * and may not be available to cater other use-cases.
318
- */
319
- promotionApprovalMetadata?: PromotionApprovalMetadataType;
320
- deployedOnEnvironments?: string[];
321
285
  }
322
286
  export declare enum CDMaterialServiceEnum {
323
287
  ROLLBACK = "rollback",
324
- CD_MATERIALS = "cd-materials",
325
- IMAGE_PROMOTION = "image-promotion"
288
+ CD_MATERIALS = "cd-materials"
326
289
  }
327
290
  export declare enum CDMaterialResourceQuery {
328
- PENDING_APPROVAL = "PENDING_APPROVAL",
329
- PROMOTION_APPROVAL_PENDING_NODE = "PROMOTION_APPROVAL_PENDING_NODE",
330
- CI = "CI",
331
- ENVIRONMENT = "ENVIRONMENT",
332
- WEBHOOK = "WEBHOOK"
291
+ PENDING_APPROVAL = "PENDING_APPROVAL"
333
292
  }
334
293
  export declare enum CDMaterialFilterQuery {
335
294
  RESOURCE = "ELIGIBLE_RESOURCES",
@@ -340,10 +299,6 @@ export interface CDMaterialServiceQueryParams {
340
299
  offset?: number;
341
300
  size?: number;
342
301
  resource?: CDMaterialResourceQuery;
343
- resourceName?: string;
344
- workflowId?: number;
345
- appId?: number;
346
- pendingForCurrentUser?: boolean;
347
302
  filter?: CDMaterialFilterQuery;
348
303
  }
349
304
  export interface DownstreamNodesEnvironmentsType {
@@ -415,7 +370,6 @@ export interface CommonNodeAttr {
415
370
  deploymentAppCreated?: boolean;
416
371
  isLast?: boolean;
417
372
  downstreamEnvironments?: DownstreamNodesEnvironmentsType[];
418
- cipipelineId?: number;
419
373
  }
420
374
  export declare enum DeploymentAppTypes {
421
375
  HELM = "helm",
@@ -464,7 +418,7 @@ export interface FilterConditionsListType {
464
418
  export interface CDMaterialsApprovalInfo {
465
419
  approvalUsers: string[];
466
420
  userApprovalConfig: UserApprovalConfigType;
467
- canApproverDeploy: boolean;
421
+ requestedUserId: number;
468
422
  }
469
423
  export interface CDMaterialsMetaInfo {
470
424
  tagsEditable: boolean;
@@ -472,16 +426,9 @@ export interface CDMaterialsMetaInfo {
472
426
  hideImageTaggingHardDelete: boolean;
473
427
  resourceFilters?: FilterConditionsListType[];
474
428
  totalCount: number;
475
- /**
476
- * This is the ID of user that has request the material
477
- */
478
- requestedUserId: number;
479
- }
480
- export interface ImagePromotionMaterialInfo {
481
- isApprovalPendingForPromotion: boolean;
482
- imagePromotionApproverEmails: string[];
429
+ canApproverDeploy: boolean;
483
430
  }
484
- export interface CDMaterialResponseType extends CDMaterialsMetaInfo, CDMaterialsApprovalInfo, ImagePromotionMaterialInfo {
431
+ export interface CDMaterialResponseType extends CDMaterialsMetaInfo, CDMaterialsApprovalInfo {
485
432
  materials: CDMaterialType[];
486
433
  }
487
434
  export interface InputDetailType {
@@ -515,6 +462,8 @@ export interface ResizableTextareaProps {
515
462
  onFocus?: (e: any) => void;
516
463
  className?: string;
517
464
  placeholder?: string;
465
+ lineHeight?: number;
466
+ padding?: number;
518
467
  disabled?: boolean;
519
468
  name?: string;
520
469
  dataTestId?: string;
@@ -1,3 +1,2 @@
1
1
  export * from './constants';
2
- export type { UserListFilterParams, BaseFilterQueryParams, UserRoleGroup } from './types';
3
- export * from './shared';
2
+ export * from './types';
@@ -19,32 +19,5 @@ export type BaseFilterQueryParams<T> = {
19
19
  showAll?: boolean;
20
20
  } & SortingParams<T>;
21
21
  export type UserListFilterParams = BaseFilterQueryParams<UserListSortableKeys> & {
22
- /**
23
- * Selected statuses (if any)
24
- */
25
22
  status: UserStatus[];
26
23
  };
27
- export interface UserRoleGroup {
28
- /**
29
- * Id of the permission group
30
- */
31
- id: number;
32
- /**
33
- * Name of the permission group
34
- */
35
- name: string;
36
- /**
37
- * Associated description for the group
38
- *
39
- * @default '-'
40
- */
41
- description?: string;
42
- /**
43
- * Status of the role group
44
- */
45
- status: UserStatus;
46
- /**
47
- * Timeout for the role group
48
- */
49
- timeToLive: string;
50
- }
@@ -2,7 +2,6 @@ import { UseBuildInfraFormProps, UseBuildInfraFormResponseType, ValidateRequestL
2
2
  export declare const validateRequestLimit: ({ request, limit, unitsMap, }: ValidateRequestLimitType) => ValidateRequestLimitResponseType;
3
3
  export declare const useBuildInfraForm: ({ name, editProfile, handleSuccessRedirection, }: UseBuildInfraFormProps) => UseBuildInfraFormResponseType;
4
4
  export declare const unitSelectorStyles: () => {
5
- container: (base: any, state: any) => any;
6
5
  menuList: (base: any) => any;
7
6
  control: (base: any, state: any) => any;
8
7
  option: (base: any, state: any) => any;
@@ -10,5 +9,4 @@ export declare const unitSelectorStyles: () => {
10
9
  valueContainer: (base: any) => any;
11
10
  loadingMessage: (base: any) => any;
12
11
  noOptionsMessage: (base: any) => any;
13
- placeholder: (base: any) => any;
14
12
  };
@@ -1,3 +1,3 @@
1
1
  import { APIResponseHandlerProps } from './types';
2
- declare const APIResponseHandler: ({ isLoading, progressingProps, customLoader, error, notAuthorized, notFoundText, reloadProps, genericSectionErrorProps, children, }: APIResponseHandlerProps) => JSX.Element;
2
+ declare const APIResponseHandler: ({ isLoading, progressingProps, error, notAuthorized, notFoundText, reloadProps, children, }: APIResponseHandlerProps) => JSX.Element;
3
3
  export default APIResponseHandler;
@@ -1,6 +1,5 @@
1
1
  import { ReactNode } from 'react';
2
2
  import { GenericEmptyStateType, ProgressingProps, ReloadType, ServerErrors } from '../../../Common';
3
- import { GenericSectionErrorStateProps } from '../GenericSectionErrorState/types';
4
3
  export interface EmptyPageTextType {
5
4
  title?: GenericEmptyStateType['title'];
6
5
  subTitle?: GenericEmptyStateType['subTitle'];
@@ -14,10 +13,6 @@ export interface APIResponseHandlerProps {
14
13
  * If loading is true, would load send these props to Progressing component
15
14
  */
16
15
  progressingProps?: ProgressingProps;
17
- /**
18
- * If given, would show this component instead of default Progressing component
19
- */
20
- customLoader?: ReactNode;
21
16
  /**
22
17
  * If true and isLoading is false would show default Reload component
23
18
  * In case error code is 404 show default 404 page using GenericEmptyState
@@ -35,10 +30,6 @@ export interface APIResponseHandlerProps {
35
30
  * If given, on Error, would load these props
36
31
  */
37
32
  reloadProps?: ReloadType;
38
- /**
39
- * If given, would show this component instead of default Error component
40
- */
41
- genericSectionErrorProps?: GenericSectionErrorStateProps;
42
33
  /**
43
34
  * If no Error and no Loading, would load this component
44
35
  */
@@ -1,5 +1,4 @@
1
1
  export declare const getCommonSelectStyle: (styleOverrides?: {}) => {
2
- container: (base: any, state: any) => any;
3
2
  menuList: (base: any) => any;
4
3
  control: (base: any, state: any) => any;
5
4
  option: (base: any, state: any) => any;
@@ -7,9 +6,6 @@ export declare const getCommonSelectStyle: (styleOverrides?: {}) => {
7
6
  valueContainer: (base: any) => any;
8
7
  loadingMessage: (base: any) => any;
9
8
  noOptionsMessage: (base: any) => any;
10
- placeholder: (base: any) => any;
11
9
  };
12
10
  export declare const getCustomOptionSelectionStyle: (styleOverrides?: {}) => (base: any, state: any) => any;
13
11
  export declare const SelectOption: (props: any) => JSX.Element;
14
- export declare const LoadingIndicator: () => JSX.Element;
15
- export declare const GroupHeading: (props: any) => JSX.Element;
@@ -1,12 +1,5 @@
1
1
  export * from './APIResponseHandler';
2
2
  export * from './ReactSelect';
3
3
  export * from './BulkSelection';
4
- export * from './ImageCard';
5
- export * from './ImageCardAccordion';
6
- export * from './ExcludedImageNode';
7
- export * from './ScannedByToolModal';
8
- export * from './Vulnerabilities';
9
4
  export * from './FilterChips';
10
- export * from './ActivityIndicator';
11
- export * from './GenericSectionErrorState';
12
5
  export * from './KeyValueList';
@@ -1,5 +1,3 @@
1
- import { MaterialInfo } from '../Common';
2
- import { GitTriggers } from './types';
3
1
  interface HighlightSearchTextProps {
4
2
  /**
5
3
  * The text to be highlighted
@@ -15,8 +13,4 @@ interface HighlightSearchTextProps {
15
13
  highlightClasses?: string;
16
14
  }
17
15
  export declare const highlightSearchText: ({ searchText, text, highlightClasses }: HighlightSearchTextProps) => string;
18
- export declare const preventBodyScroll: (lock: boolean) => void;
19
- export declare const getIsMaterialInfoAvailable: (materialInfo: MaterialInfo[]) => boolean;
20
- export declare const getGitCommitInfo: (materialInfo: MaterialInfo) => GitTriggers;
21
- export declare const caseInsensitiveStringComparator: (a: string, b: string) => number;
22
16
  export {};
@@ -1,5 +1,4 @@
1
1
  export * from './Components';
2
2
  export * from './validations';
3
3
  export * from './Helpers';
4
- export * from './constants';
5
4
  export * from './types';
@@ -1,89 +1,3 @@
1
- import { CommonNodeAttr, ResponseType, UserApprovalConfigType, VulnerabilityType } from '../Common';
2
- export declare enum RegistryType {
3
- GIT = "git",
4
- GITHUB = "github",
5
- GITLAB = "gitlab",
6
- BITBUCKET = "bitbucket",
7
- DOCKER = "docker",
8
- DOCKER_HUB = "docker-hub",
9
- ACR = "acr",
10
- QUAY = "quay",
11
- ECR = "ecr",
12
- ARTIFACT_REGISTRY = "artifact-registry",
13
- GCR = "gcr",
14
- OTHER = "other"
15
- }
16
- export declare enum DefaultUserKey {
17
- system = "system",
18
- admin = "admin"
19
- }
20
- export declare enum Severity {
21
- CRITICAL = "critical",
22
- MODERATE = "moderate",
23
- LOW = "low"
24
- }
25
- export declare enum ImagePromotionTabs {
26
- REQUEST = "request",
27
- PENDING = "pending"
28
- }
29
- export interface ArtifactPromotionMetadata {
30
- isConfigured: boolean;
31
- isApprovalPendingForPromotion: boolean;
32
- }
33
- export interface Material {
34
- gitMaterialId: number;
35
- materialName: string;
36
- }
37
- export interface WorkflowType {
38
- id: string;
39
- name: string;
40
- gitMaterials?: Material[];
41
- ciConfiguredGitMaterialId?: number;
42
- startX: number;
43
- startY: number;
44
- width: number;
45
- height: number;
46
- nodes: CommonNodeAttr[];
47
- dag: any;
48
- showTippy?: boolean;
49
- appId?: number;
50
- isSelected?: boolean;
51
- approvalConfiguredIdsMap?: Record<number, UserApprovalConfigType>;
52
- imageReleaseTags: string[];
53
- appReleaseTags?: string[];
54
- tagsEditable?: boolean;
55
- hideImageTaggingHardDelete?: boolean;
56
- artifactPromotionMetadata?: ArtifactPromotionMetadata;
57
- }
58
- export declare enum ModuleStatus {
59
- HEALTHY = "healthy",
60
- NONE = "none",
61
- UNKNOWN = "unknown",
62
- UPGRADING = "upgrading",
63
- UPGRADE_FAILED = "upgradeFailed",
64
- INSTALLED = "installed",
65
- INSTALLING = "installing",
66
- INSTALL_FAILED = "installFailed",
67
- NOT_INSTALLED = "notInstalled",
68
- TIMEOUT = "timeout"
69
- }
70
- export interface WebHookData {
71
- Id: number;
72
- EventActionType: string;
73
- Data: any;
74
- }
75
- export interface GitTriggers {
76
- Commit: string;
77
- Author: string;
78
- Date: Date | string;
79
- Message: string;
80
- Changes: string[];
81
- WebhookData: WebHookData;
82
- GitRepoUrl: string;
83
- GitRepoName: string;
84
- CiConfigureSourceType: string;
85
- CiConfigureSourceValue: string;
86
- }
87
1
  export interface RuntimeParamsAPIResponseType {
88
2
  envVariables: Record<string, string>;
89
3
  }
@@ -94,31 +8,3 @@ export declare enum CIMaterialSidebarType {
94
8
  CODE_SOURCE = "Code Source",
95
9
  PARAMETERS = "Parameters"
96
10
  }
97
- interface LastExecutionResultType {
98
- scanExecutionId: number;
99
- lastExecution: string;
100
- appId?: number;
101
- appName?: string;
102
- envId?: number;
103
- envName?: string;
104
- pod?: string;
105
- replicaSet?: string;
106
- image?: string;
107
- objectType: 'app' | 'chart';
108
- scanned: boolean;
109
- scanEnabled: boolean;
110
- severityCount: {
111
- critical: number;
112
- moderate: number;
113
- low: number;
114
- };
115
- vulnerabilities: VulnerabilityType[];
116
- scanToolId?: number;
117
- }
118
- export interface LastExecutionResponseType extends ResponseType<LastExecutionResultType> {
119
- }
120
- export interface MaterialSecurityInfoType {
121
- isScanned: boolean;
122
- isScanEnabled: boolean;
123
- }
124
- export {};
@@ -1 +1 @@
1
- .empty-state{height:100%}.empty-state img{height:40%;max-height:200px;width:auto;max-width:250px}.empty-state svg{height:40%;max-height:200px;width:auto}.empty-state h1,.empty-state h2,.empty-state h3,.empty-state h4,.empty-state h5,.empty-state h6{color:var(--N900)}.empty-state .subtitle{font-size:13px;font-weight:400;text-align:center;line-height:1.5;margin-bottom:6px}.empty-state .subtitle--text-start{text-align:start}.empty-state .cta{height:36px}.empty-state p{text-align:center;font-size:13px;color:var(--N700)}.empty-state strong{font-size:16px;margin-bottom:4px;color:var(--N900);font-weight:400}.empty-state .select-popup{height:min-content;max-height:250px;overflow:auto;padding:8px 0}.empty-state .empty-state__loader{width:34px;height:34px;margin-bottom:16px}.empty-state .empty-state__loading-text{font-size:12px;width:200px;font-weight:400;font-stretch:normal;font-style:normal;line-height:1.5;letter-spacing:normal;text-align:center;color:var(--N900)}.empty-state .button__icon{width:16px;height:16px;margin-left:8px}.drawer{position:absolute;overflow:hidden}.drawer.left,.drawer.right{top:0;bottom:0;width:0;transition:width .2s}.drawer.left.show,.drawer.right.show{min-width:var(--minWidth);width:var(--width);max-width:var(--maxWidth)}.drawer.top,.drawer.bottom{left:0;right:0;height:0;transition:height .2s}.drawer.top.show,.drawer.bottom.show{height:var(--height)}.drawer.right{right:0}.drawer.left{left:0}.drawer.top{top:0}.drawer.bottom{bottom:0}.tippy-box[data-animation=shift-toward-subtle][data-state=hidden]{opacity:0}.tippy-box[data-animation=shift-toward-subtle][data-state=hidden][data-placement^=top][data-state=hidden]{transform:translateY(-5px)}.tippy-box[data-animation=shift-toward-subtle][data-state=hidden][data-placement^=bottom][data-state=hidden]{transform:translateY(5px)}.tippy-box[data-animation=shift-toward-subtle][data-state=hidden][data-placement^=left][data-state=hidden]{transform:translate(-5px)}.tippy-box[data-animation=shift-toward-subtle][data-state=hidden][data-placement^=right][data-state=hidden]{transform:translate(5px)}.info-bar-container .info_text .success{background-color:var(--G100)}.info-bar-container .warn{background:var(--Y100);border:solid var(--Y200)}.info-bar-container .warn .warning-icon path:nth-child(2){fill:var(--Y700)}.info-bar-container .info_bar{background-color:var(--B100);border:1px solid var(--B200)}.info-bar-container .error_bar{background-color:var(--R100);border:1px solid var(--R200)}.info-bar-container .question-bar{background-color:var(--V100);border:1px solid var(--V200)}.search-bar:focus,.search-bar:focus-within{outline:none;border:solid 1px var(--B500)!important}.search-bar__input:focus,.search-bar__input:focus-visible{border:none;outline:none}.search-bar__icon{z-index:1;top:50%;left:8px;transform:translateY(-50%)}.search-bar__clear-button{right:0;top:50%;transform:translateY(-50%);z-index:1}.toggle__switch{position:relative;display:inline-block;width:100%;height:100%}.toggle__switch.disabled,.toggle__switch.disabled .toggle__slider{cursor:not-allowed}.toggle__switch input{opacity:0;width:0;height:0}.toggle__slider{position:absolute;cursor:pointer;inset:0;background-color:#ccc;transition:all .4s ease}.toggle__slider.round{border-radius:34px}.toggle__slider.round:before{border-radius:50%}.toggle__slider:before{position:absolute;content:"";height:calc(100% - 8px);width:calc(50% - 4px);left:4px;bottom:4px;background-color:#fff;transition:all .4s ease}.toggle__slider.with-icon{background-color:var(--N000)!important}.toggle__slider.with-icon svg{position:absolute;content:"";top:-1px;left:-1px;background-color:var(--N300);transition:all .4s ease}input:checked+.toggle__slider{background-color:var(--color)}input:checked+.toggle__slider:before{transform:translate(100%)}input:checked+.toggle__slider.with-icon svg{transform:translate(100%);background-color:var(--color)}input:focus+.toggle__slider{box-shadow:0 0 1px var(--color)}.modal-body--scan-details{position:fixed;top:0;right:0;background:var(--N000);width:800px}.security-tab__table{width:100%}.security-tab__table-header{border-bottom:solid 1px var(--N200)}.security-cell-header{font-size:12px;font-weight:600;line-height:1.5;letter-spacing:normal;text-transform:uppercase;color:var(--N500)}.dc__security-tab__table-row{font-size:13px;font-weight:400;line-height:1.54;letter-spacing:normal;color:var(--N900);box-shadow:inset 0 -1px #f5f5f5}.security-tab__cell-cve,.security-tab__cell-severity,.security-tab__cell-package,.security-tab__cell-current-ver,.security-tab__cell-fixed-ver,.security-tab__cell-policy{padding:10px;max-width:120px;word-wrap:break-word}.security-tab__cell-cve{padding-left:0;text-align:left;width:20%}.security-tab__cell-policy{padding-right:0}.security-tab__cell-policy--whitelist,.security-tab__cell-policy--whitelisted{color:var(--G500);text-transform:capitalize}.security-tab__cell-policy--block{color:var(--R500);text-transform:capitalize}.scanned-object__results{margin:0 20px}.radio-group{height:30px;background:white;display:flex;justify-content:center;align-items:center;padding:4px;border-radius:4px}.radio-group .label,.radio-group .radio,.radio-group .checkbox{margin:0}.radio-group .radio{height:100%;width:auto;color:var(--N400);display:flex;align-items:center}.radio-group .radio+.radio{margin-top:0}.radio-group input[type=checkbox]{display:contents;overflow:hidden;max-width:0px;height:0;opacity:0;margin:unset}.radio-group input+.radio__item-label{padding:4px 6px;height:100%;width:100%;display:flex;align-items:center;transition:all .5s;cursor:pointer}.radio-group input[type=checkbox]:checked+.radio__item-label{background:#2c3354;color:#fff;border-radius:4px}.select-button__arrow{position:absolute;right:5px}.select-button{border-radius:4px;justify-content:space-between}.select-button.default{height:40px;padding:12px 10px;background-color:#fff}.select-button:disabled{background-color:var(--N100)}.select-button--default{padding:8px 8px 8px 10px;width:100%;font-weight:500;background-color:var(--N000)}.select__label-container{display:inline-block;margin-left:auto}.select__options-container{max-height:220px;overflow:auto;color:var(--N900)}.select__option-with-subtitle{padding:9px 12px;margin-top:2px;display:flex;cursor:pointer;align-items:center}.select__option-with-subtitle--empty-state{color:var(--N500)}.select-popup{max-height:220px;overflow:auto;padding:4px 0;border-radius:4px;border:1px solid var(--N100)}.select__option{padding:10px 12px;line-height:1.5;display:flex;align-items:center;justify-content:flex-start;cursor:pointer;background-color:var(--N000)}.select__option.selected{color:var(--B500);background-color:var(--B100)}.select-button__selected-option{display:inline-block;white-space:nowrap;text-align:left}.select__check-icon{width:16px;height:16px;margin-right:12px}.option-with-subtitle__subtitle{font-size:10px;font-weight:400;font-stretch:normal;line-height:1.33;letter-spacing:normal;color:#404040}.option-group__label{padding:8px 16px;font-size:12px;font-weight:600;font-stretch:normal;font-style:normal;line-height:1.67;letter-spacing:normal;color:var(--N400);text-transform:uppercase}.select__sticky-bottom{position:sticky;bottom:-8px;margin-bottom:-8px;box-shadow:0 -1px 0 0 var(--N200);background-color:inherit;padding:11px 12px;width:100%;display:flex;align-items:center;cursor:pointer;color:var(--B500);font-size:13px}.select__sticky-bottom svg path{fill:var(--B500)}.select__all{height:36px;padding:4px 12px 4px 40px;display:flex;align-items:center;justify-content:flex-start;cursor:pointer;background-color:#f5f5f5}.popup-button:disabled .select-button{background-color:var(--N100)}.select__option-with-subtitle:hover,.select__option:hover{background-color:var(--window-bg)}.select__option-with-subtitle--empty-state:hover{background-color:unset}.rjsf-form-template__field{grid-template-columns:250px 1fr}.rjsf-form-template__additional-fields{grid-template-columns:1fr 1fr minmax(20px,auto)}.rjsf-form-template__array-field-item{grid-template-columns:1fr auto}.rjsf-form-template__array-field-item>:first-child{margin:0}.pagination-wrapper{display:flex;align-items:center;padding:0 24px;justify-content:space-between;margin:0;background-color:var(--white)}.pagination{margin-top:16px;margin-bottom:16px;padding:0}.select{display:flex;align-items:center;position:relative}.select__placeholder{font-size:12px;font-weight:400;font-style:normal;font-stretch:normal;line-height:1.5;letter-spacing:normal;color:var(--N700);margin-right:8px}.pagination__select-menu{padding:0;list-style:none;overflow:hidden;border:solid 1px var(--N200);border-radius:4px;width:64px;position:absolute;bottom:31px;background-color:var(--white)}.select__button{width:64px;background-color:transparent;border-radius:4px;border:solid 1px var(--N200);padding:5px 10px;text-align:left}.select__item{padding:5px 10px;cursor:pointer}.select__icon{margin-left:18px}.page{margin:0 8px;display:inline-block}.page-number{font-size:12px;font-weight:400;font-style:normal;font-stretch:normal;line-height:1.5;letter-spacing:normal;color:var(--N700)}.page__button{width:24px;height:24px;border-radius:8px;color:var(--B500);background-color:var(--white);padding:0;user-select:none}.page__button--icon{background-color:var(--white);color:var(--B500)}.page__button--selected{color:var(--white);background-color:var(--B500)}.page__button:disabled{opacity:.5}.select__item:hover{background-color:var(--N50)}.page__button:hover~:disabled{background-color:var(--B100)}.page__button--selected:hover{color:var(--white);background-color:var(--B500)}@media (min-width: 1024px){.pagination{margin:16px auto}}.user-role-groups__table-row{grid-template-rows:36px}.user-role-groups__table-header,.user-role-groups__table-row{grid-template-columns:20px 200px minmax(300px,1fr);column-gap:16px}.user-role-groups__table-header--with-status,.user-role-groups__table-row--with-status{grid-template-columns:20px 200px minmax(300px,1fr) 185px}.user-role-groups__table-header--with-delete,.user-role-groups__table-row--with-delete{grid-template-columns:20px 200px minmax(300px,1fr) 24px}.user-role-groups__table-header--with-status-and-delete,.user-role-groups__table-row--with-status-and-delete{grid-template-columns:20px 200px minmax(300px,1fr) 185px 24px}
1
+ .empty-state{height:100%}.empty-state img{height:40%;max-height:200px;width:auto;max-width:250px}.empty-state svg{height:40%;max-height:200px;width:auto}.empty-state h1,.empty-state h2,.empty-state h3,.empty-state h4,.empty-state h5,.empty-state h6{color:var(--N900)}.empty-state .subtitle{font-size:13px;font-weight:400;text-align:center;line-height:1.5;margin-bottom:6px}.empty-state .subtitle--text-start{text-align:start}.empty-state .cta{height:36px}.empty-state p{text-align:center;font-size:13px;color:var(--N700)}.empty-state strong{font-size:16px;margin-bottom:4px;color:var(--N900);font-weight:400}.empty-state .select-popup{height:min-content;max-height:250px;overflow:auto;padding:8px 0}.empty-state .empty-state__loader{width:34px;height:34px;margin-bottom:16px}.empty-state .empty-state__loading-text{font-size:12px;width:200px;font-weight:400;font-stretch:normal;font-style:normal;line-height:1.5;letter-spacing:normal;text-align:center;color:var(--N900)}.empty-state .button__icon{width:16px;height:16px;margin-left:8px}.drawer{position:absolute;overflow:hidden}.drawer.left,.drawer.right{top:0;bottom:0;width:0;transition:width .2s}.drawer.left.show,.drawer.right.show{min-width:var(--minWidth);width:var(--width);max-width:var(--maxWidth)}.drawer.top,.drawer.bottom{left:0;right:0;height:0;transition:height .2s}.drawer.top.show,.drawer.bottom.show{height:var(--height)}.drawer.right{right:0}.drawer.left{left:0}.drawer.top{top:0}.drawer.bottom{bottom:0}.tippy-box[data-animation=shift-toward-subtle][data-state=hidden]{opacity:0}.tippy-box[data-animation=shift-toward-subtle][data-state=hidden][data-placement^=top][data-state=hidden]{transform:translateY(-5px)}.tippy-box[data-animation=shift-toward-subtle][data-state=hidden][data-placement^=bottom][data-state=hidden]{transform:translateY(5px)}.tippy-box[data-animation=shift-toward-subtle][data-state=hidden][data-placement^=left][data-state=hidden]{transform:translate(-5px)}.tippy-box[data-animation=shift-toward-subtle][data-state=hidden][data-placement^=right][data-state=hidden]{transform:translate(5px)}.info-bar-container .info_text .success{background-color:var(--G100)}.info-bar-container .warn{background:var(--Y100);border:solid var(--Y200)}.info-bar-container .warn .warning-icon path:nth-child(2){fill:var(--Y700)}.info-bar-container .info_bar{background-color:var(--B100);border:1px solid var(--B200)}.info-bar-container .error_bar{background-color:var(--R100);border:1px solid var(--R200)}.info-bar-container .question-bar{background-color:var(--V100);border:1px solid var(--V200)}.search-bar:focus,.search-bar:focus-within{outline:none;border:solid 1px var(--B500)!important}.search-bar__input:focus,.search-bar__input:focus-visible{border:none;outline:none}.search-bar__icon{z-index:1;top:50%;left:8px;transform:translateY(-50%)}.search-bar__clear-button{right:0;top:50%;transform:translateY(-50%);z-index:1}.toggle__switch{position:relative;display:inline-block;width:100%;height:100%}.toggle__switch.disabled,.toggle__switch.disabled .toggle__slider{cursor:not-allowed}.toggle__switch input{opacity:0;width:0;height:0}.toggle__slider{position:absolute;cursor:pointer;inset:0;background-color:#ccc;transition:all .4s ease}.toggle__slider.round{border-radius:34px}.toggle__slider.round:before{border-radius:50%}.toggle__slider:before{position:absolute;content:"";height:calc(100% - 8px);width:calc(50% - 4px);left:4px;bottom:4px;background-color:#fff;transition:all .4s ease}.toggle__slider.with-icon{background-color:var(--N000)!important}.toggle__slider.with-icon svg{position:absolute;content:"";top:-1px;left:-1px;background-color:var(--N300);transition:all .4s ease}input:checked+.toggle__slider{background-color:var(--color)}input:checked+.toggle__slider:before{transform:translate(100%)}input:checked+.toggle__slider.with-icon svg{transform:translate(100%);background-color:var(--color)}input:focus+.toggle__slider{box-shadow:0 0 1px var(--color)}.modal-body--scan-details{position:fixed;top:0;right:0;background:var(--N000);width:800px}.security-tab__table{width:100%}.security-tab__table-header{border-bottom:solid 1px var(--N200)}.security-cell-header{font-size:12px;font-weight:600;line-height:1.5;letter-spacing:normal;text-transform:uppercase;color:var(--N500)}.dc__security-tab__table-row{font-size:13px;font-weight:400;line-height:1.54;letter-spacing:normal;color:var(--N900);box-shadow:inset 0 -1px #f5f5f5}.security-tab__cell-cve,.security-tab__cell-severity,.security-tab__cell-package,.security-tab__cell-current-ver,.security-tab__cell-fixed-ver,.security-tab__cell-policy{padding:10px;max-width:120px;word-wrap:break-word}.security-tab__cell-cve{padding-left:0;text-align:left;width:20%}.security-tab__cell-policy{padding-right:0}.security-tab__cell-policy--whitelist,.security-tab__cell-policy--whitelisted{color:var(--G500);text-transform:capitalize}.security-tab__cell-policy--block{color:var(--R500);text-transform:capitalize}.scanned-object__results{margin:0 20px}.radio-group{height:30px;background:white;display:flex;justify-content:center;align-items:center;padding:4px;border-radius:4px}.radio-group .label,.radio-group .radio,.radio-group .checkbox{margin:0}.radio-group .radio{height:100%;width:auto;color:var(--N400);display:flex;align-items:center}.radio-group .radio+.radio{margin-top:0}.radio-group input[type=checkbox]{display:contents;overflow:hidden;max-width:0px;height:0;opacity:0;margin:unset}.radio-group input+.radio__item-label{padding:4px 6px;height:100%;width:100%;display:flex;align-items:center;transition:all .5s;cursor:pointer}.radio-group input[type=checkbox]:checked+.radio__item-label{background:#2c3354;color:#fff;border-radius:4px}.select-button__arrow{position:absolute;right:5px}.select-button{border-radius:4px;justify-content:space-between}.select-button.default{height:40px;padding:12px 10px;background-color:#fff}.select-button:disabled{background-color:var(--N100)}.select-button--default{padding:8px 8px 8px 10px;width:100%;font-weight:500;background-color:var(--N000)}.select__label-container{display:inline-block;margin-left:auto}.select__options-container{max-height:220px;overflow:auto;color:var(--N900)}.select__option-with-subtitle{padding:9px 12px;margin-top:2px;display:flex;cursor:pointer;align-items:center}.select__option-with-subtitle--empty-state{color:var(--N500)}.select-popup{max-height:220px;overflow:auto;padding:4px 0;border-radius:4px;border:1px solid var(--N100)}.select__option{padding:10px 12px;line-height:1.5;display:flex;align-items:center;justify-content:flex-start;cursor:pointer;background-color:var(--N000)}.select__option.selected{color:var(--B500);background-color:var(--B100)}.select-button__selected-option{display:inline-block;white-space:nowrap;text-align:left}.select__check-icon{width:16px;height:16px;margin-right:12px}.option-with-subtitle__subtitle{font-size:10px;font-weight:400;font-stretch:normal;line-height:1.33;letter-spacing:normal;color:#404040}.option-group__label{padding:8px 16px;font-size:12px;font-weight:600;font-stretch:normal;font-style:normal;line-height:1.67;letter-spacing:normal;color:var(--N400);text-transform:uppercase}.select__sticky-bottom{position:sticky;bottom:-8px;margin-bottom:-8px;box-shadow:0 -1px 0 0 var(--N200);background-color:inherit;padding:11px 12px;width:100%;display:flex;align-items:center;cursor:pointer;color:var(--B500);font-size:13px}.select__sticky-bottom svg path{fill:var(--B500)}.select__all{height:36px;padding:4px 12px 4px 40px;display:flex;align-items:center;justify-content:flex-start;cursor:pointer;background-color:#f5f5f5}.popup-button:disabled .select-button{background-color:var(--N100)}.select__option-with-subtitle:hover,.select__option:hover{background-color:var(--window-bg)}.select__option-with-subtitle--empty-state:hover{background-color:unset}.rjsf-form-template__field{grid-template-columns:250px 1fr}.rjsf-form-template__additional-fields{grid-template-columns:1fr 1fr minmax(20px,auto)}.rjsf-form-template__array-field-item{grid-template-columns:1fr auto}.rjsf-form-template__array-field-item>:first-child{margin:0}.pagination-wrapper{display:flex;align-items:center;padding:0 24px;justify-content:space-between;margin:0;background-color:var(--white)}.pagination{margin-top:16px;margin-bottom:16px;padding:0}.select{display:flex;align-items:center;position:relative}.select__placeholder{font-size:12px;font-weight:400;font-style:normal;font-stretch:normal;line-height:1.5;letter-spacing:normal;color:var(--N700);margin-right:8px}.pagination__select-menu{padding:0;list-style:none;overflow:hidden;border:solid 1px var(--N200);border-radius:4px;width:64px;position:absolute;bottom:31px;background-color:var(--white)}.select__button{width:64px;background-color:transparent;border-radius:4px;border:solid 1px var(--N200);padding:5px 10px;text-align:left}.select__item{padding:5px 10px;cursor:pointer}.select__icon{margin-left:18px}.page{margin:0 8px;display:inline-block}.page-number{font-size:12px;font-weight:400;font-style:normal;font-stretch:normal;line-height:1.5;letter-spacing:normal;color:var(--N700)}.page__button{width:24px;height:24px;border-radius:8px;color:var(--B500);background-color:var(--white);padding:0;user-select:none}.page__button--icon{background-color:var(--white);color:var(--B500)}.page__button--selected{color:var(--white);background-color:var(--B500)}.page__button:disabled{opacity:.5}.select__item:hover{background-color:var(--N50)}.page__button:hover~:disabled{background-color:var(--B100)}.page__button--selected:hover{color:var(--white);background-color:var(--B500)}@media (min-width: 1024px){.pagination{margin:16px auto}}