@devtron-labs/devtron-fe-common-lib 0.5.8-beta-3 → 0.5.8-beta-4

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 (27) hide show
  1. package/dist/Common/Common.service.d.ts +0 -1
  2. package/dist/Common/Constants.d.ts +0 -14
  3. package/dist/Shared/Components/CICDHistory/StatusFilterButtonComponent.d.ts +1 -1
  4. package/dist/Shared/Components/CICDHistory/types.d.ts +1 -0
  5. package/dist/Shared/Components/GitCommitInfoGeneric/GitCommitInfoGeneric.d.ts +1 -1
  6. package/dist/Shared/Helpers.d.ts +0 -14
  7. package/dist/Shared/Services/app.types.d.ts +1 -2
  8. package/dist/Shared/constants.d.ts +1 -0
  9. package/dist/assets/index.css +1 -1
  10. package/dist/{cssMode-4uKuaTjf.js → cssMode-CHdDtZsz.js} +1 -1
  11. package/dist/{freemarker2-BAKI7PU1.js → freemarker2-BL5tAToG.js} +1 -1
  12. package/dist/{handlebars-CxrMU7l-.js → handlebars-BcdbPo9l.js} +1 -1
  13. package/dist/{html-Bls0LXlZ.js → html-Y3WQ5AkQ.js} +1 -1
  14. package/dist/{htmlMode-C9NOzAkH.js → htmlMode-DMOlMILf.js} +1 -1
  15. package/dist/{index-DteCD2Kl.js → index-Lg81ust1.js} +16659 -16629
  16. package/dist/index.js +353 -357
  17. package/dist/{javascript-DsLYx2E7.js → javascript-BVIYzj0o.js} +1 -1
  18. package/dist/{jsonMode-BuES7ZBU.js → jsonMode-0ohtwgmj.js} +1 -1
  19. package/dist/{liquid-CgyzJ_2b.js → liquid-BXXyFKL5.js} +1 -1
  20. package/dist/{mdx-CuocaQbi.js → mdx-DDgWfQMF.js} +1 -1
  21. package/dist/{python-JIVP1CL7.js → python-bwKbJDfj.js} +1 -1
  22. package/dist/{razor-ANSxWzI4.js → razor-C8pq7U83.js} +1 -1
  23. package/dist/{tsMode-p8fe4lL1.js → tsMode-BQ4PSzlK.js} +1 -1
  24. package/dist/{typescript-C4wR5A-2.js → typescript-CWtH5-PT.js} +1 -1
  25. package/dist/{xml-DXzVCaAZ.js → xml-DOhVVlIb.js} +1 -1
  26. package/dist/{yaml-CwXfri60.js → yaml-BZM9IZfu.js} +1 -1
  27. package/package.json +1 -1
@@ -27,5 +27,4 @@ export declare function getClusterListMin(): Promise<ResponseType<any>>;
27
27
  export declare const getResourceGroupListRaw: (clusterId: string) => Promise<ResponseType<ApiResourceType>>;
28
28
  export declare function getNamespaceListMin(clusterIdsCsv: string): Promise<EnvironmentListHelmResponse>;
29
29
  export declare function getWebhookEventsForEventId(eventId: string | number): Promise<ResponseType<any>>;
30
- export declare const getGitBranchUrl: (gitUrl: string, branchName: string) => string | null;
31
30
  export {};
@@ -291,17 +291,3 @@ export declare const VULNERABILITIES_SORT_PRIORITY: {
291
291
  unknown: number;
292
292
  };
293
293
  export declare const IS_PLATFORM_MAC_OS: boolean;
294
- /**
295
- * Git provider types
296
- */
297
- export declare enum GitProviderType {
298
- GITHUB = "github",
299
- GITLAB = "gitlab",
300
- BITBUCKET = "bitbucket",
301
- AZURE = "azure",
302
- GITEA = "gitea"
303
- }
304
- /**
305
- * Formats the schema removing any irregularity in the existing schema
306
- */
307
- export declare const getFormattedSchema: (schema?: string) => string;
@@ -1,2 +1,2 @@
1
1
  import { StatusFilterButtonType } from './types';
