@devtron-labs/devtron-fe-common-lib 0.0.79-beta-10 → 0.0.79-beta-12
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/Constants.d.ts +2 -0
- package/dist/Pages/ResourceBrowser/Helper.d.ts +0 -10
- package/dist/Pages/ResourceBrowser/ResourceBrowser.Types.d.ts +0 -3
- package/dist/Pages/ResourceBrowser/index.d.ts +0 -1
- package/dist/Shared/validations.d.ts +1 -0
- package/dist/index.js +4268 -4325
- package/package.json +1 -1
- package/dist/Pages/ResourceBrowser/Constants.d.ts +0 -11
|
@@ -1,13 +1,3 @@
|
|
|
1
|
-
import { ApiResourceGroupType, K8SObjectType } from './ResourceBrowser.Types';
|
|
2
1
|
import { AggregationKeys, NodeType } from '../../Shared';
|
|
3
2
|
|
|
4
|
-
export declare function createClusterEnvGroup<T extends Record<string, string>>(list: T[], propKey: string, optionLabel?: string, optionValue?: string): {
|
|
5
|
-
label: string;
|
|
6
|
-
options: T[];
|
|
7
|
-
isVirtualEnvironment?: boolean;
|
|
8
|
-
}[];
|
|
9
3
|
export declare function getAggregator(nodeType: NodeType, defaultAsOtherResources?: boolean): AggregationKeys;
|
|
10
|
-
export declare const processK8SObjects: (k8sObjects: ApiResourceGroupType[], selectedResourceKind?: string, disableGroupFilter?: boolean) => {
|
|
11
|
-
k8SObjectMap: Map<string, K8SObjectType>;
|
|
12
|
-
selectedResource: ApiResourceGroupType;
|
|
13
|
-
};
|
|
@@ -2,6 +2,7 @@ export interface ValidationResponseType {
|
|
|
2
2
|
isValid: boolean;
|
|
3
3
|
message?: string;
|
|
4
4
|
}
|
|
5
|
+
export declare const requiredField: (value: string) => ValidationResponseType;
|
|
5
6
|
export declare const validateName: (name: string) => ValidationResponseType;
|
|
6
7
|
export declare const validateDescription: (description: string) => ValidationResponseType;
|
|
7
8
|
export declare const validateRequiredPositiveNumber: (value: string | number) => ValidationResponseType;
|