@devtron-labs/devtron-fe-common-lib 0.6.0-patch-1-beta-11 → 0.6.0-patch-1-beta-13
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 +1 -0
- package/dist/Common/DraggableWrapper/types.d.ts +2 -1
- package/dist/Common/RJSF/Form.d.ts +2 -1
- package/dist/Common/Types.d.ts +9 -0
- package/dist/Pages/ResourceBrowser/ResourceBrowser.Types.d.ts +23 -0
- package/dist/Pages/ResourceBrowser/index.d.ts +1 -0
- package/dist/Pages/ResourceBrowser/service.d.ts +3 -0
- package/dist/assets/index.css +1 -1
- package/dist/{cssMode-B6EJvDou.js → cssMode-BqyPCtyc.js} +1 -1
- package/dist/{freemarker2-NWVqQhP4.js → freemarker2-IpV4WKoD.js} +1 -1
- package/dist/{handlebars-1lLM616-.js → handlebars-P_tJGTpo.js} +1 -1
- package/dist/{html-x33kjvcp.js → html-B3ql4U_Y.js} +1 -1
- package/dist/{htmlMode-DHG9PaKc.js → htmlMode-9sbgjEyu.js} +1 -1
- package/dist/{index-D3nDc1gP.js → index-Cb292vn8.js} +10733 -10722
- package/dist/index.js +156 -155
- package/dist/{javascript-D_bhIeT0.js → javascript-v38eq-N9.js} +1 -1
- package/dist/{jsonMode-B63VtPQY.js → jsonMode-4ldwiZJg.js} +1 -1
- package/dist/{liquid-Cdk0I-zJ.js → liquid-DsHGid7C.js} +1 -1
- package/dist/{mdx-BeJzzFX-.js → mdx-BbHRDNpe.js} +1 -1
- package/dist/{python-DN3psSUa.js → python-h-Ztjhxn.js} +1 -1
- package/dist/{razor-Dv4tkhde.js → razor-BTpD6aAa.js} +1 -1
- package/dist/{tsMode-BkrXVCqn.js → tsMode-CYbI0DHG.js} +1 -1
- package/dist/{typescript-i9wY9Wr3.js → typescript-RQhutDpb.js} +1 -1
- package/dist/{xml-O3pnqIq3.js → xml-Ch7RqBBb.js} +1 -1
- package/dist/{yaml-CKdy87fa.js → yaml-eL6RPtuA.js} +1 -1
- package/package.json +1 -1
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { HTMLAttributes, ReactNode, RefObject } from 'react';
|
|
2
2
|
export declare enum DraggablePositionVariant {
|
|
3
3
|
PARENT_BOTTOM_CENTER = "PARENT_BOTTOM_CENTER",
|
|
4
|
-
SCREEN_BOTTOM_CENTER = "SCREEN_BOTTOM_CENTER"
|
|
4
|
+
SCREEN_BOTTOM_CENTER = "SCREEN_BOTTOM_CENTER",
|
|
5
|
+
SCREEN_BOTTOM_RIGHT = "SCREEN_BOTTOM_RIGHT"
|
|
5
6
|
}
|
|
6
7
|
export interface DraggableWrapperProps {
|
|
7
8
|
children: ReactNode;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
+
import { default as RJSF } from '@rjsf/core';
|
|
1
2
|
import { FormProps } from './types';
|
|
2
|
-
export declare const RJSFForm: (
|
|
3
|
+
export declare const RJSFForm: import('react').ForwardRefExoticComponent<Pick<FormProps, "children" | "className" | "id" | "onFocus" | "onBlur" | "onChange" | "onSubmit" | "onError" | "action" | "disabled" | "name" | "target" | "tagName" | "autoComplete" | "noValidate" | "readonly" | "schema" | "uiSchema" | "formContext" | "formData" | "idPrefix" | "idSeparator" | "fields" | "templates" | "widgets" | "translateString" | "acceptcharset" | "acceptCharset" | "enctype" | "method" | "customValidate" | "extraErrors" | "extraErrorsBlockSubmit" | "noHtml5Validate" | "liveValidate" | "liveOmit" | "omitExtraData" | "showErrorList" | "transformErrors" | "focusOnFirstError" | "experimental_defaultFormStateBehavior" | "_internalFormWrapper"> & import('react').RefAttributes<RJSF<unknown, import('json-schema').JSONSchema7, import('@rjsf/utils').GenericObjectType>>>;
|
package/dist/Common/Types.d.ts
CHANGED
|
@@ -859,4 +859,13 @@ export interface EnvironmentHelmResult {
|
|
|
859
859
|
allowedDeploymentTypes?: DeploymentAppTypes[];
|
|
860
860
|
}
|
|
861
861
|
export type EnvironmentListHelmResponse = ResponseType<EnvironmentListHelmResult[]>;
|
|
862
|
+
export interface WidgetEventDetails {
|
|
863
|
+
message: string;
|
|
864
|
+
namespace: string;
|
|
865
|
+
object: string;
|
|
866
|
+
source: string;
|
|
867
|
+
count: number;
|
|
868
|
+
age: string;
|
|
869
|
+
lastSeen: string;
|
|
870
|
+
}
|
|
862
871
|
export {};
|
|
@@ -19,6 +19,28 @@ export interface K8SObjectBaseType {
|
|
|
19
19
|
name: string;
|
|
20
20
|
isExpanded: boolean;
|
|
21
21
|
}
|
|
22
|
+
interface K8sRequestResourceIdentifierType {
|
|
23
|
+
groupVersionKind: GVKType;
|
|
24
|
+
namespace?: string;
|
|
25
|
+
name?: string;
|
|
26
|
+
}
|
|
27
|
+
interface ResourceListPayloadK8sRequestType {
|
|
28
|
+
resourceIdentifier: K8sRequestResourceIdentifierType;
|
|
29
|
+
patch?: string;
|
|
30
|
+
forceDelete?: boolean;
|
|
31
|
+
}
|
|
32
|
+
export interface K8sResourceListPayloadType {
|
|
33
|
+
clusterId: number;
|
|
34
|
+
filter?: string;
|
|
35
|
+
k8sRequest: ResourceListPayloadK8sRequestType;
|
|
36
|
+
}
|
|
37
|
+
export type K8sResourceDetailDataType = {
|
|
38
|
+
[key: string]: string | number | object;
|
|
39
|
+
};
|
|
40
|
+
export interface K8sResourceDetailType {
|
|
41
|
+
headers: string[];
|
|
42
|
+
data: K8sResourceDetailDataType[];
|
|
43
|
+
}
|
|
22
44
|
export interface BulkSelectionActionWidgetProps {
|
|
23
45
|
count: number;
|
|
24
46
|
handleOpenBulkDeleteModal: () => void;
|
|
@@ -42,3 +64,4 @@ export type BulkOperationModalProps = {
|
|
|
42
64
|
shouldAllowForceOperation?: true;
|
|
43
65
|
};
|
|
44
66
|
export type BulkOperationModalState = BulkOperationModalProps['operationType'] | 'closed';
|
|
67
|
+
export {};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { ResponseType } from '../../Common/Types';
|
|
2
|
+
import { K8sResourceDetailType, K8sResourceListPayloadType } from './ResourceBrowser.Types';
|
|
3
|
+
export declare const getK8sResourceList: (resourceListPayload: K8sResourceListPayloadType, signal?: AbortSignal) => Promise<ResponseType<K8sResourceDetailType>>;
|