2
- export declare const StatusFilterButtonComponent: ({ nodes, handleFilterClick }: StatusFilterButtonType) => JSX.Element;
2
+ export declare const StatusFilterButtonComponent: ({ nodes, selectedTab, handleFilterClick }: StatusFilterButtonType) => JSX.Element;
@@ -425,6 +425,7 @@ export interface AppStatusDetailsChartType {
425
425
  }
426
426
  export interface StatusFilterButtonType {
427
427
  nodes: Array<Node>;
428
+ selectedTab: string;
428
429
  handleFilterClick?: (selectedFilter: string) => void;
429
430
  }
430
431
  export declare enum NodeStatus {
@@ -1,3 +1,3 @@
1
1
  import { GitCommitInfoGenericProps } from './types';
2
- declare const GitCommitInfoGeneric: ({ materialSourceType, materialSourceValue, commitInfo, selectedCommitInfo, materialUrl, showMaterialInfoHeader, index, isExcluded, }: GitCommitInfoGenericProps) => JSX.Element;
2
+ declare const GitCommitInfoGeneric: ({ materialSourceType, materialSourceValue, commitInfo, selectedCommitInfo, materialUrl, showMaterialInfoHeader, canTriggerBuild, index, isExcluded, }: GitCommitInfoGenericProps) => JSX.Element;
3
3
  export default GitCommitInfoGeneric;
@@ -1,6 +1,5 @@
1
1
  import { ReactElement } from 'react';
2
2
  import { Pair } from 'yaml';
3
- import { MaterialHistoryType } from '@Shared/Services/app.types';
4
3
  import { MaterialInfo, SortingOrder, UserApprovalConfigType } from '../Common';
5
4
  import { GitTriggers, IntersectionChangeHandler, IntersectionOptions, WebhookEventNameType } from './types';
6
5
  import { AggregatedNodes, DeploymentStatusDetailsBreakdownDataType, DeploymentStatusDetailsType, PodMetadatum } from './Components';
@@ -64,17 +63,4 @@ export declare const getDefaultValueFromType: (value: unknown) => {};
64
63
  * and the values are arrays of objects that share the same key value.
65
64
  */
66
65
  export declare const groupArrayByObjectKey: <T extends Record<string, any>, K extends keyof T>(array: T[], key: K) => Record<string, T[]>;
67
- /**
68
- * @description - Function to get the lower case object
69
- * @param input - The input object
70
- * @returns Record<string, any>
71
- */
72
- export declare const getLowerCaseObject: (input: any) => Record<string, any>;
73
- /**
74
- * @description - Function to get the webhook date
75
- * @param materialSourceType - The type of material source (e.g., WEBHOOK)
76
- * @param history - The history object containing commit information
77
- * @returns - Formatted webhook date if available, otherwise an empty string
78
- */
79
- export declare const getWebhookDate: (materialSourceType: string, history: MaterialHistoryType) => string;
80
66
  export {};
@@ -12,7 +12,7 @@ interface MaterialHistoryDTO {
12
12
  Changes: unknown[];
13
13
  WebhookData: WebhookDataType;
14
14
  }
15
- export interface MaterialHistoryType {
15
+ interface MaterialHistoryType {
16
16
  commitURL: string;
17
17
  commit: MaterialHistoryDTO['Commit'];
18
18
  author: MaterialHistoryDTO['Author'];
@@ -56,7 +56,6 @@ export interface CIMaterialType extends Pick<CIMaterialDTO, 'id' | 'gitMaterialI
56
56
  gitURL: CIMaterialDTO['url'];
57
57
  history: MaterialHistoryType[];
58
58
  isSelected: boolean;
59
- gitMaterialUrl?: string;
60
59
  }
61
60
  interface ImageCommentDTO {
62
61
  id: number;
@@ -413,3 +413,4 @@ export declare const CD_MATERIAL_SIDEBAR_TABS: OptionType<CDMaterialSidebarType,
413
413
  export declare const TRIGGER_STATUS_PROGRESSING: string[];
414
414
  export declare const CONFIGURATION_TYPE_VALUES: ConfigurationType[];
415
415
  export declare const DEFAULT_LOCKED_KEYS_CONFIG: Readonly<ConfigKeysWithLockType>;
416
+ export declare const ALL_RESOURCE_KIND_FILTER = "all";