@devtron-labs/devtron-fe-common-lib 0.0.82-beta-15 → 0.0.83-beta-1
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/AppStatus/constants.d.ts +20 -0
- package/dist/Common/BreadCrumb/BreadcrumbStore.d.ts +2 -0
- package/dist/Common/BreadCrumb/Types.d.ts +4 -0
- package/dist/Common/CodeEditor/CodeEditor.d.ts +1 -44
- package/dist/Common/CodeEditor/CodeEditor.reducer.d.ts +36 -0
- package/dist/Common/CodeEditor/index.d.ts +2 -0
- package/dist/Common/CodeEditor/types.d.ts +86 -0
- package/dist/Common/Common.service.d.ts +6 -1
- package/dist/Common/Constants.d.ts +10 -19
- package/dist/Common/ErrorPage.d.ts +1 -1
- package/dist/Common/Helper.d.ts +0 -9
- package/dist/Common/Hooks/index.d.ts +0 -1
- package/dist/Common/Hooks/useUrlFilters/types.d.ts +1 -1
- package/dist/Common/SearchBar/SearchBar.component.d.ts +1 -1
- package/dist/Common/SearchBar/types.d.ts +0 -4
- package/dist/Common/Types.d.ts +22 -80
- package/dist/Common/index.d.ts +2 -1
- package/dist/Pages/ResourceBrowser/Helper.d.ts +3 -0
- package/dist/Pages/ResourceBrowser/ResourceBrowser.Types.d.ts +20 -0
- package/dist/Pages/ResourceBrowser/index.d.ts +2 -0
- package/dist/Pages/index.d.ts +1 -0
- package/dist/Shared/Components/APIResponseHandler/APIResponseHandler.d.ts +1 -1
- package/dist/Shared/Components/APIResponseHandler/types.d.ts +2 -7
- package/dist/Shared/Components/ButtonWithSelector/ButtonWithSelector.d.ts +1 -1
- package/dist/Shared/Components/ButtonWithSelector/types.d.ts +0 -1
- package/dist/Shared/Components/FeatureDescription/FeatureDescriptionModal.d.ts +3 -0
- package/dist/Shared/Components/FeatureDescription/FeatureTitleWithInfo.d.ts +4 -0
- package/dist/Shared/Components/FeatureDescription/constant.d.ts +8 -0
- package/dist/Shared/Components/FeatureDescription/index.d.ts +2 -0
- package/dist/Shared/Components/FeatureDescription/types.d.ts +20 -0
- package/dist/Shared/Components/FeatureDescription/utils.d.ts +6 -0
- package/dist/Shared/Components/FilterChips/FilterChips.component.d.ts +1 -1
- package/dist/Shared/Components/FilterChips/types.d.ts +3 -11
- package/dist/Shared/Components/GenericSectionErrorState/GenericSectionErrorState.component.d.ts +1 -1
- package/dist/Shared/Components/GenericSectionErrorState/index.d.ts +0 -1
- package/dist/Shared/Components/GenericSectionErrorState/types.d.ts +0 -6
- package/dist/Shared/Components/Header/PageHeader.d.ts +1 -1
- package/dist/Shared/Components/Header/types.d.ts +9 -7
- package/dist/Shared/Components/index.d.ts +1 -1
- package/dist/Shared/Helpers.d.ts +3 -6
- package/dist/Shared/constants.d.ts +0 -57
- package/dist/Shared/index.d.ts +1 -0
- package/dist/Shared/types.d.ts +56 -181
- package/dist/Shared/validations.d.ts +1 -0
- package/dist/{abap-9f67f57a.js → abap-5361cc9f.js} +1 -1
- package/dist/{apex-ff62e532.js → apex-f9413e6f.js} +1 -1
- package/dist/assets/editor.worker-60ba9509.js +12 -0
- package/dist/assets/index.css +1 -1
- package/dist/assets/yaml.worker-cc1a551a.js +471 -0
- package/dist/{azcli-31e64a7f.js → azcli-36f2cb5e.js} +1 -1
- package/dist/{bat-0ffe897e.js → bat-6b05202d.js} +1 -1
- package/dist/{bicep-3414a2b1.js → bicep-788415e3.js} +1 -1
- package/dist/{cameligo-df1f3f25.js → cameligo-4e85ec93.js} +1 -1
- package/dist/{clojure-65b0f010.js → clojure-40fa5799.js} +1 -1
- package/dist/{coffee-437f0fba.js → coffee-f557f5e0.js} +1 -1
- package/dist/{cpp-66843dd5.js → cpp-ebbf7759.js} +1 -1
- package/dist/{csharp-621d9a49.js → csharp-1616f566.js} +1 -1
- package/dist/{csp-de0d5244.js → csp-5f0bc3c4.js} +1 -1
- package/dist/{css-7cd5ed4c.js → css-2b1aec9b.js} +1 -1
- package/dist/{cssMode-497cae5d.js → cssMode-602f9e2b.js} +2 -2
- package/dist/{cypher-70ad96fe.js → cypher-b12b4ba8.js} +1 -1
- package/dist/{dart-33ae3739.js → dart-e0d70030.js} +1 -1
- package/dist/{dockerfile-f2274a50.js → dockerfile-f9d4b2b0.js} +1 -1
- package/dist/{ecl-3b8294a3.js → ecl-5b91fdec.js} +1 -1
- package/dist/{elixir-b9dcc73a.js → elixir-deffd5a6.js} +9 -9
- package/dist/{flow9-bdde8316.js → flow9-84cd00d7.js} +1 -1
- package/dist/{freemarker2-c52bf224.js → freemarker2-c6d96c25.js} +2 -2
- package/dist/{fsharp-eac2e449.js → fsharp-d296151f.js} +1 -1
- package/dist/{go-d12ed8d4.js → go-7e72ff3b.js} +1 -1
- package/dist/{graphql-c7356b69.js → graphql-a93568a1.js} +1 -1
- package/dist/{handlebars-39fc636e.js → handlebars-ba6a9670.js} +2 -2
- package/dist/{hcl-e883a0d4.js → hcl-b3994d8f.js} +1 -1
- package/dist/{html-801255cd.js → html-21cc7f4e.js} +2 -2
- package/dist/{htmlMode-492ccae1.js → htmlMode-85c08811.js} +2 -2
- package/dist/{index-8e795a39.js → index-004be56e.js} +110590 -111450
- package/dist/index.js +294 -332
- package/dist/{ini-425ab711.js → ini-df84509a.js} +1 -1
- package/dist/{java-2bc0fd68.js → java-fba3d046.js} +1 -1
- package/dist/{javascript-01941c8d.js → javascript-512904ad.js} +2 -2
- package/dist/{jsonMode-aa18a8d0.js → jsonMode-25c71cc4.js} +2 -2
- package/dist/{julia-1c932615.js → julia-cefd45f6.js} +1 -1
- package/dist/{kotlin-1ab839c8.js → kotlin-b87b6942.js} +1 -1
- package/dist/{less-6fe856f5.js → less-8a7f37bc.js} +1 -1
- package/dist/{lexon-4955ac52.js → lexon-cb95cd13.js} +1 -1
- package/dist/{liquid-4987bdc3.js → liquid-558d7dd4.js} +2 -2
- package/dist/{lua-3cca0047.js → lua-6d5b3ea4.js} +1 -1
- package/dist/{m3-132e9cb6.js → m3-d0daf5d0.js} +1 -1
- package/dist/{markdown-ea59a0c1.js → markdown-48bb0c6f.js} +1 -1
- package/dist/mdx-4e8b75ad.js +171 -0
- package/dist/{mips-19811f4b.js → mips-20dcf886.js} +1 -1
- package/dist/{msdax-69954a10.js → msdax-e9759e23.js} +1 -1
- package/dist/{mysql-82088e5d.js → mysql-95f335b2.js} +1 -1
- package/dist/{objective-c-1976eccc.js → objective-c-ad0cfb47.js} +1 -1
- package/dist/{pascal-8ef177cb.js → pascal-eda19dc3.js} +1 -1
- package/dist/{pascaligo-bc517b9e.js → pascaligo-b7e0c89b.js} +1 -1
- package/dist/{perl-8b93582c.js → perl-bbe5d32a.js} +1 -1
- package/dist/{pgsql-00c11a6d.js → pgsql-7ebaee1c.js} +1 -1
- package/dist/{php-4c8c276f.js → php-2526756d.js} +1 -1
- package/dist/{pla-e9b4ffb1.js → pla-9ebd6f68.js} +1 -1
- package/dist/{postiats-2071af8c.js → postiats-9ac05cf6.js} +1 -1
- package/dist/{powerquery-8e388ceb.js → powerquery-1cae399d.js} +1 -1
- package/dist/{powershell-e35db398.js → powershell-093b5b87.js} +1 -1
- package/dist/{protobuf-a24b9176.js → protobuf-37993cbc.js} +1 -1
- package/dist/{pug-2c94d9b8.js → pug-c2a5db5f.js} +1 -1
- package/dist/{python-c3709d2a.js → python-65d02f0b.js} +2 -2
- package/dist/{qsharp-d730d7fe.js → qsharp-1450aac5.js} +1 -1
- package/dist/{r-be193556.js → r-a0642b90.js} +1 -1
- package/dist/{razor-284fc6a5.js → razor-eba1a8dd.js} +2 -2
- package/dist/{redis-9690c6ac.js → redis-405cb63d.js} +1 -1
- package/dist/{redshift-6bdcdeaa.js → redshift-830f82de.js} +1 -1
- package/dist/{restructuredtext-a08c1d20.js → restructuredtext-d81f5ef4.js} +1 -1
- package/dist/{ruby-2247692b.js → ruby-d607b87e.js} +1 -1
- package/dist/{rust-1dffb4d5.js → rust-86e74dbb.js} +1 -1
- package/dist/{sb-136598e9.js → sb-b7e5010d.js} +1 -1
- package/dist/{scala-b1100fed.js → scala-a4d4a3c6.js} +1 -1
- package/dist/{scheme-038c8094.js → scheme-81927e94.js} +1 -1
- package/dist/{scss-700d1b52.js → scss-3f112fcd.js} +1 -1
- package/dist/{shell-86c16e0f.js → shell-d795bcaa.js} +1 -1
- package/dist/{solidity-c05fdf3c.js → solidity-5b556d3e.js} +1 -1
- package/dist/{sophia-cd645d71.js → sophia-1da55998.js} +1 -1
- package/dist/{sparql-01d9ec9c.js → sparql-ac34318e.js} +1 -1
- package/dist/{sql-4c33df41.js → sql-eef6393b.js} +1 -1
- package/dist/{st-52cf1408.js → st-758b1972.js} +3 -2
- package/dist/{swift-13c792ba.js → swift-63cb1847.js} +1 -1
- package/dist/{systemverilog-0bd8b730.js → systemverilog-2538c608.js} +1 -1
- package/dist/{tcl-463d7c75.js → tcl-53e6282a.js} +1 -1
- package/dist/{tsMode-2501ec00.js → tsMode-36f87b75.js} +2 -2
- package/dist/{twig-0d98f5ec.js → twig-80c3dc23.js} +2 -2
- package/dist/{typescript-922bae20.js → typescript-74998c13.js} +2 -2
- package/dist/{vb-3a2b0a51.js → vb-32089525.js} +1 -1
- package/dist/{wgsl-b2ddb3e4.js → wgsl-e681d5a0.js} +1 -1
- package/dist/{xml-ebe7b3ab.js → xml-388ad29b.js} +2 -2
- package/dist/{yaml-91cea596.js → yaml-4e406163.js} +2 -2
- package/package.json +18 -19
- package/dist/Common/Hooks/useStateFilters/index.d.ts +0 -2
- package/dist/Common/Hooks/useStateFilters/types.d.ts +0 -6
- package/dist/Common/Hooks/useStateFilters/useStateFilters.d.ts +0 -17
- package/dist/Shared/Components/CICDHistory/AppStatusDetailsChart.d.ts +0 -4
- package/dist/Shared/Components/CICDHistory/Artifacts.d.ts +0 -5
- package/dist/Shared/Components/CICDHistory/CDEmptyState.d.ts +0 -14
- package/dist/Shared/Components/CICDHistory/CiPipelineSourceConfig.d.ts +0 -11
- package/dist/Shared/Components/CICDHistory/DeploymentDetailSteps.d.ts +0 -4
- package/dist/Shared/Components/CICDHistory/DeploymentHistoryDiff/DeploymentHistoryConfigList.component.d.ts +0 -10
- package/dist/Shared/Components/CICDHistory/DeploymentHistoryDiff/DeploymentHistoryDetailedView.d.ts +0 -4
- package/dist/Shared/Components/CICDHistory/DeploymentHistoryDiff/DeploymentHistoryDiffView.d.ts +0 -4
- package/dist/Shared/Components/CICDHistory/DeploymentHistoryDiff/DeploymentHistoryHeader.d.ts +0 -4
- package/dist/Shared/Components/CICDHistory/DeploymentHistoryDiff/DeploymentHistorySidebar.d.ts +0 -4
- package/dist/Shared/Components/CICDHistory/DeploymentHistoryDiff/types.d.ts +0 -29
- package/dist/Shared/Components/CICDHistory/DeploymentHistoryDiff/utils.d.ts +0 -10
- package/dist/Shared/Components/CICDHistory/DeploymentStatusBreakdown.d.ts +0 -4
- package/dist/Shared/Components/CICDHistory/DeploymentStatusDetailRow.d.ts +0 -3
- package/dist/Shared/Components/CICDHistory/DetectBottom.d.ts +0 -4
- package/dist/Shared/Components/CICDHistory/ErrorInfoStatusBar.d.ts +0 -3
- package/dist/Shared/Components/CICDHistory/GitCommitInfoGeneric.d.ts +0 -12
- package/dist/Shared/Components/CICDHistory/GitMaterialInfoHeader.d.ts +0 -9
- package/dist/Shared/Components/CICDHistory/History.components.d.ts +0 -5
- package/dist/Shared/Components/CICDHistory/LogsRenderer.d.ts +0 -4
- package/dist/Shared/Components/CICDHistory/Sidebar.d.ts +0 -5
- package/dist/Shared/Components/CICDHistory/StatusFilterButtonComponent.d.ts +0 -3
- package/dist/Shared/Components/CICDHistory/TriggerOutput.d.ts +0 -6
- package/dist/Shared/Components/CICDHistory/constants.d.ts +0 -284
- package/dist/Shared/Components/CICDHistory/index.d.ts +0 -6
- package/dist/Shared/Components/CICDHistory/service.d.ts +0 -29
- package/dist/Shared/Components/CICDHistory/types.d.ts +0 -558
- package/dist/Shared/Components/CICDHistory/utils.d.ts +0 -13
- package/dist/Shared/Components/Error/ErrorBar.d.ts +0 -4
- package/dist/Shared/Components/Error/types.d.ts +0 -9
- package/dist/Shared/Components/Error/utils.d.ts +0 -3
- package/dist/Shared/Components/ShowMoreText/ShowMoreText.d.ts +0 -5
- package/dist/assets/editor.worker-d26000ef.js +0 -9
- package/dist/assets/json.worker-f23a4654.js +0 -40
- package/dist/assets/yaml.worker-bbf7a2a6.js +0 -467
|
@@ -3,5 +3,5 @@ import { FilterChipsProps } from './types';
|
|
|
3
3
|
/**
|
|
4
4
|
* Component for rendering the applied filter chips
|
|
5
5
|
*/
|
|
6
|
-
declare const FilterChips:
|
|
6
|
+
declare const FilterChips: ({ filterConfig, clearFilters, onRemoveFilter, getFormattedLabel, getFormattedValue, }: FilterChipsProps) => JSX.Element;
|
|
7
7
|
export default FilterChips;
|
|
@@ -22,11 +22,11 @@ export interface FilterChipProps {
|
|
|
22
22
|
*/
|
|
23
23
|
getFormattedValue?: (filterKey: string, filterValue: unknown) => ReactNode;
|
|
24
24
|
}
|
|
25
|
-
export interface FilterChipsProps
|
|
25
|
+
export interface FilterChipsProps extends Pick<FilterChipProps, 'getFormattedLabel' | 'getFormattedValue'> {
|
|
26
26
|
/**
|
|
27
27
|
* Current filter configuration
|
|
28
28
|
*/
|
|
29
|
-
filterConfig:
|
|
29
|
+
filterConfig: Record<string, unknown>;
|
|
30
30
|
/**
|
|
31
31
|
* Callback handler for removing the filters
|
|
32
32
|
*/
|
|
@@ -34,13 +34,5 @@ export interface FilterChipsProps<T = Record<string, unknown>> extends Pick<Filt
|
|
|
34
34
|
/**
|
|
35
35
|
* Handler for removing a applied filter
|
|
36
36
|
*/
|
|
37
|
-
onRemoveFilter: (filterConfig:
|
|
38
|
-
/**
|
|
39
|
-
* Class name for the container
|
|
40
|
-
*/
|
|
41
|
-
className?: string;
|
|
42
|
-
/**
|
|
43
|
-
* Class name for the clear filter button
|
|
44
|
-
*/
|
|
45
|
-
clearButtonClassName?: string;
|
|
37
|
+
onRemoveFilter: (filterConfig: Record<string, unknown>) => void;
|
|
46
38
|
}
|
package/dist/Shared/Components/GenericSectionErrorState/GenericSectionErrorState.component.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { GenericSectionErrorStateProps } from './types';
|
|
2
2
|
|
|
3
|
-
declare const GenericSectionErrorState: ({ reload, withBorder, title, subTitle, description, buttonText, rootClassName,
|
|
3
|
+
declare const GenericSectionErrorState: ({ reload, withBorder, title, subTitle, description, buttonText, rootClassName, }: GenericSectionErrorStateProps) => JSX.Element;
|
|
4
4
|
export default GenericSectionErrorState;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { PageHeaderType } from './types';
|
|
2
2
|
|
|
3
|
-
declare const PageHeader: ({ headerName, additionalHeaderInfo,
|
|
3
|
+
declare const PageHeader: ({ headerName, additionalHeaderInfo, showTabs, renderHeaderTabs, isBreadcrumbs, breadCrumbs, renderActionButtons, showCloseButton, onClose, markAsBeta, showAnnouncementHeader, tippyProps, }: PageHeaderType) => JSX.Element;
|
|
4
4
|
export default PageHeader;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ResponseType } from '../../../Common';
|
|
1
|
+
import { ResponseType, TippyCustomizedProps } from '../../../Common';
|
|
2
2
|
|
|
3
3
|
export declare enum InstallationType {
|
|
4
4
|
OSS_KUBECTL = "oss_kubectl",
|
|
@@ -19,21 +19,23 @@ export declare enum ModuleStatus {
|
|
|
19
19
|
}
|
|
20
20
|
export interface PageHeaderType {
|
|
21
21
|
headerName?: string;
|
|
22
|
-
additionalHeaderInfo?: () => JSX.Element;
|
|
23
|
-
isTippyShown?: boolean;
|
|
24
|
-
tippyRedirectLink?: string;
|
|
25
22
|
showTabs?: boolean;
|
|
23
|
+
additionalHeaderInfo?: () => JSX.Element;
|
|
26
24
|
renderHeaderTabs?: () => JSX.Element;
|
|
27
25
|
isBreadcrumbs?: boolean;
|
|
28
26
|
breadCrumbs?: () => JSX.Element;
|
|
29
|
-
TippyIcon?: React.FunctionComponent<any>;
|
|
30
|
-
tippyMessage?: string;
|
|
31
|
-
onClickTippybutton?: () => void;
|
|
32
27
|
renderActionButtons?: () => JSX.Element;
|
|
33
28
|
showCloseButton?: boolean;
|
|
34
29
|
onClose?: () => void;
|
|
35
30
|
markAsBeta?: boolean;
|
|
36
31
|
showAnnouncementHeader?: boolean;
|
|
32
|
+
tippyProps?: Pick<TippyCustomizedProps, 'additionalContent'> & {
|
|
33
|
+
isTippyCustomized?: boolean;
|
|
34
|
+
tippyRedirectLink?: string;
|
|
35
|
+
TippyIcon?: React.FunctionComponent<any>;
|
|
36
|
+
tippyMessage?: string;
|
|
37
|
+
onClickTippyButton?: () => void;
|
|
38
|
+
};
|
|
37
39
|
}
|
|
38
40
|
export interface ServerInfo {
|
|
39
41
|
currentVersion: string;
|
package/dist/Shared/Helpers.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { GitTriggers,
|
|
2
|
-
import { MaterialInfo
|
|
1
|
+
import { GitTriggers, WebhookEventNameType } from './types';
|
|
2
|
+
import { MaterialInfo } from '../Common';
|
|
3
3
|
|
|
4
4
|
interface HighlightSearchTextProps {
|
|
5
5
|
/**
|
|
@@ -19,10 +19,7 @@ export declare const highlightSearchText: ({ searchText, text, highlightClasses
|
|
|
19
19
|
export declare const preventBodyScroll: (lock: boolean) => void;
|
|
20
20
|
export declare const getIsMaterialInfoAvailable: (materialInfo: MaterialInfo[]) => boolean;
|
|
21
21
|
export declare const getGitCommitInfo: (materialInfo: MaterialInfo) => GitTriggers;
|
|
22
|
-
export declare const
|
|
23
|
-
export declare const numberComparatorBySortOrder: (a: number, b: number, sortOrder?: SortingOrder) => number;
|
|
22
|
+
export declare const caseInsensitiveStringComparator: (a: string, b: string) => number;
|
|
24
23
|
export declare const getWebhookEventIcon: (eventName: WebhookEventNameType) => JSX.Element;
|
|
25
|
-
export declare const useIntersection: (target: React.RefObject<Element> | Element | null, options?: IntersectionOptions, callback?: IntersectionChangeHandler) => boolean;
|
|
26
24
|
export declare const isNullOrUndefined: (value: unknown) => boolean;
|
|
27
|
-
export declare const getKeyToBooleanMapFromArray: <T extends string | number>(arr?: T[]) => Record<T, boolean>;
|
|
28
25
|
export {};
|
|
@@ -43,60 +43,3 @@ export declare enum DeploymentWithConfigType {
|
|
|
43
43
|
LATEST_TRIGGER_CONFIG = "LATEST_TRIGGER_CONFIG",
|
|
44
44
|
SPECIFIC_TRIGGER_CONFIG = "SPECIFIC_TRIGGER_CONFIG"
|
|
45
45
|
}
|
|
46
|
-
export declare enum TIMELINE_STATUS {
|
|
47
|
-
DEPLOYMENT_INITIATED = "DEPLOYMENT_INITIATED",
|
|
48
|
-
GIT_COMMIT = "GIT_COMMIT",
|
|
49
|
-
GIT_COMMIT_FAILED = "GIT_COMMIT_FAILED",
|
|
50
|
-
ARGOCD_SYNC = "ARGOCD_SYNC",
|
|
51
|
-
ARGOCD_SYNC_FAILED = "ARGOCD_SYNC_FAILED",
|
|
52
|
-
KUBECTL_APPLY = "KUBECTL_APPLY",
|
|
53
|
-
KUBECTL_APPLY_STARTED = "KUBECTL_APPLY_STARTED",
|
|
54
|
-
KUBECTL_APPLY_SYNCED = "KUBECTL_APPLY_SYNCED",
|
|
55
|
-
HEALTHY = "HEALTHY",
|
|
56
|
-
APP_HEALTH = "APP_HEALTH",
|
|
57
|
-
DEPLOYMENT_FAILED = "FAILED",
|
|
58
|
-
FETCH_TIMED_OUT = "TIMED_OUT",
|
|
59
|
-
UNABLE_TO_FETCH_STATUS = "UNABLE_TO_FETCH_STATUS",
|
|
60
|
-
DEGRADED = "DEGRADED",
|
|
61
|
-
DEPLOYMENT_SUPERSEDED = "DEPLOYMENT_SUPERSEDED",
|
|
62
|
-
ABORTED = "ABORTED",
|
|
63
|
-
INPROGRESS = "INPROGRESS",
|
|
64
|
-
HELM_PACKAGE_GENERATED = "HELM_PACKAGE_GENERATED",
|
|
65
|
-
HELM_MANIFEST_PUSHED_TO_HELM_REPO = "HELM_MANIFEST_PUSHED_TO_HELM_REPO",
|
|
66
|
-
HELM_MANIFEST_PUSHED_TO_HELM_REPO_FAILED = "HELM_MANIFEST_PUSHED_TO_HELM_REPO_FAILED"
|
|
67
|
-
}
|
|
68
|
-
export declare const DEPLOYMENT_STATUS: {
|
|
69
|
-
readonly SUCCEEDED: "succeeded";
|
|
70
|
-
readonly HEALTHY: "healthy";
|
|
71
|
-
readonly FAILED: "failed";
|
|
72
|
-
readonly TIMED_OUT: "timed_out";
|
|
73
|
-
readonly UNABLE_TO_FETCH: "unable_to_fetch";
|
|
74
|
-
readonly INPROGRESS: "inprogress";
|
|
75
|
-
readonly PROGRESSING: "progressing";
|
|
76
|
-
readonly STARTING: "starting";
|
|
77
|
-
readonly INITIATING: "initiating";
|
|
78
|
-
readonly SUPERSEDED: "superseded";
|
|
79
|
-
readonly QUEUED: "queued";
|
|
80
|
-
readonly UNKNOWN: "unknown";
|
|
81
|
-
readonly CHECKING: "checking";
|
|
82
|
-
};
|
|
83
|
-
export declare const statusIcon: {
|
|
84
|
-
failed: string;
|
|
85
|
-
queued: string;
|
|
86
|
-
suspended: string;
|
|
87
|
-
starting: string;
|
|
88
|
-
initiating: string;
|
|
89
|
-
unknown: string;
|
|
90
|
-
degraded: string;
|
|
91
|
-
healthy: string;
|
|
92
|
-
notdeployed: string;
|
|
93
|
-
missing: string;
|
|
94
|
-
progressing: string;
|
|
95
|
-
deploymentinitiated: string;
|
|
96
|
-
hibernating: string;
|
|
97
|
-
succeeded: string;
|
|
98
|
-
timedout: string;
|
|
99
|
-
unabletofetch: string;
|
|
100
|
-
};
|
|
101
|
-
export declare const APP_STATUS_HEADERS: string[];
|
|
102
|
-
export declare const MATERIAL_EXCLUDE_TIPPY_TEXT = "Not available for build as this commit contains changes in excluded files or folders";
|
package/dist/Shared/index.d.ts
CHANGED
package/dist/Shared/types.d.ts
CHANGED
|
@@ -1,171 +1,6 @@
|
|
|
1
1
|
import { PatchOperationType } from './constants';
|
|
2
|
-
import { OptionType, CommonNodeAttr, ResponseType, UserApprovalConfigType, VulnerabilityType
|
|
2
|
+
import { OptionType, CommonNodeAttr, ResponseType, UserApprovalConfigType, VulnerabilityType } from '../Common';
|
|
3
3
|
|
|
4
|
-
interface OtherEnvironment {
|
|
5
|
-
environmentId: number;
|
|
6
|
-
environmentName: string;
|
|
7
|
-
appMetrics: boolean;
|
|
8
|
-
infraMetrics: boolean;
|
|
9
|
-
prod: boolean;
|
|
10
|
-
}
|
|
11
|
-
export interface PodMetaData {
|
|
12
|
-
containers: Array<string>;
|
|
13
|
-
initContainers: any;
|
|
14
|
-
ephemeralContainers: any;
|
|
15
|
-
isNew: boolean;
|
|
16
|
-
name: string;
|
|
17
|
-
uid: string;
|
|
18
|
-
}
|
|
19
|
-
export interface Info {
|
|
20
|
-
value: string;
|
|
21
|
-
name: string;
|
|
22
|
-
}
|
|
23
|
-
export interface Health {
|
|
24
|
-
status: string;
|
|
25
|
-
message?: string;
|
|
26
|
-
}
|
|
27
|
-
export interface TargetLabel {
|
|
28
|
-
'app.kubernetes.io/instance': string;
|
|
29
|
-
'app.kubernetes.io/name': string;
|
|
30
|
-
}
|
|
31
|
-
export interface TargetLabels {
|
|
32
|
-
targetLabel: TargetLabel;
|
|
33
|
-
}
|
|
34
|
-
export interface NetworkingInfo {
|
|
35
|
-
targetLabels: TargetLabels;
|
|
36
|
-
}
|
|
37
|
-
export declare enum Nodes {
|
|
38
|
-
Service = "Service",
|
|
39
|
-
Alertmanager = "Alertmanager",
|
|
40
|
-
PodSecurity = "PodSecurityPolicy",
|
|
41
|
-
ConfigMap = "ConfigMap",
|
|
42
|
-
ServiceAccount = "ServiceAccount",
|
|
43
|
-
ClusterRoleBinding = "ClusterRoleBinding",
|
|
44
|
-
RoleBinding = "RoleBinding",
|
|
45
|
-
ClusterRole = "ClusterRole",
|
|
46
|
-
Role = "Role",
|
|
47
|
-
Prometheus = "Prometheus",
|
|
48
|
-
ServiceMonitor = "ServiceMonitor",
|
|
49
|
-
Deployment = "Deployment",
|
|
50
|
-
MutatingWebhookConfiguration = "MutatingWebhookConfiguration",
|
|
51
|
-
DaemonSet = "DaemonSet",
|
|
52
|
-
Secret = "Secret",
|
|
53
|
-
ValidatingWebhookConfiguration = "ValidatingWebhookConfiguration",
|
|
54
|
-
Pod = "Pod",
|
|
55
|
-
Ingress = "Ingress",
|
|
56
|
-
ReplicaSet = "ReplicaSet",
|
|
57
|
-
Endpoints = "Endpoints",
|
|
58
|
-
Cluster = "ClusterRoleBinding",
|
|
59
|
-
PodSecurityPolicy = "PodSecurityPolicy",
|
|
60
|
-
CronJob = "CronJob",
|
|
61
|
-
Job = "Job",
|
|
62
|
-
ReplicationController = "ReplicationController",
|
|
63
|
-
StatefulSet = "StatefulSet",
|
|
64
|
-
Rollout = "Rollout",
|
|
65
|
-
PersistentVolumeClaim = "PersistentVolumeClaim",
|
|
66
|
-
PersistentVolume = "PersistentVolume",
|
|
67
|
-
Containers = "Containers",
|
|
68
|
-
InitContainers = "InitContainers",
|
|
69
|
-
EndpointSlice = "EndpointSlice",
|
|
70
|
-
NetworkPolicy = "NetworkPolicy",
|
|
71
|
-
StorageClass = "StorageClass",
|
|
72
|
-
VolumeSnapshot = "VolumeSnapshot",
|
|
73
|
-
VolumeSnapshotContent = "VolumeSnapshotContent",
|
|
74
|
-
VolumeSnapshotClass = "VolumeSnapshotClass",
|
|
75
|
-
PodDisruptionBudget = "PodDisruptionBudget",
|
|
76
|
-
Event = "Event",
|
|
77
|
-
Namespace = "Namespace",
|
|
78
|
-
Overview = "Overview"
|
|
79
|
-
}
|
|
80
|
-
export type NodeType = keyof typeof Nodes;
|
|
81
|
-
export interface Node {
|
|
82
|
-
createdAt: Date;
|
|
83
|
-
health: Health;
|
|
84
|
-
kind: NodeType;
|
|
85
|
-
name: string;
|
|
86
|
-
namespace: string;
|
|
87
|
-
networkingInfo: NetworkingInfo;
|
|
88
|
-
resourceVersion: string;
|
|
89
|
-
uid: string;
|
|
90
|
-
version: string;
|
|
91
|
-
parentRefs: Array<Node>;
|
|
92
|
-
group: string;
|
|
93
|
-
isSelected: boolean;
|
|
94
|
-
info: Info[];
|
|
95
|
-
port: number;
|
|
96
|
-
canBeHibernated: boolean;
|
|
97
|
-
isHibernated: boolean;
|
|
98
|
-
}
|
|
99
|
-
export interface ResourceTree {
|
|
100
|
-
conditions: any;
|
|
101
|
-
newGenerationReplicaSet: string;
|
|
102
|
-
nodes: Array<Node>;
|
|
103
|
-
podMetadata: Array<PodMetaData>;
|
|
104
|
-
status: string;
|
|
105
|
-
resourcesSyncResult?: Record<string, string>;
|
|
106
|
-
}
|
|
107
|
-
export declare enum AppType {
|
|
108
|
-
DEVTRON_APP = "devtron_app",
|
|
109
|
-
DEVTRON_HELM_CHART = "devtron_helm_chart",
|
|
110
|
-
EXTERNAL_HELM_CHART = "external_helm_chart",
|
|
111
|
-
EXTERNAL_ARGO_APP = "external_argo_app"
|
|
112
|
-
}
|
|
113
|
-
export interface HelmReleaseStatus {
|
|
114
|
-
status: string;
|
|
115
|
-
message: string;
|
|
116
|
-
description: string;
|
|
117
|
-
}
|
|
118
|
-
interface MaterialInfo {
|
|
119
|
-
author: string;
|
|
120
|
-
branch: string;
|
|
121
|
-
message: string;
|
|
122
|
-
modifiedTime: string;
|
|
123
|
-
revision: string;
|
|
124
|
-
url: string;
|
|
125
|
-
webhookData: string;
|
|
126
|
-
}
|
|
127
|
-
export interface AppDetails {
|
|
128
|
-
appId?: number;
|
|
129
|
-
appName: string;
|
|
130
|
-
appStoreAppName?: string;
|
|
131
|
-
appStoreAppVersion?: string;
|
|
132
|
-
appStoreChartId?: number;
|
|
133
|
-
appStoreChartName?: string;
|
|
134
|
-
appStoreInstalledAppVersionId?: number;
|
|
135
|
-
ciArtifactId?: number;
|
|
136
|
-
deprecated?: false;
|
|
137
|
-
environmentId?: number;
|
|
138
|
-
environmentName: string;
|
|
139
|
-
installedAppId?: number;
|
|
140
|
-
instanceDetail?: null;
|
|
141
|
-
k8sVersion?: string;
|
|
142
|
-
lastDeployedBy?: string;
|
|
143
|
-
lastDeployedTime: string;
|
|
144
|
-
namespace: string;
|
|
145
|
-
resourceTree: ResourceTree;
|
|
146
|
-
materialInfo?: MaterialInfo[];
|
|
147
|
-
releaseVersion?: string;
|
|
148
|
-
dataSource?: string;
|
|
149
|
-
lastDeployedPipeline?: string;
|
|
150
|
-
otherEnvironment?: OtherEnvironment[];
|
|
151
|
-
projectName?: string;
|
|
152
|
-
appType?: AppType;
|
|
153
|
-
helmReleaseStatus?: HelmReleaseStatus;
|
|
154
|
-
clusterId?: number;
|
|
155
|
-
notes?: string;
|
|
156
|
-
deploymentAppType?: DeploymentAppTypes;
|
|
157
|
-
ipsAccessProvided?: boolean;
|
|
158
|
-
externalCi?: boolean;
|
|
159
|
-
clusterName?: string;
|
|
160
|
-
dockerRegistryId?: string;
|
|
161
|
-
deploymentAppDeleteRequest?: boolean;
|
|
162
|
-
userApprovalConfig?: string;
|
|
163
|
-
isVirtualEnvironment?: boolean;
|
|
164
|
-
imageTag?: string;
|
|
165
|
-
helmPackageName?: string;
|
|
166
|
-
appStatus?: string;
|
|
167
|
-
chartAvatar?: string;
|
|
168
|
-
}
|
|
169
4
|
export declare enum RegistryType {
|
|
170
5
|
GIT = "git",
|
|
171
6
|
GITHUB = "github",
|
|
@@ -374,19 +209,59 @@ export declare enum WebhookEventNameType {
|
|
|
374
209
|
PULL_REQUEST = "Pull Request",
|
|
375
210
|
TAG_CREATION = "Tag Creation"
|
|
376
211
|
}
|
|
377
|
-
export
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
212
|
+
export declare enum Nodes {
|
|
213
|
+
Service = "Service",
|
|
214
|
+
Alertmanager = "Alertmanager",
|
|
215
|
+
PodSecurity = "PodSecurityPolicy",
|
|
216
|
+
ConfigMap = "ConfigMap",
|
|
217
|
+
ServiceAccount = "ServiceAccount",
|
|
218
|
+
ClusterRoleBinding = "ClusterRoleBinding",
|
|
219
|
+
RoleBinding = "RoleBinding",
|
|
220
|
+
ClusterRole = "ClusterRole",
|
|
221
|
+
Role = "Role",
|
|
222
|
+
Prometheus = "Prometheus",
|
|
223
|
+
ServiceMonitor = "ServiceMonitor",
|
|
224
|
+
Deployment = "Deployment",
|
|
225
|
+
MutatingWebhookConfiguration = "MutatingWebhookConfiguration",
|
|
226
|
+
DaemonSet = "DaemonSet",
|
|
227
|
+
Secret = "Secret",
|
|
228
|
+
ValidatingWebhookConfiguration = "ValidatingWebhookConfiguration",
|
|
229
|
+
Pod = "Pod",
|
|
230
|
+
Ingress = "Ingress",
|
|
231
|
+
ReplicaSet = "ReplicaSet",
|
|
232
|
+
Endpoints = "Endpoints",
|
|
233
|
+
Cluster = "ClusterRoleBinding",
|
|
234
|
+
PodSecurityPolicy = "PodSecurityPolicy",
|
|
235
|
+
CronJob = "CronJob",
|
|
236
|
+
Job = "Job",
|
|
237
|
+
ReplicationController = "ReplicationController",
|
|
238
|
+
StatefulSet = "StatefulSet",
|
|
239
|
+
Rollout = "Rollout",
|
|
240
|
+
PersistentVolumeClaim = "PersistentVolumeClaim",
|
|
241
|
+
PersistentVolume = "PersistentVolume",
|
|
242
|
+
Containers = "Containers",
|
|
243
|
+
InitContainers = "InitContainers",
|
|
244
|
+
EndpointSlice = "EndpointSlice",
|
|
245
|
+
NetworkPolicy = "NetworkPolicy",
|
|
246
|
+
StorageClass = "StorageClass",
|
|
247
|
+
VolumeSnapshot = "VolumeSnapshot",
|
|
248
|
+
VolumeSnapshotContent = "VolumeSnapshotContent",
|
|
249
|
+
VolumeSnapshotClass = "VolumeSnapshotClass",
|
|
250
|
+
PodDisruptionBudget = "PodDisruptionBudget",
|
|
251
|
+
Event = "Event",
|
|
252
|
+
Namespace = "Namespace",
|
|
253
|
+
Overview = "Overview"
|
|
391
254
|
}
|
|
392
|
-
export
|
|
255
|
+
export type NodeType = keyof typeof Nodes;
|
|
256
|
+
export declare enum AggregationKeys {
|
|
257
|
+
Workloads = "Workloads",
|
|
258
|
+
Networking = "Networking",
|
|
259
|
+
'Config & Storage' = "Config & Storage",
|
|
260
|
+
RBAC = "RBAC",
|
|
261
|
+
Administration = "Administration",
|
|
262
|
+
'Custom Resource' = "Custom Resource",
|
|
263
|
+
'Other Resources' = "Other Resources",
|
|
264
|
+
Events = "Events",
|
|
265
|
+
Namespaces = "Namespaces"
|
|
266
|
+
}
|
|
267
|
+
export type AggregationKeysType = keyof typeof AggregationKeys;
|
|
@@ -12,6 +12,7 @@ export declare const MESSAGES: {
|
|
|
12
12
|
VALID_POSITIVE_INTEGER: string;
|
|
13
13
|
MAX_SAFE_INTEGER: string;
|
|
14
14
|
};
|
|
15
|
+
export declare const requiredField: (value: string) => ValidationResponseType;
|
|
15
16
|
export declare const validateName: (name: string) => ValidationResponseType;
|
|
16
17
|
export declare const validateDescription: (description: string) => ValidationResponseType;
|
|
17
18
|
export declare const validateRequiredPositiveNumber: (value: string | number) => ValidationResponseType;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!-----------------------------------------------------------------------------
|
|
2
2
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* Version: 0.
|
|
3
|
+
* Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
|
|
4
4
|
* Released under the MIT license
|
|
5
5
|
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
|
6
6
|
*-----------------------------------------------------------------------------*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!-----------------------------------------------------------------------------
|
|
2
2
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* Version: 0.
|
|
3
|
+
* Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
|
|
4
4
|
* Released under the MIT license
|
|
5
5
|
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
|
6
6
|
*-----------------------------------------------------------------------------*/
|