@devtron-labs/devtron-fe-common-lib 1.11.0-pre-9-beta-1 → 1.11.0-pre-9-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/{@code-editor-BrlQIYYb.js → @code-editor-zbxTPgtE.js} +2374 -2369
- package/dist/{@common-rjsf-dsUoxCGU.js → @common-rjsf-CKlQSLwl.js} +1 -1
- package/dist/Common/Common.service.d.ts +2 -1
- package/dist/Common/Constants.d.ts +2 -0
- package/dist/Common/Types.d.ts +14 -1
- package/dist/Shared/Components/Icon/Icon.d.ts +1 -4
- package/dist/assets/ic-hand-pointing.aff70667.svg +4 -0
- package/dist/index.js +301 -300
- package/package.json +1 -1
- package/dist/assets/ic-disconnect.02efc5f9.svg +0 -3
- package/dist/assets/ic-gift.9b048fc7.svg +0 -3
- package/dist/assets/ic-megaphone-left.6b2a00b7.svg +0 -3
- package/dist/assets/ic-sparkle-color.c551deb1.svg +0 -21
@@ -1,7 +1,7 @@
|
|
1
1
|
import { j as n, av as y, ax as k, aw as W } from "./@vendor-SjXFleuT.js";
|
2
2
|
import V, { forwardRef as J, useMemo as P } from "react";
|
3
3
|
import K, { getDefaultRegistry as q } from "@rjsf/core";
|
4
|
-
import { T as F, j as N, c as v, b as S, a as Y, i as z, d as w, e as E, S as G } from "./@code-editor-
|
4
|
+
import { T as F, j as N, c as v, b as S, a as Y, i as z, d as w, e as E, S as G } from "./@code-editor-zbxTPgtE.js";
|
5
5
|
import Q, { components as D } from "react-select";
|
6
6
|
import { ReactComponent as X } from "./assets/ic-chevron-down.fc70d7a7.svg";
|
7
7
|
import { getUiOptions as B, getTemplate as $, getSubmitButtonOptions as Z, ADDITIONAL_PROPERTY_FLAG as L, errorId as ee, englishStringTranslator as te, TranslatableString as ne, titleId as re, canExpand as se, deepEquals as ae } from "@rjsf/utils";
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { MutableRefObject } from 'react';
|
2
2
|
import { RuntimeParamsAPIResponseType, RuntimePluginVariables } from '../Shared/types';
|
3
|
-
import { TeamList, ResponseType, DeploymentNodeType, CDMaterialServiceEnum, CDMaterialServiceQueryParams, CDMaterialResponseType, CDMaterialFilterQuery, EnvironmentListHelmResponse, UserApprovalMetadataType, GlobalVariableOptionType, UserRole } from './Types';
|
3
|
+
import { TeamList, ResponseType, DeploymentNodeType, CDMaterialServiceEnum, CDMaterialServiceQueryParams, CDMaterialResponseType, CDMaterialFilterQuery, EnvironmentListHelmResponse, UserApprovalMetadataType, GlobalVariableOptionType, UserRole, EnvAppsMetaDTO, GetAppsInfoForEnvProps } from './Types';
|
4
4
|
import { ApiResourceType } from '../Pages';
|
5
5
|
export declare const getTeamListMin: () => Promise<TeamList>;
|
6
6
|
export declare const SourceTypeMap: {
|
@@ -35,3 +35,4 @@ export declare const getGlobalVariables: ({ appId, isCD, abortControllerRef, }:
|
|
35
35
|
isCD?: boolean;
|
36
36
|
abortControllerRef?: MutableRefObject<AbortController>;
|
37
37
|
}) => Promise<GlobalVariableOptionType[]>;
|
38
|
+
export declare const getAppsInfoForEnv: ({ envId, appIds }: GetAppsInfoForEnvProps) => Promise<EnvAppsMetaDTO>;
|
@@ -133,6 +133,8 @@ export declare const ROUTES: {
|
|
133
133
|
readonly ENVIRONMENT_DATA: "global/environment-variables";
|
134
134
|
readonly DASHBOARD_EVENT: "dashboard-event";
|
135
135
|
readonly LICENSE_DATA: "license/data";
|
136
|
+
readonly ENV: "env";
|
137
|
+
readonly APP_METADATA: "app-metadata";
|
136
138
|
};
|
137
139
|
export declare enum KEY_VALUE {
|
138
140
|
KEY = "key",
|
package/dist/Common/Types.d.ts
CHANGED
@@ -2,7 +2,7 @@ import { default as React, ReactNode, CSSProperties, ReactElement, MutableRefObj
|
|
2
2
|
import { TippyProps } from '@tippyjs/react';
|
3
3
|
import { UserGroupDTO } from '../Pages/GlobalConfigurations';
|
4
4
|
import { ImageComment, ReleaseTag } from './ImageTags.Types';
|
5
|
-
import { MandatoryPluginBaseStateType, RegistryType, RuntimePluginVariables, Severity, PolicyBlockInfo, TargetPlatformItemDTO, ButtonProps, ComponentLayoutType } from '../Shared';
|
5
|
+
import { MandatoryPluginBaseStateType, RegistryType, RuntimePluginVariables, Severity, PolicyBlockInfo, TargetPlatformItemDTO, ButtonProps, ComponentLayoutType, StatusType } from '../Shared';
|
6
6
|
import { ACTION_STATE, DEPLOYMENT_WINDOW_TYPE, DockerConfigOverrideType, RefVariableType, SortingOrder, TaskErrorObj, VariableTypeFormat } from '.';
|
7
7
|
/**
|
8
8
|
* Generic response type object with support for overriding the result type
|
@@ -949,4 +949,17 @@ export declare enum ActionTypes {
|
|
949
949
|
EDIT = "edit",
|
950
950
|
APPROVER = "approver"
|
951
951
|
}
|
952
|
+
export interface GetAppsInfoForEnvProps {
|
953
|
+
envId: number;
|
954
|
+
appIds?: number[];
|
955
|
+
}
|
956
|
+
interface AppMeta {
|
957
|
+
appId: number;
|
958
|
+
appStatus: StatusType;
|
959
|
+
appName: string;
|
960
|
+
}
|
961
|
+
export interface EnvAppsMetaDTO {
|
962
|
+
appCount: number;
|
963
|
+
apps: AppMeta[];
|
964
|
+
}
|
952
965
|
export {};
|
@@ -41,7 +41,6 @@ export declare const iconMap: {
|
|
41
41
|
'ic-delhivery': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
42
42
|
'ic-devtron-header-logo': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
43
43
|
'ic-devtron': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
44
|
-
'ic-disconnect': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
45
44
|
'ic-dockerhub': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
46
45
|
'ic-ecr': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
47
46
|
'ic-env': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -50,7 +49,6 @@ export declare const iconMap: {
|
|
50
49
|
'ic-file-key': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
51
50
|
'ic-folder-user': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
52
51
|
'ic-gear': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
53
|
-
'ic-gift': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
54
52
|
'ic-git': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
55
53
|
'ic-github': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
56
54
|
'ic-gitlab': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -58,6 +56,7 @@ export declare const iconMap: {
|
|
58
56
|
'ic-google-container-registry': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
59
57
|
'ic-google': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
60
58
|
'ic-grid-view': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
59
|
+
'ic-hand-pointing': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
61
60
|
'ic-heart-green': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
62
61
|
'ic-heart-red-animated': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
63
62
|
'ic-heart-red': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -78,7 +77,6 @@ export declare const iconMap: {
|
|
78
77
|
'ic-logout': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
79
78
|
'ic-medium-delete': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
80
79
|
'ic-medium-paintbucket': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
81
|
-
'ic-megaphone-left': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
82
80
|
'ic-memory': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
83
81
|
'ic-microsoft': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
84
82
|
'ic-missing': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -99,7 +97,6 @@ export declare const iconMap: {
|
|
99
97
|
'ic-sort-ascending': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
100
98
|
'ic-sort-descending': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
101
99
|
'ic-sortable': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
102
|
-
'ic-sparkle-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
103
100
|
'ic-spinny': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
104
101
|
'ic-stack': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
105
102
|
'ic-stamp': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -0,0 +1,4 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
2
|
+
<path stroke="#3B444C" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M12 9.75V3.375a1.875 1.875 0 1 0-3.75 0v11.369l-2.056-3.56a1.876 1.876 0 1 0-3.247 1.874C6 19.5 7.857 21.75 12 21.75a7.5 7.5 0 0 0 7.5-7.5V10.5a1.875 1.875 0 1 0-3.75 0" vector-effect="non-scaling-stroke"/>
|
3
|
+
<path stroke="#3B444C" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M15.75 10.5V9.375a1.875 1.875 0 1 0-3.75 0v.375" vector-effect="non-scaling-stroke"/>
|
4
|
+
</svg>
|