@devtron-labs/devtron-fe-common-lib 0.0.81-beta-2 → 0.0.81-beta-4
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/CodeEditor/CodeEditor.reducer.d.ts +2 -2
- package/dist/Common/CodeEditor/types.d.ts +7 -2
- package/dist/Common/Common.service.d.ts +2 -1
- package/dist/Common/Constants.d.ts +1 -0
- package/dist/Common/Types.d.ts +14 -0
- package/dist/assets/index.css +1 -1
- package/dist/index.js +91444 -301
- package/package.json +5 -5
- package/dist/abap-5361cc9f.js +0 -1314
- package/dist/apex-f9413e6f.js +0 -315
- package/dist/azcli-36f2cb5e.js +0 -74
- package/dist/bat-6b05202d.js +0 -95
- package/dist/bicep-788415e3.js +0 -108
- package/dist/cameligo-4e85ec93.js +0 -168
- package/dist/clojure-40fa5799.js +0 -754
- package/dist/coffee-f557f5e0.js +0 -228
- package/dist/cpp-ebbf7759.js +0 -390
- package/dist/csharp-1616f566.js +0 -320
- package/dist/csp-5f0bc3c4.js +0 -57
- package/dist/css-2b1aec9b.js +0 -186
- package/dist/cssMode-50bd55e1.js +0 -1446
- package/dist/cypher-b12b4ba8.js +0 -262
- package/dist/dart-e0d70030.js +0 -270
- package/dist/dockerfile-f9d4b2b0.js +0 -132
- package/dist/ecl-5b91fdec.js +0 -454
- package/dist/elixir-deffd5a6.js +0 -489
- package/dist/flow9-84cd00d7.js +0 -141
- package/dist/freemarker2-88e6203b.js +0 -643
- package/dist/fsharp-d296151f.js +0 -210
- package/dist/go-7e72ff3b.js +0 -208
- package/dist/graphql-a93568a1.js +0 -141
- package/dist/handlebars-2ea4f944.js +0 -391
- package/dist/hcl-b3994d8f.js +0 -177
- package/dist/html-cd988a63.js +0 -281
- package/dist/htmlMode-1b956b46.js +0 -1456
- package/dist/index-af6b9920.js +0 -128503
- package/dist/ini-df84509a.js +0 -68
- package/dist/java-fba3d046.js +0 -221
- package/dist/javascript-a692c6e7.js +0 -75
- package/dist/jsonMode-3d017fd1.js +0 -1867
- package/dist/julia-cefd45f6.js +0 -496
- package/dist/kotlin-b87b6942.js +0 -245
- package/dist/less-8a7f37bc.js +0 -168
- package/dist/lexon-cb95cd13.js +0 -151
- package/dist/liquid-95680278.js +0 -238
- package/dist/lua-6d5b3ea4.js +0 -157
- package/dist/m3-d0daf5d0.js +0 -210
- package/dist/markdown-48bb0c6f.js +0 -202
- package/dist/mdx-9caaf071.js +0 -171
- package/dist/mips-20dcf886.js +0 -194
- package/dist/msdax-e9759e23.js +0 -377
- package/dist/mysql-95f335b2.js +0 -876
- package/dist/objective-c-ad0cfb47.js +0 -188
- package/dist/pascal-eda19dc3.js +0 -245
- package/dist/pascaligo-b7e0c89b.js +0 -158
- package/dist/perl-bbe5d32a.js +0 -599
- package/dist/pgsql-7ebaee1c.js +0 -847
- package/dist/php-2526756d.js +0 -471
- package/dist/pla-9ebd6f68.js +0 -131
- package/dist/postiats-9ac05cf6.js +0 -544
- package/dist/powerquery-1cae399d.js +0 -890
- package/dist/powershell-093b5b87.js +0 -233
- package/dist/protobuf-37993cbc.js +0 -422
- package/dist/pug-c2a5db5f.js +0 -393
- package/dist/python-1ca8b188.js +0 -259
- package/dist/qsharp-1450aac5.js +0 -282
- package/dist/r-a0642b90.js +0 -245
- package/dist/razor-4013479d.js +0 -512
- package/dist/redis-405cb63d.js +0 -298
- package/dist/redshift-830f82de.js +0 -806
- package/dist/restructuredtext-d81f5ef4.js +0 -162
- package/dist/ruby-d607b87e.js +0 -444
- package/dist/rust-86e74dbb.js +0 -337
- package/dist/sb-b7e5010d.js +0 -110
- package/dist/scala-a4d4a3c6.js +0 -353
- package/dist/scheme-81927e94.js +0 -114
- package/dist/scss-3f112fcd.js +0 -244
- package/dist/shell-d795bcaa.js +0 -224
- package/dist/solidity-5b556d3e.js +0 -1351
- package/dist/sophia-1da55998.js +0 -190
- package/dist/sparql-ac34318e.js +0 -193
- package/dist/sql-eef6393b.js +0 -818
- package/dist/st-758b1972.js +0 -415
- package/dist/swift-63cb1847.js +0 -315
- package/dist/systemverilog-2538c608.js +0 -556
- package/dist/tcl-53e6282a.js +0 -232
- package/dist/tsMode-8513ee6c.js +0 -811
- package/dist/twig-80c3dc23.js +0 -323
- package/dist/typescript-b0a34e60.js +0 -328
- package/dist/vb-32089525.js +0 -364
- package/dist/wgsl-e681d5a0.js +0 -420
- package/dist/xml-b73004cd.js +0 -95
- package/dist/yaml-9f9fcd68.js +0 -184
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Action, CodeEditorState, CodeEditorThemesKeys } from './types';
|
|
1
|
+
import { Action, CodeEditorInitialValueType, CodeEditorState, CodeEditorThemesKeys } from './types';
|
|
2
2
|
import { MODES } from '../Constants';
|
|
3
3
|
|
|
4
4
|
export declare const CodeEditorReducer: (state: CodeEditorState, action: Action) => {
|
|
@@ -33,4 +33,4 @@ export declare const CodeEditorReducer: (state: CodeEditorState, action: Action)
|
|
|
33
33
|
code: string;
|
|
34
34
|
noParsing: boolean;
|
|
35
35
|
};
|
|
36
|
-
export declare const initialState: (mode
|
|
36
|
+
export declare const initialState: ({ mode, theme, value, diffView, noParsing, }: CodeEditorInitialValueType) => CodeEditorState;
|
|
@@ -18,8 +18,6 @@ export interface CodeEditorInterface {
|
|
|
18
18
|
tabSize?: number;
|
|
19
19
|
readOnly?: boolean;
|
|
20
20
|
noParsing?: boolean;
|
|
21
|
-
minHeight?: number;
|
|
22
|
-
maxHeight?: number;
|
|
23
21
|
inline?: boolean;
|
|
24
22
|
height?: number | string;
|
|
25
23
|
shebang?: string | JSX.Element;
|
|
@@ -66,6 +64,13 @@ export declare enum CodeEditorThemesKeys {
|
|
|
66
64
|
unpublished = "unpublished",
|
|
67
65
|
vs = "vs"
|
|
68
66
|
}
|
|
67
|
+
export interface CodeEditorInitialValueType {
|
|
68
|
+
mode: string;
|
|
69
|
+
diffView: boolean;
|
|
70
|
+
theme?: string;
|
|
71
|
+
value: string;
|
|
72
|
+
noParsing?: boolean;
|
|
73
|
+
}
|
|
69
74
|
export interface CodeEditorState {
|
|
70
75
|
mode: MODES;
|
|
71
76
|
diffMode: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ApiResourceType } from '../Pages';
|
|
2
|
-
import { TeamList, ResponseType, DeploymentNodeType, CDMaterialServiceEnum, CDMaterialServiceQueryParams, CDMaterialResponseType } from './Types';
|
|
2
|
+
import { TeamList, ResponseType, DeploymentNodeType, CDMaterialServiceEnum, CDMaterialServiceQueryParams, CDMaterialResponseType, EnvironmentListHelmResponse } from './Types';
|
|
3
3
|
|
|
4
4
|
export declare const getTeamListMin: () => Promise<TeamList>;
|
|
5
5
|
interface UserRole extends ResponseType {
|
|
@@ -23,4 +23,5 @@ export declare const getDefaultConfig: () => Promise<ResponseType>;
|
|
|
23
23
|
export declare function getEnvironmentListMinPublic(includeAllowedDeploymentTypes?: boolean): Promise<ResponseType<any>>;
|
|
24
24
|
export declare function getClusterListMin(): Promise<ResponseType<any>>;
|
|
25
25
|
export declare const getResourceGroupListRaw: (clusterId: string) => Promise<ResponseType<ApiResourceType>>;
|
|
26
|
+
export declare function getNamespaceListMin(clusterIdsCsv: string): Promise<EnvironmentListHelmResponse>;
|
|
26
27
|
export {};
|
package/dist/Common/Types.d.ts
CHANGED
|
@@ -767,4 +767,18 @@ export interface DeploymentWindowProfileMetaData {
|
|
|
767
767
|
excludedUserEmails: string[];
|
|
768
768
|
warningMessage: string;
|
|
769
769
|
}
|
|
770
|
+
export interface EnvironmentListHelmResult {
|
|
771
|
+
clusterId: number;
|
|
772
|
+
clusterName: string;
|
|
773
|
+
environments: EnvironmentHelmResult[];
|
|
774
|
+
}
|
|
775
|
+
export interface EnvironmentHelmResult {
|
|
776
|
+
environmentId: number;
|
|
777
|
+
environmentName: string;
|
|
778
|
+
namespace: string;
|
|
779
|
+
environmentIdentifier: string;
|
|
780
|
+
isVirtualEnvironment?: boolean;
|
|
781
|
+
allowedDeploymentTypes?: DeploymentAppTypes[];
|
|
782
|
+
}
|
|
783
|
+
export type EnvironmentListHelmResponse = ResponseType<EnvironmentListHelmResult[]>;
|
|
770
784
|
export {};
|