@devtron-labs/devtron-fe-common-lib 0.0.50-beta-1 → 0.0.50
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 -1
- package/dist/Common/Constants.d.ts +1 -2
- package/dist/Common/Helper.d.ts +0 -9
- package/dist/Common/Types.d.ts +0 -64
- package/dist/Common/index.d.ts +0 -1
- package/dist/index.js +22 -1654
- package/package.json +1 -3
- package/src/Common/Api.ts +4 -2
- package/src/Common/Common.service.ts +0 -4
- package/src/Common/Constants.ts +2 -3
- package/src/Common/Helper.tsx +0 -101
- package/src/Common/Types.ts +0 -69
- package/src/Common/index.ts +0 -1
- package/dist/Common/ChartVersionAndTypeSelector.d.ts +0 -4
- package/src/Common/ChartVersionAndTypeSelector.tsx +0 -78
|
@@ -16,5 +16,4 @@ export declare function setImageTags(request: any, pipelineId: number, artifactI
|
|
|
16
16
|
export declare const genericCDMaterialsService: (serviceType: CDMaterialServiceEnum, cdMaterialID: number, stage: DeploymentNodeType, signal: AbortSignal, queryParams?: CDMaterialServiceQueryParams) => Promise<CDMaterialResponseType>;
|
|
17
17
|
export declare function extractImage(image: string): string;
|
|
18
18
|
export declare function createGitCommitUrl(url: string, revision: string): string;
|
|
19
|
-
export declare function fetchChartTemplateVersions(): Promise<ResponseType>;
|
|
20
19
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { RegistryTypeDetailType } from "./Types";
|
|
2
|
-
export declare const
|
|
2
|
+
export declare const FALLBACK_REQUEST_TIMEOUT = 60000;
|
|
3
3
|
export declare const Host: string;
|
|
4
4
|
export declare const DOCUMENTATION_HOME_PAGE = "https://docs.devtron.ai";
|
|
5
5
|
export declare const DOCUMENTATION: {
|
|
@@ -20,7 +20,6 @@ export declare const ROUTES: {
|
|
|
20
20
|
USER_CHECK_ROLE: string;
|
|
21
21
|
IMAGE_TAGGING: string;
|
|
22
22
|
CD_MATERIAL_GET: string;
|
|
23
|
-
DEPLOYMENT_TEMPLATE_LIST: string;
|
|
24
23
|
};
|
|
25
24
|
export declare enum KEY_VALUE {
|
|
26
25
|
KEY = "key",
|
package/dist/Common/Helper.d.ts
CHANGED
|
@@ -48,13 +48,4 @@ export declare const getUrlWithSearchParams: (url: string, params: Record<string
|
|
|
48
48
|
* Custom exception logger function for logging errors to sentry
|
|
49
49
|
*/
|
|
50
50
|
export declare const logExceptionToSentry: typeof Sentry.captureException;
|
|
51
|
-
export declare const customStyles: {
|
|
52
|
-
control: (base: any, state: any) => any;
|
|
53
|
-
indicatorSeparator: (base: any, state: any) => any;
|
|
54
|
-
valueContainer: (base: any, state: any) => any;
|
|
55
|
-
dropdownIndicator: (base: any, state: any) => any;
|
|
56
|
-
};
|
|
57
|
-
export declare const getFilteredChartVersions: (charts: any, selectedChartType: any) => any;
|
|
58
|
-
export declare function getUnlockedJSON(json: any, jsonPathArray: any): any;
|
|
59
|
-
export declare function getLockedJSON(json: any, jsonPathArray: string[]): any;
|
|
60
51
|
export {};
|
package/dist/Common/Types.d.ts
CHANGED
|
@@ -570,70 +570,6 @@ export interface CiPipeline {
|
|
|
570
570
|
isOffendingMandatoryPlugin?: boolean;
|
|
571
571
|
pipelineType?: string;
|
|
572
572
|
}
|
|
573
|
-
export interface InformationBarProps {
|
|
574
|
-
text: string;
|
|
575
|
-
className?: string;
|
|
576
|
-
children?: React.ReactNode;
|
|
577
|
-
}
|
|
578
|
-
export interface CodeEditorInterface {
|
|
579
|
-
value?: string;
|
|
580
|
-
lineDecorationsWidth?: number;
|
|
581
|
-
responseType?: string;
|
|
582
|
-
onChange?: (string: any) => void;
|
|
583
|
-
onBlur?: () => void;
|
|
584
|
-
onFocus?: () => void;
|
|
585
|
-
children?: any;
|
|
586
|
-
defaultValue?: string;
|
|
587
|
-
mode?: 'json' | 'yaml' | 'shell' | 'dockerfile' | 'plaintext';
|
|
588
|
-
tabSize?: number;
|
|
589
|
-
readOnly?: boolean;
|
|
590
|
-
noParsing?: boolean;
|
|
591
|
-
minHeight?: number;
|
|
592
|
-
maxHeight?: number;
|
|
593
|
-
inline?: boolean;
|
|
594
|
-
height?: number | string;
|
|
595
|
-
shebang?: string | JSX.Element;
|
|
596
|
-
diffView?: boolean;
|
|
597
|
-
loading?: boolean;
|
|
598
|
-
customLoader?: JSX.Element;
|
|
599
|
-
theme?: string;
|
|
600
|
-
original?: string;
|
|
601
|
-
focus?: boolean;
|
|
602
|
-
validatorSchema?: any;
|
|
603
|
-
isKubernetes?: boolean;
|
|
604
|
-
cleanData?: boolean;
|
|
605
|
-
chartVersion?: any;
|
|
606
|
-
}
|
|
607
|
-
export interface CodeEditorComposition {
|
|
608
|
-
Header?: React.FC<any>;
|
|
609
|
-
LanguageChanger?: React.FC<any>;
|
|
610
|
-
ThemeChanger?: React.FC<any>;
|
|
611
|
-
ValidationError?: React.FC<any>;
|
|
612
|
-
Clipboard?: React.FC<any>;
|
|
613
|
-
Warning?: React.FC<InformationBarProps>;
|
|
614
|
-
ErrorBar?: React.FC<InformationBarProps>;
|
|
615
|
-
Information?: React.FC<InformationBarProps>;
|
|
616
|
-
}
|
|
617
|
-
export interface CodeEditorHeaderComposition {
|
|
618
|
-
LanguageChanger?: React.FC<any>;
|
|
619
|
-
ThemeChanger?: React.FC<any>;
|
|
620
|
-
ValidationError?: React.FC<any>;
|
|
621
|
-
Clipboard?: React.FC<any>;
|
|
622
|
-
}
|
|
623
|
-
export interface CodeEditorHeaderInterface {
|
|
624
|
-
children?: any;
|
|
625
|
-
className?: string;
|
|
626
|
-
hideDefaultSplitHeader?: boolean;
|
|
627
|
-
}
|
|
628
|
-
export interface DeploymentChartVersionType {
|
|
629
|
-
chartRefId: number;
|
|
630
|
-
chartVersion: string;
|
|
631
|
-
chartType: string;
|
|
632
|
-
type: number;
|
|
633
|
-
}
|
|
634
|
-
export interface ChartVersionAndTypeSelectorProps {
|
|
635
|
-
setSelectedChartRefId: React.Dispatch<React.SetStateAction<number>>;
|
|
636
|
-
}
|
|
637
573
|
export declare enum PipelineType {
|
|
638
574
|
CI_PIPELINE = "CI_PIPELINE",
|
|
639
575
|
CD_PIPELINE = "CD_PIPELINE",
|
package/dist/Common/index.d.ts
CHANGED
|
@@ -42,6 +42,5 @@ export * from './Hooks';
|
|
|
42
42
|
export { AppStatus } from './AppStatus';
|
|
43
43
|
export * from './RJSF';
|
|
44
44
|
export * from './DevtronProgressing';
|
|
45
|
-
export { default as ChartVersionAndTypeSelector } from './ChartVersionAndTypeSelector';
|
|
46
45
|
export * from './AddCDButton';
|
|
47
46
|
export * from './CustomInput';
|