@devtron-labs/devtron-fe-common-lib 0.6.5-beta-1 → 0.6.5-beta-2
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/Common.service.d.ts +0 -7
- package/dist/Common/Constants.d.ts +0 -14
- package/dist/Common/Dialogs/ConfirmationDialog.d.ts +1 -1
- package/dist/Common/Dialogs/Types.d.ts +1 -0
- package/dist/Shared/Components/CICDHistory/CiPipelineSourceConfig.d.ts +11 -2
- package/dist/Shared/Components/CICDHistory/types.d.ts +0 -11
- package/dist/Shared/Components/GitCommitInfoGeneric/GitCommitInfoGeneric.d.ts +1 -1
- package/dist/Shared/Helpers.d.ts +0 -14
- package/dist/Shared/Services/app.types.d.ts +1 -2
- package/dist/assets/index.css +1 -1
- package/dist/{cssMode-CDcgWKn4.js → cssMode-DkEgC3SA.js} +1 -1
- package/dist/{freemarker2-DBei-0Bv.js → freemarker2-C0XBE-oL.js} +1 -1
- package/dist/{handlebars-BQBxcaXq.js → handlebars-Db_upPn-.js} +1 -1
- package/dist/{html-Bm2sNIjZ.js → html-xNzfdUXd.js} +1 -1
- package/dist/{htmlMode-Z6f2LNMV.js → htmlMode-CdmDjxux.js} +1 -1
- package/dist/{index-q4FNZpRb.js → index-CCEdqTBh.js} +16214 -16180
- package/dist/index.js +414 -419
- package/dist/{javascript-CXBXJaP1.js → javascript-DlvMqmOd.js} +1 -1
- package/dist/{jsonMode-CrPOjaqO.js → jsonMode-Dv9bvaOp.js} +1 -1
- package/dist/{liquid-Qiz4MNTS.js → liquid-D3l90TuO.js} +1 -1
- package/dist/{mdx-DPbCGEWO.js → mdx-DKdHuY4b.js} +1 -1
- package/dist/{python-aW_9qFKq.js → python-B_f6JpBB.js} +1 -1
- package/dist/{razor-6IUKW2_W.js → razor-bsibnziI.js} +1 -1
- package/dist/{tsMode-CcTwIO3m.js → tsMode-yP8aC4E3.js} +1 -1
- package/dist/{typescript-D5eZZEgT.js → typescript-BuPmTecW.js} +1 -1
- package/dist/{xml-BoNAy2Wy.js → xml-BSLHXg8I.js} +1 -1
- package/dist/{yaml-C3A9A7AI.js → yaml-CRzRVtQU.js} +1 -1
- package/package.json +1 -1
|
@@ -27,11 +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
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @param gitUrl Git URL of the repository
|
|
33
|
-
* @param branchName Branch name
|
|
34
|
-
* @returns URL to the branch in the Git repository
|
|
35
|
-
*/
|
|
36
|
-
export declare const getGitBranchUrl: (gitUrl: string, branchName: string) => string | null;
|
|
37
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,6 +1,6 @@
|
|
|
1
1
|
import { ConfirmationDialogBodyType, ConfirmationDialogButtonGroupType, ConfirmationDialogIconType, ConfirmationDialogType } from './Types';
|
|
2
2
|
declare const ConfirmationDialog: {
|
|
3
|
-
({ className, children }: ConfirmationDialogType): JSX.Element;
|
|
3
|
+
({ className, children, close }: ConfirmationDialogType): JSX.Element;
|
|
4
4
|
Icon: ({ src, className }: ConfirmationDialogIconType) => JSX.Element;
|
|
5
5
|
Body: ({ title, subtitle, children }: ConfirmationDialogBodyType) => JSX.Element;
|
|
6
6
|
ButtonGroup: ({ children }: ConfirmationDialogButtonGroupType) => JSX.Element;
|
|
@@ -1,2 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
export interface CIPipelineSourceConfigInterface {
|
|
2
|
+
sourceType: any;
|
|
3
|
+
sourceValue: any;
|
|
4
|
+
showTooltip?: boolean;
|
|
5
|
+
showIcons?: boolean;
|
|
6
|
+
baseText?: string;
|
|
7
|
+
regex?: any;
|
|
8
|
+
isRegex?: boolean;
|
|
9
|
+
primaryBranchAfterRegex?: string;
|
|
10
|
+
}
|
|
11
|
+
export declare const CiPipelineSourceConfig: ({ sourceType, sourceValue, showTooltip, showIcons, baseText, regex, isRegex, primaryBranchAfterRegex, }: CIPipelineSourceConfigInterface) => JSX.Element;
|
|
@@ -666,15 +666,4 @@ export type CreateMarkupPropsType = {
|
|
|
666
666
|
export type TriggerHistoryFilterCriteriaType = `${string}|${string}|${string}`[];
|
|
667
667
|
export declare const terminalStatus: Set<string>;
|
|
668
668
|
export declare const statusSet: Set<string>;
|
|
669
|
-
export interface CIPipelineSourceConfigInterface {
|
|
670
|
-
sourceType: any;
|
|
671
|
-
sourceValue: any;
|
|
672
|
-
showTooltip?: boolean;
|
|
673
|
-
showIcons?: boolean;
|
|
674
|
-
baseText?: string;
|
|
675
|
-
regex?: any;
|
|
676
|
-
isRegex?: boolean;
|
|
677
|
-
primaryBranchAfterRegex?: string;
|
|
678
|
-
rootClassName?: string;
|
|
679
|
-
}
|
|
680
669
|
export {};
|
|
@@ -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;
|
package/dist/Shared/Helpers.d.ts
CHANGED
|
@@ -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
|
-
|
|
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;
|