@devtron-labs/devtron-fe-common-lib 1.12.0-pre-0 → 1.12.0-pre-0-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/{@code-editor-BeFRFVuv.js → @code-editor-DieGT18L.js} +3179 -3161
- package/dist/{@common-rjsf-DTzNgON8.js → @common-rjsf-CwEIGtgd.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 +2 -0
- package/dist/assets/ic-hand-pointing.aff70667.svg +4 -0
- package/dist/assets/ic-rocket-launch.1d407c66.svg +3 -0
- package/dist/index.js +301 -300
- package/package.json +1 -1
- package/dist/assets/ic-nav-rocket.433c9706.svg +0 -19
@@ -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-DieGT18L.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
|
+
export 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 {};
|
@@ -56,6 +56,7 @@ export declare const iconMap: {
|
|
56
56
|
'ic-google-container-registry': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
57
57
|
'ic-google': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
58
58
|
'ic-grid-view': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
59
|
+
'ic-hand-pointing': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
59
60
|
'ic-heart-green': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
60
61
|
'ic-heart-red-animated': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
61
62
|
'ic-heart-red': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -91,6 +92,7 @@ export declare const iconMap: {
|
|
91
92
|
'ic-pencil': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
92
93
|
'ic-quay': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
93
94
|
'ic-quote': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
95
|
+
'ic-rocket-launch': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
94
96
|
'ic-shield-check': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
95
97
|
'ic-sliders-vertical': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
96
98
|
'ic-sort-ascending': 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>
|
@@ -0,0 +1,3 @@
|
|
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="M8.818 17.303c-1.06 3.182-5.303 3.182-5.303 3.182s0-4.243 3.182-5.303M12 16.242l6.364-6.364c2.41-2.41 2.386-4.82 2.233-5.847a.747.747 0 0 0-.629-.628c-1.027-.154-3.437-.177-5.847 2.233L7.757 12M12 16.242 7.757 12M12 16.242l.786 3.93a.75.75 0 0 0 1.266.383l3.032-3.032a.75.75 0 0 0 .22-.53v-6.054M7.756 12l-3.929-.785a.75.75 0 0 1-.383-1.266l3.032-3.032a.75.75 0 0 1 .53-.22h6.054" vector-effect="non-scaling-stroke"/>
|
3
|
+
</svg>
|