@devtron-labs/devtron-fe-common-lib 1.22.0-beta-5 → 1.22.0-beta-6
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-B7T-hQ3u.js → @code-editor-Dvv8GEnn.js} +8185 -8581
- package/dist/{@common-rjsf-Dmx_AXNF.js → @common-rjsf-D-h57fxa.js} +2 -2
- package/dist/{@framer-motion-Bi7d_Mil.js → @framer-motion-Bm1bDxeF.js} +147 -147
- package/dist/{@moment-CGWt8tF2.js → @moment-DMLRxgRE.js} +501 -532
- package/dist/{@react-select-C5q5RdNV.js → @react-select-CAv64EGY.js} +3 -3
- package/dist/{@react-virtualized-sticky-tree-LXSXNrbc.js → @react-virtualized-sticky-tree-CfPrX6Ai.js} +1 -1
- package/dist/@vendor-CyzLceRe.js +124366 -0
- package/dist/Common/API/reactQueryHooks.d.ts +1 -2
- package/dist/Common/Constants.d.ts +0 -4
- package/dist/Common/DraggableWrapper/DraggableWrapper.d.ts +4 -2
- package/dist/Common/DraggableWrapper/types.d.ts +2 -6
- package/dist/Common/GenericDescription/GenericDescription.d.ts +1 -1
- package/dist/Common/GenericDescription/types.d.ts +0 -6
- package/dist/Common/GenericDescription/utils.d.ts +0 -1
- package/dist/Common/RJSF/Form.d.ts +1 -1
- package/dist/Shared/Components/AppStatusModal/AppStatusBody.d.ts +1 -1
- package/dist/Shared/Components/AppStatusModal/types.d.ts +1 -4
- package/dist/Shared/Components/Charts/types.d.ts +2 -0
- package/dist/Shared/Components/DatePicker/DateTimePicker.d.ts +1 -1
- package/dist/Shared/Components/DatePicker/constants.d.ts +2 -112
- package/dist/Shared/Components/DatePicker/index.d.ts +0 -2
- package/dist/Shared/Components/DatePicker/types.d.ts +34 -29
- package/dist/Shared/Components/DatePicker/utils.d.ts +1 -1
- package/dist/Shared/Components/DocLink/constants.d.ts +0 -1
- package/dist/Shared/Components/FloatingVariablesSuggestions/FloatingVariablesSuggestions.d.ts +1 -1
- package/dist/Shared/Components/FloatingVariablesSuggestions/constants.d.ts +1 -4
- package/dist/Shared/Components/FloatingVariablesSuggestions/types.d.ts +2 -4
- package/dist/Shared/Components/Icon/Icon.d.ts +0 -13
- package/dist/Shared/Providers/MainContextProvider/index.d.ts +1 -1
- package/dist/Shared/Providers/MainContextProvider/types.d.ts +4 -40
- package/dist/Shared/Services/types.d.ts +0 -1
- package/dist/Shared/types.d.ts +1 -1
- package/dist/assets/@code-editor.css +1 -1
- package/dist/assets/@vendor.css +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +956 -968
- package/package.json +8 -15
- package/dist/@react-dates-CR-uCH60.js +0 -7634
- package/dist/@vendor-CtCMPfdc.js +0 -81580
- package/dist/Common/Markdown/constant.d.ts +0 -28
- package/dist/Shared/Components/DatePicker/DayPickerRangeController.d.ts +0 -2
- package/dist/Shared/Components/DatePicker/SingleDatePickerComponent.d.ts +0 -11
- package/dist/assets/@react-dates.css +0 -1
- package/dist/assets/ic-bell.d2aa01ec.svg +0 -3
- package/dist/assets/ic-bulb.3906a732.svg +0 -7
- package/dist/assets/ic-calender-blank.963e3423.svg +0 -19
- package/dist/assets/ic-close-circle.b39dd87d.svg +0 -3
- package/dist/assets/ic-comment.cc141b33.svg +0 -3
- package/dist/assets/ic-dot-circle.5ce1fccf.svg +0 -3
- package/dist/assets/ic-line.4e8fa046.svg +0 -3
- package/dist/assets/ic-new-chat.f7c90f8e.svg +0 -5
- package/dist/assets/ic-piggybank.3a4839d7.svg +0 -3
- package/dist/assets/ic-priority-high-fill.53755d8f.svg +0 -3
- package/dist/assets/ic-priority-low-fill.79e781ae.svg +0 -4
- package/dist/assets/ic-priority-urgent-fill.78d42fa0.svg +0 -10
- package/dist/assets/ic-red-bulb.25e01bfc.svg +0 -9
- package/dist/assets/ic-runbook-color.afe649c4.svg +0 -11
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { QueryKey,
|
|
1
|
+
import { QueryKey, UseMutationOptions, UseMutationResult, useQueryClient, UseQueryOptions, UseQueryResult } from '@tanstack/react-query';
|
|
2
2
|
import { ServerErrors } from '../ServerError';
|
|
3
3
|
import { ResponseType } from '../Types';
|
|
4
4
|
export declare const useQuery: <TQueryFnData = unknown, TData = TQueryFnData, TQueryKey extends QueryKey = QueryKey, WrapWithResponseType extends boolean = true>(options: UseQueryOptions<WrapWithResponseType extends true ? ResponseType<TQueryFnData> : TQueryFnData, ServerErrors, TData, TQueryKey>) => UseQueryResult<TData, ServerErrors>;
|
|
5
5
|
export declare const useMutation: <TData = unknown, TVariables = void, TContext = unknown>(options: UseMutationOptions<ResponseType<TData>, ServerErrors, TVariables, TContext>) => UseMutationResult<ResponseType<TData>, ServerErrors, TVariables, TContext>;
|
|
6
|
-
export declare const useInfiniteQuery: <TQueryFnData = unknown, TData = TQueryFnData, TQueryKey extends QueryKey = QueryKey, WrapWithResponseType extends boolean = true>(options: UseInfiniteQueryOptions<WrapWithResponseType extends true ? ResponseType<TQueryFnData> : TQueryFnData, ServerErrors, TData, WrapWithResponseType extends true ? ResponseType<TQueryFnData> : TQueryFnData, TQueryKey>) => UseInfiniteQueryResult<TData, ServerErrors>;
|
|
7
6
|
export { useQueryClient };
|
|
@@ -42,8 +42,6 @@ export declare const URLS: {
|
|
|
42
42
|
readonly APP_DEPLOYMNENT_HISTORY: "deployments";
|
|
43
43
|
readonly APP_DETAILS: "details";
|
|
44
44
|
readonly APP_DETAILS_K8: "k8s-resources";
|
|
45
|
-
readonly EXTERNAL_ARGO_APP: "eaa";
|
|
46
|
-
readonly EXTERNAL_FLUX_APP: "external-flux";
|
|
47
45
|
readonly DETAILS: "/details";
|
|
48
46
|
readonly CD_DETAILS: "cd-details";
|
|
49
47
|
readonly APP_TRIGGER: "trigger";
|
|
@@ -95,7 +93,6 @@ export declare const URLS: {
|
|
|
95
93
|
readonly SECURITY_CENTER_POLICIES: "/security-center/policies";
|
|
96
94
|
readonly AUTOMATION_AND_ENABLEMENT: "/automation-and-enablement";
|
|
97
95
|
readonly AUTOMATION_AND_ENABLEMENT_JOB: "/automation-and-enablement/job";
|
|
98
|
-
readonly AUTOMATION_ENABLEMENT_RUNBOOKS: "/automation-and-enablement/runbooks";
|
|
99
96
|
readonly DATA_PROTECTION: "/data-protection-management";
|
|
100
97
|
readonly DATA_PROTECTION_OVERVIEW: "/data-protection-management/overview";
|
|
101
98
|
readonly DATA_PROTECTION_BACKUP_AND_SCHEDULE: `/data-protection-management/backup-and-schedule/:view(${string})`;
|
|
@@ -112,7 +109,6 @@ export declare const URLS: {
|
|
|
112
109
|
};
|
|
113
110
|
export declare const ROUTES: {
|
|
114
111
|
readonly APP: "app";
|
|
115
|
-
readonly ATHENA: "athena";
|
|
116
112
|
readonly APP_ARTIFACT_PROMOTE_MATERIAL: "app/artifact/promotion-request/material";
|
|
117
113
|
readonly APP_TEMPLATE_DATA: "app/template/data";
|
|
118
114
|
readonly ENVIRONMENT_CATEGORIES: "env/categories";
|
|
@@ -3,6 +3,8 @@ import { DraggableWrapperProps } from './types';
|
|
|
3
3
|
* TODO: import it as lazy, after it is supported in common
|
|
4
4
|
* 1. If using react select please use menuPlacement='auto'
|
|
5
5
|
* 2. dragSelector will be used to identify the grabbable button that will grab the div to drag
|
|
6
|
-
* 3.
|
|
6
|
+
* 3. The wrapper is positioned at the viewport's top-left (top: 0, left: 0) using fixed positioning; parentRef is an optional
|
|
7
|
+
* reference that may be used for position calculations but is not the base origin for the coordinate system.
|
|
7
8
|
*/
|
|
8
|
-
|
|
9
|
+
declare const DraggableWrapper: ({ children, zIndex, positionVariant, dragSelector, parentRef, boundaryGap, childDivProps, }: DraggableWrapperProps) => JSX.Element;
|
|
10
|
+
export default DraggableWrapper;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { HTMLAttributes, ReactNode, RefObject } from 'react';
|
|
2
2
|
export declare enum DraggablePositionVariant {
|
|
3
3
|
PARENT_BOTTOM_CENTER = "PARENT_BOTTOM_CENTER",
|
|
4
|
+
PARENT_BOTTOM_RIGHT = "PARENT_BOTTOM_RIGHT",
|
|
4
5
|
SCREEN_BOTTOM_CENTER = "SCREEN_BOTTOM_CENTER",
|
|
5
6
|
SCREEN_BOTTOM_RIGHT = "SCREEN_BOTTOM_RIGHT"
|
|
6
7
|
}
|
|
@@ -16,13 +17,8 @@ export interface DraggableWrapperProps {
|
|
|
16
17
|
*/
|
|
17
18
|
dragSelector: string;
|
|
18
19
|
parentRef?: RefObject<HTMLDivElement>;
|
|
19
|
-
boundaryGap?: number
|
|
20
|
+
boundaryGap?: Record<'x' | 'y', number>;
|
|
20
21
|
childDivProps?: HTMLAttributes<HTMLDivElement>;
|
|
21
|
-
/**
|
|
22
|
-
* Delta for fixing the scrollable layout positioning
|
|
23
|
-
* @deprecated
|
|
24
|
-
*/
|
|
25
|
-
layoutFixDelta?: number;
|
|
26
22
|
}
|
|
27
23
|
/**
|
|
28
24
|
* dragClassName is the class that we feed to Draggable to identify dragging buttons
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { GenericDescriptionProps } from './types';
|
|
2
|
-
declare const GenericDescription: ({ text, updatedBy, updatedOn,
|
|
2
|
+
declare const GenericDescription: ({ text, updatedBy, updatedOn, updateDescription, title, emptyStateConfig, }: GenericDescriptionProps) => JSX.Element;
|
|
3
3
|
export default GenericDescription;
|
|
@@ -4,14 +4,8 @@ export interface GenericDescriptionProps {
|
|
|
4
4
|
updatedOn?: string;
|
|
5
5
|
updateDescription: (string: any) => Promise<void>;
|
|
6
6
|
title: string;
|
|
7
|
-
tabIndex?: number;
|
|
8
|
-
minEditorHeight?: number;
|
|
9
7
|
emptyStateConfig?: {
|
|
10
8
|
img: string;
|
|
11
9
|
subtitle: JSX.Element;
|
|
12
10
|
};
|
|
13
11
|
}
|
|
14
|
-
export declare enum MDEditorSelectedTabType {
|
|
15
|
-
WRITE = "write",
|
|
16
|
-
PREVIEW = "preview"
|
|
17
|
-
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { default as RJSF } from '@rjsf/core';
|
|
2
2
|
import { FormProps } from './types';
|
|
3
|
-
export declare const RJSFForm: import('react').ForwardRefExoticComponent<Pick<FormProps, "children" | "className" | "name" | "id" | "disabled" | "tagName" | "target" | "onFocus" | "onBlur" | "onChange" | "onSubmit" | "onError" | "autoComplete" | "acceptCharset" | "action" | "method" | "noValidate" | "readonly" | "uiSchema" | "schema" | "formContext" | "formData" | "idPrefix" | "idSeparator" | "fields" | "templates" | "widgets" | "translateString" | "acceptcharset" | "enctype" | "customValidate" | "extraErrors" | "extraErrorsBlockSubmit" | "noHtml5Validate" | "liveValidate" | "liveOmit" | "omitExtraData" | "showErrorList" | "transformErrors" | "focusOnFirstError" | "experimental_defaultFormStateBehavior" | "_internalFormWrapper"> & import('react').RefAttributes<RJSF<any, import('./types').RJSFFormSchema, any>>>;
|
|
3
|
+
export declare const RJSFForm: import('react').ForwardRefExoticComponent<Pick<FormProps, "children" | "className" | "name" | "id" | "disabled" | "tagName" | "target" | "onFocus" | "onBlur" | "onChange" | "onSubmit" | "onError" | "autoComplete" | "acceptCharset" | "action" | "method" | "noValidate" | "readonly" | "uiSchema" | "schema" | "formContext" | "formData" | "idPrefix" | "idSeparator" | "fields" | "templates" | "widgets" | "translateString" | "acceptcharset" | "enctype" | "customValidate" | "extraErrors" | "extraErrorsBlockSubmit" | "noHtml5Validate" | "liveValidate" | "liveOmit" | "omitExtraData" | "showErrorList" | "transformErrors" | "focusOnFirstError" | "experimental_defaultFormStateBehavior" | "experimental_customMergeAllOf" | "_internalFormWrapper"> & import('react').RefAttributes<RJSF<any, import('./types').RJSFFormSchema, any>>>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { AppStatusBodyProps } from './types';
|
|
2
|
-
export declare const AppStatusBody: ({ appDetails, type, handleShowConfigDriftModal, deploymentStatusDetailsBreakdownData, selectedTab, debugWithAIButton: ExplainWithAIButton,
|
|
2
|
+
export declare const AppStatusBody: ({ appDetails, type, handleShowConfigDriftModal, deploymentStatusDetailsBreakdownData, selectedTab, debugWithAIButton: ExplainWithAIButton, }: AppStatusBodyProps) => JSX.Element;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { FunctionComponent, PropsWithChildren, ReactNode } from 'react';
|
|
2
2
|
import { APIOptions, DeploymentAppTypes } from '../../../Common/Types';
|
|
3
|
-
import { MainContext } from '../../Providers';
|
|
4
3
|
import { AppDetails, ConfigDriftModalProps, DeploymentStatusDetailsBreakdownDataType, DeploymentStatusDetailsType, IntelligenceConfig } from '../../types';
|
|
5
4
|
export declare enum AppStatusModalTabType {
|
|
6
5
|
APP_STATUS = "appStatus",
|
|
@@ -14,8 +13,6 @@ export type AppStatusModalProps = {
|
|
|
14
13
|
processVirtualEnvironmentDeploymentData: (data?: DeploymentStatusDetailsType) => DeploymentStatusDetailsBreakdownDataType;
|
|
15
14
|
debugWithAIButton: FunctionComponent<{
|
|
16
15
|
intelligenceConfig: IntelligenceConfig;
|
|
17
|
-
debugAgentContext: MainContext['debugAgentContext'];
|
|
18
|
-
onClick?: () => void;
|
|
19
16
|
}>;
|
|
20
17
|
} & ({
|
|
21
18
|
type: 'release';
|
|
@@ -32,7 +29,7 @@ export type AppStatusModalProps = {
|
|
|
32
29
|
appId?: never;
|
|
33
30
|
envId?: never;
|
|
34
31
|
});
|
|
35
|
-
export interface AppStatusBodyProps extends Required<Pick<AppStatusModalProps, 'appDetails' | 'type' | 'debugWithAIButton'
|
|
32
|
+
export interface AppStatusBodyProps extends Required<Pick<AppStatusModalProps, 'appDetails' | 'type' | 'debugWithAIButton'>> {
|
|
36
33
|
handleShowConfigDriftModal: () => void;
|
|
37
34
|
selectedTab: AppStatusModalTabType;
|
|
38
35
|
deploymentStatusDetailsBreakdownData: DeploymentStatusDetailsBreakdownDataType;
|
|
@@ -93,7 +93,9 @@ export type ChartProps = {
|
|
|
93
93
|
placement?: TooltipProps['placement'];
|
|
94
94
|
datasetValueFormatter?: (value: number) => string | number;
|
|
95
95
|
};
|
|
96
|
+
/** A title for x axis */
|
|
96
97
|
xScaleTitle?: string;
|
|
98
|
+
/** A title for y axis */
|
|
97
99
|
yScaleTitle?: string;
|
|
98
100
|
} & TypeAndDatasetsType;
|
|
99
101
|
export type TransformDatasetProps = {
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { DateTimePickerProps } from './types';
|
|
2
|
-
declare const DateTimePicker: ({ date: dateObject, onChange, timePickerProps, disabled, id, label, required, hideTimeSelect, readOnly,
|
|
2
|
+
declare const DateTimePicker: ({ date: dateObject, dateRange, onChange, timePickerProps, disabled, id, label, required, hideTimeSelect, readOnly, dataTestIdForTime, error, isRangePicker, isTodayBlocked, blockPreviousDates, isOutsideRange, rangeShortcutOptions, }: DateTimePickerProps) => JSX.Element;
|
|
3
3
|
export default DateTimePicker;
|
|
@@ -1,63 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const selectedStyles: {
|
|
3
|
-
background: string;
|
|
4
|
-
color: string;
|
|
5
|
-
hover: {
|
|
6
|
-
background: string;
|
|
7
|
-
color: string;
|
|
8
|
-
};
|
|
9
|
-
};
|
|
10
|
-
export declare const selectedSpanStyles: {
|
|
11
|
-
background: string;
|
|
12
|
-
color: string;
|
|
13
|
-
hover: {
|
|
14
|
-
background: string;
|
|
15
|
-
color: string;
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
|
-
export declare const hoveredSpanStyles: {
|
|
19
|
-
background: string;
|
|
20
|
-
color: string;
|
|
21
|
-
};
|
|
22
|
-
export declare const customDayStyles: {
|
|
23
|
-
selectedStartStyles: {
|
|
24
|
-
background: string;
|
|
25
|
-
color: string;
|
|
26
|
-
hover: {
|
|
27
|
-
background: string;
|
|
28
|
-
color: string;
|
|
29
|
-
};
|
|
30
|
-
};
|
|
31
|
-
selectedEndStyles: {
|
|
32
|
-
background: string;
|
|
33
|
-
color: string;
|
|
34
|
-
hover: {
|
|
35
|
-
background: string;
|
|
36
|
-
color: string;
|
|
37
|
-
};
|
|
38
|
-
};
|
|
39
|
-
hoveredSpanStyles: {
|
|
40
|
-
background: string;
|
|
41
|
-
color: string;
|
|
42
|
-
};
|
|
43
|
-
selectedSpanStyles: {
|
|
44
|
-
background: string;
|
|
45
|
-
color: string;
|
|
46
|
-
hover: {
|
|
47
|
-
background: string;
|
|
48
|
-
color: string;
|
|
49
|
-
};
|
|
50
|
-
};
|
|
51
|
-
selectedStyles: {
|
|
52
|
-
background: string;
|
|
53
|
-
color: string;
|
|
54
|
-
hover: {
|
|
55
|
-
background: string;
|
|
56
|
-
color: string;
|
|
57
|
-
};
|
|
58
|
-
};
|
|
59
|
-
border: string;
|
|
60
|
-
};
|
|
1
|
+
import { CustomComponents } from 'react-day-picker';
|
|
61
2
|
export declare const MONTHLY_DATES_CONFIG: {
|
|
62
3
|
'Day 1': string;
|
|
63
4
|
'Day 2': string;
|
|
@@ -153,55 +94,4 @@ export declare const DATE_PICKER_IDS: {
|
|
|
153
94
|
MONTH: string;
|
|
154
95
|
TIME: string;
|
|
155
96
|
};
|
|
156
|
-
export declare const
|
|
157
|
-
PresetDateRangePicker_panel: {
|
|
158
|
-
padding: string;
|
|
159
|
-
width: string;
|
|
160
|
-
height: string;
|
|
161
|
-
};
|
|
162
|
-
PresetDateRangePicker_button: {
|
|
163
|
-
width: string;
|
|
164
|
-
background: string;
|
|
165
|
-
border: string;
|
|
166
|
-
color: string;
|
|
167
|
-
padding: string;
|
|
168
|
-
font: string;
|
|
169
|
-
fontWeight: number;
|
|
170
|
-
lineHeight: string;
|
|
171
|
-
overflow: string;
|
|
172
|
-
cursor: string;
|
|
173
|
-
':active': {
|
|
174
|
-
outline: number;
|
|
175
|
-
};
|
|
176
|
-
};
|
|
177
|
-
DayPicker__horizontal: {
|
|
178
|
-
borderRadius: string;
|
|
179
|
-
};
|
|
180
|
-
PresetDateRangePicker_button__selected: {
|
|
181
|
-
color: string;
|
|
182
|
-
fontWeight: number;
|
|
183
|
-
background: string;
|
|
184
|
-
outline: string;
|
|
185
|
-
};
|
|
186
|
-
};
|
|
187
|
-
export declare const DayPickerCalendarInfoHorizontal: {
|
|
188
|
-
width: string;
|
|
189
|
-
boxShadow: string;
|
|
190
|
-
};
|
|
191
|
-
export declare const DayPickerRangeControllerPresets: {
|
|
192
|
-
text: string;
|
|
193
|
-
endDate: moment.Moment;
|
|
194
|
-
startDate: moment.Moment;
|
|
195
|
-
endStr: string;
|
|
196
|
-
}[];
|
|
197
|
-
/**
|
|
198
|
-
* Returns a string representing the range of dates
|
|
199
|
-
* given by the start and end dates. If the end date
|
|
200
|
-
* is 'now' and the start date includes 'now',
|
|
201
|
-
* it will return the corresponding range from the
|
|
202
|
-
* DayPickerRangeControllerPresets array.
|
|
203
|
-
* @param startDateStr - the start date string
|
|
204
|
-
* @param endDateStr - the end date string
|
|
205
|
-
* @returns - a string representing the range of dates
|
|
206
|
-
*/
|
|
207
|
-
export declare function getCalendarValue(startDateStr: string, endDateStr: string): string;
|
|
97
|
+
export declare const DATE_PICKER_CUSTOM_COMPONENTS: Partial<CustomComponents>;
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
export * from './constants';
|
|
2
2
|
export { default as DateTimePicker } from './DateTimePicker';
|
|
3
|
-
export { DatePickerRangeController } from './DayPickerRangeController';
|
|
4
3
|
export * from './MonthlySelect';
|
|
5
|
-
export { default as SingleDatePickerComponent } from './SingleDatePickerComponent';
|
|
6
4
|
export * from './TimeSelect';
|
|
7
5
|
export * from './types';
|
|
8
6
|
export * from './utils';
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { SingleDatePickerShape } from 'react-dates';
|
|
2
1
|
import { SelectInstance } from 'react-select';
|
|
3
2
|
import { Moment } from 'moment';
|
|
4
3
|
import { SelectPickerOptionType } from '../SelectPicker';
|
|
@@ -81,11 +80,13 @@ export interface TimeSelectProps {
|
|
|
81
80
|
*/
|
|
82
81
|
selectedTimeOption: DateSelectPickerType;
|
|
83
82
|
}
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
83
|
+
interface DateRangeType {
|
|
84
|
+
from: Date;
|
|
85
|
+
to?: Date;
|
|
86
|
+
}
|
|
87
|
+
export type UpdateDateRangeType = (dateRange: DateRangeType) => void;
|
|
88
|
+
export type UpdateSingleDateType = (date: Date) => void;
|
|
89
|
+
export type DateTimePickerProps = Pick<TimeSelectProps, 'timePickerProps' | 'error' | 'disabled' | 'dataTestIdForTime'> & {
|
|
89
90
|
/**
|
|
90
91
|
* Id for the component
|
|
91
92
|
*/
|
|
@@ -98,10 +99,6 @@ export interface DateTimePickerProps extends Pick<TimeSelectProps, 'date' | 'tim
|
|
|
98
99
|
* If true, the field is required and asterisk is shown
|
|
99
100
|
*/
|
|
100
101
|
required?: boolean;
|
|
101
|
-
/**
|
|
102
|
-
* To hide time selector
|
|
103
|
-
*/
|
|
104
|
-
hideTimeSelect?: boolean;
|
|
105
102
|
/**
|
|
106
103
|
* To make the field read only
|
|
107
104
|
*/
|
|
@@ -110,24 +107,32 @@ export interface DateTimePickerProps extends Pick<TimeSelectProps, 'date' | 'tim
|
|
|
110
107
|
* To block today's date
|
|
111
108
|
*/
|
|
112
109
|
isTodayBlocked?: boolean;
|
|
110
|
+
blockPreviousDates?: boolean;
|
|
111
|
+
isOutsideRange?: (day: Date) => boolean;
|
|
112
|
+
} & ({
|
|
113
|
+
isRangePicker: true;
|
|
114
|
+
hideTimeSelect: true;
|
|
115
|
+
dateRange: DateRangeType;
|
|
116
|
+
onChange: UpdateDateRangeType;
|
|
117
|
+
rangeShortcutOptions?: ({
|
|
118
|
+
label: string;
|
|
119
|
+
onClick: () => void;
|
|
120
|
+
value?: never;
|
|
121
|
+
} | {
|
|
122
|
+
label: string;
|
|
123
|
+
onClick?: never;
|
|
124
|
+
value: DateRangeType;
|
|
125
|
+
})[];
|
|
126
|
+
date?: never;
|
|
127
|
+
} | {
|
|
128
|
+
isRangePicker?: false;
|
|
129
|
+
date: TimeSelectProps['date'];
|
|
130
|
+
onChange: UpdateSingleDateType;
|
|
113
131
|
/**
|
|
114
|
-
*
|
|
115
|
-
*/
|
|
116
|
-
dataTestidForDate?: string;
|
|
117
|
-
/**
|
|
118
|
-
* Function to handle date change
|
|
132
|
+
* To hide time selector
|
|
119
133
|
*/
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
focusedInput: any;
|
|
126
|
-
handleFocusChange: any;
|
|
127
|
-
handleDatesChange: any;
|
|
128
|
-
handleCalendarInputs?: any;
|
|
129
|
-
calendarValue: string;
|
|
130
|
-
handlePredefinedRange: (start: Moment, end: Moment, endStr: string) => void;
|
|
131
|
-
handleDateInput: (key: 'startDate' | 'endDate', value: string) => void;
|
|
132
|
-
handleApply: (...args: any[]) => void;
|
|
133
|
-
}
|
|
134
|
+
hideTimeSelect?: boolean;
|
|
135
|
+
dateRange?: never;
|
|
136
|
+
rangeShortcutOptions?: never;
|
|
137
|
+
});
|
|
138
|
+
export {};
|
|
@@ -10,7 +10,7 @@ export declare const MONTHLY_DATE_OPTIONS: {
|
|
|
10
10
|
* Return the options for the time in label and value format
|
|
11
11
|
* @type {SelectPickerOptionType[]}
|
|
12
12
|
*/
|
|
13
|
-
export declare const DEFAULT_TIME_OPTIONS: SelectPickerOptionType[];
|
|
13
|
+
export declare const DEFAULT_TIME_OPTIONS: SelectPickerOptionType<string>[];
|
|
14
14
|
/**
|
|
15
15
|
* Get the time value from the date object in the format: `hh:mm:ss`
|
|
16
16
|
*/
|
|
@@ -91,7 +91,6 @@ export declare const DOCUMENTATION: {
|
|
|
91
91
|
readonly GLOBAL_CONFIG_SSO_LOGIN_MICROSOFT: "global-configurations/authorization/sso-login/microsoft";
|
|
92
92
|
readonly GLOBAL_CONFIG_PULL_IMAGE_DIGEST: "global-configurations/pull-image-digest";
|
|
93
93
|
readonly GLOBAL_CONFIG_TAGS: "getting-started/global-configurations/tags-policy";
|
|
94
|
-
readonly SAMPLE_RUNBOOK_LINK: "https://docs.devtron.ai/user-guide/ai-recommendations/runbook#add-runbook-spec";
|
|
95
94
|
readonly APP_MANAGEMENT: "docs/user-guide/app-management";
|
|
96
95
|
readonly SOFTWARE_DISTRIBUTION_HUB: "usage/software-distribution-hub";
|
|
97
96
|
readonly RELEASE_TRACKS: "usage/software-distribution-hub/release-hub#creating-release-tracks-and-versions";
|
package/dist/Shared/Components/FloatingVariablesSuggestions/FloatingVariablesSuggestions.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { FloatingVariablesSuggestionsProps } from './types';
|
|
3
|
-
declare const _default: React.MemoExoticComponent<({
|
|
3
|
+
declare const _default: React.MemoExoticComponent<({ appId, envId, clusterId, hideObjectVariables, showValueOnHover, isTemplateView, boundaryGap, }: FloatingVariablesSuggestionsProps) => JSX.Element>;
|
|
4
4
|
export default _default;
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
export declare const SUGGESTIONS_SIZE: {
|
|
2
|
-
width: number;
|
|
3
|
-
height: number;
|
|
4
|
-
};
|
|
5
1
|
export declare const NO_DEFINED_DESCRIPTION = "No Defined Description";
|
|
6
2
|
export declare const NO_DEFINED_VALUE = "No Defined Value";
|
|
7
3
|
export declare const SUGGESTIONS_INFO_TITLE = "What is scoped variable?";
|
|
4
|
+
export declare const DRAG_SELECTOR = "handle-drag";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { DraggableWrapperProps } from '../../../Common/DraggableWrapper';
|
|
2
2
|
import { AppConfigProps } from '../../../Pages/index';
|
|
3
3
|
export interface ScopedVariableType {
|
|
4
4
|
variableName: string;
|
|
@@ -8,12 +8,10 @@ export interface ScopedVariableType {
|
|
|
8
8
|
} | null;
|
|
9
9
|
isRedacted: boolean;
|
|
10
10
|
}
|
|
11
|
-
export interface FloatingVariablesSuggestionsProps extends Required<Pick<AppConfigProps, 'isTemplateView'
|
|
12
|
-
zIndex: number;
|
|
11
|
+
export interface FloatingVariablesSuggestionsProps extends Required<Pick<AppConfigProps, 'isTemplateView'>>, Pick<DraggableWrapperProps, 'boundaryGap'> {
|
|
13
12
|
appId?: string;
|
|
14
13
|
envId?: string;
|
|
15
14
|
clusterId?: string;
|
|
16
|
-
bounds?: DraggableBounds | string | false;
|
|
17
15
|
/**
|
|
18
16
|
* This will hide the variables with object/array values if set to true
|
|
19
17
|
* @default true
|
|
@@ -30,7 +30,6 @@ export declare const iconMap: {
|
|
|
30
30
|
'ic-backup-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
31
31
|
'ic-backup-location': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
32
32
|
'ic-backup-schedule-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
33
|
-
'ic-bell': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
34
33
|
'ic-bg-backup-schedule': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
35
34
|
'ic-bg-backups': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
36
35
|
'ic-bg-build': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
@@ -57,7 +56,6 @@ export declare const iconMap: {
|
|
|
57
56
|
'ic-bug': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
58
57
|
'ic-build-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
59
58
|
'ic-building': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
60
|
-
'ic-bulb': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
61
59
|
'ic-calendar': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
62
60
|
'ic-cancelled': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
63
61
|
'ic-card-stack': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
@@ -81,7 +79,6 @@ export declare const iconMap: {
|
|
|
81
79
|
'ic-clipboard': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
82
80
|
'ic-clock-counterclockwise': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
83
81
|
'ic-clock': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
84
|
-
'ic-close-circle': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
85
82
|
'ic-close-large': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
86
83
|
'ic-close-small': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
87
84
|
'ic-cloud-upload': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
@@ -91,7 +88,6 @@ export declare const iconMap: {
|
|
|
91
88
|
'ic-code': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
92
89
|
'ic-coins-color-animated': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
93
90
|
'ic-coins': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
94
|
-
'ic-comment': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
95
91
|
'ic-container-registry': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
96
92
|
'ic-container': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
97
93
|
'ic-cookr': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
@@ -119,7 +115,6 @@ export declare const iconMap: {
|
|
|
119
115
|
'ic-disconnect': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
120
116
|
'ic-discord-fill': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
121
117
|
'ic-dockerhub': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
122
|
-
'ic-dot-circle': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
123
118
|
'ic-download': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
124
119
|
'ic-ecr': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
125
120
|
'ic-edit-lines': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
@@ -200,7 +195,6 @@ export declare const iconMap: {
|
|
|
200
195
|
'ic-lego': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
201
196
|
'ic-lightning-fill': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
202
197
|
'ic-lightning': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
203
|
-
'ic-line': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
204
198
|
'ic-link': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
205
199
|
'ic-linked-build-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
206
200
|
'ic-list-bullets': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
@@ -223,7 +217,6 @@ export declare const iconMap: {
|
|
|
223
217
|
'ic-monitoring': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
224
218
|
'ic-more-vertical': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
225
219
|
'ic-namespace': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
226
|
-
'ic-new-chat': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
227
220
|
'ic-new': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
228
221
|
'ic-node-script': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
229
222
|
'ic-oidc': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
@@ -241,16 +234,11 @@ export declare const iconMap: {
|
|
|
241
234
|
'ic-pause-circle': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
242
235
|
'ic-pause': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
243
236
|
'ic-pencil': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
244
|
-
'ic-piggybank': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
245
237
|
'ic-play-outline': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
246
|
-
'ic-priority-high-fill': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
247
|
-
'ic-priority-low-fill': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
248
238
|
'ic-priority-medium-fill': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
249
|
-
'ic-priority-urgent-fill': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
250
239
|
'ic-quay': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
251
240
|
'ic-quote': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
252
241
|
'ic-ratings': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
253
|
-
'ic-red-bulb': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
254
242
|
'ic-release-hub': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
255
243
|
'ic-resize-handle': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
256
244
|
'ic-resource-browser': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
@@ -258,7 +246,6 @@ export declare const iconMap: {
|
|
|
258
246
|
'ic-right-panel-collapse': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
259
247
|
'ic-rocket-gear': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
260
248
|
'ic-rocket-launch': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
261
|
-
'ic-runbook-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
262
249
|
'ic-security-fixable': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
263
250
|
'ic-security-not-fixable': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
264
251
|
'ic-security-policy': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export * from './MainContextProvider';
|
|
2
2
|
export type { MainContext, ReloadVersionConfigTypes, SidePanelConfig, TempAppWindowConfig } from './types';
|
|
3
|
-
export {
|
|
3
|
+
export { SidePanelTab } from './types';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Dispatch,
|
|
1
|
+
import { Dispatch, MutableRefObject, ReactNode, SetStateAction } from 'react';
|
|
2
2
|
import { SERVER_MODE } from '../../../Common';
|
|
3
3
|
import { DevtronLicenseInfo, EnvironmentDataValuesDTO, IntelligenceConfig, LicenseInfoDialogType, ToastManager } from '../..';
|
|
4
4
|
import { ServerInfo } from '../../Components/Header/types';
|
|
@@ -22,40 +22,10 @@ export interface SidePanelConfig {
|
|
|
22
22
|
/** URL to documentation that should be displayed in the panel */
|
|
23
23
|
docLink: string | null;
|
|
24
24
|
aiSessionId?: string;
|
|
25
|
-
isExpandedView?: boolean;
|
|
26
25
|
}
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
}
|
|
31
|
-
export type AIAgentAppType = 'devtronApp' | 'devtronHelmChart' | 'externalHelmChart' | 'externalArgoApp' | 'externalFluxApp';
|
|
32
|
-
type AIAgentAppDataMasterType = {
|
|
33
|
-
appId: number | string;
|
|
34
|
-
appName: string;
|
|
35
|
-
envId: number;
|
|
36
|
-
envName: string;
|
|
37
|
-
clusterId: number;
|
|
38
|
-
namespace: string;
|
|
39
|
-
appType: AIAgentAppType;
|
|
40
|
-
fluxAppDeploymentType: string;
|
|
41
|
-
};
|
|
42
|
-
type AIAgentAppDataType<TAppType extends AIAgentAppType, TRequiredFields extends keyof AIAgentAppDataMasterType> = Pick<AIAgentAppDataMasterType, TRequiredFields> & {
|
|
43
|
-
[K in Exclude<keyof AIAgentAppDataMasterType, TRequiredFields | 'appType'>]?: never;
|
|
44
|
-
} & {
|
|
45
|
-
appType: TAppType;
|
|
46
|
-
};
|
|
47
|
-
export type AIAgentContextType = {
|
|
48
|
-
source: AIAgentContextSourceType.APP_DETAILS;
|
|
49
|
-
data: AIAgentAppDataType<'devtronApp' | 'devtronHelmChart', 'appId' | 'appName' | 'envId' | 'envName' | 'clusterId'> | AIAgentAppDataType<'externalHelmChart', 'appId' | 'appName' | 'clusterId' | 'namespace'> | AIAgentAppDataType<'externalArgoApp', 'appName' | 'clusterId' | 'namespace'> | (AIAgentAppDataType<'externalFluxApp', 'appName' | 'clusterId' | 'namespace' | 'fluxAppDeploymentType'> & Record<string, unknown>);
|
|
50
|
-
} | {
|
|
51
|
-
source: AIAgentContextSourceType.RESOURCE_BROWSER_CLUSTER;
|
|
52
|
-
data: {
|
|
53
|
-
clusterId: number;
|
|
54
|
-
clusterName: string;
|
|
55
|
-
} & Record<string, unknown>;
|
|
56
|
-
};
|
|
57
|
-
export type DebugAgentContextType = AIAgentContextType & {
|
|
58
|
-
prompt?: string;
|
|
26
|
+
type AIAgentContextType = {
|
|
27
|
+
path: string;
|
|
28
|
+
context: Record<string, string>;
|
|
59
29
|
};
|
|
60
30
|
export interface TempAppWindowConfig {
|
|
61
31
|
/** Whether the temporary window is open */
|
|
@@ -117,8 +87,6 @@ type CommonMainContextProps = {
|
|
|
117
87
|
setLicenseData: Dispatch<SetStateAction<DevtronLicenseInfo>>;
|
|
118
88
|
canFetchHelmAppStatus: boolean;
|
|
119
89
|
setIntelligenceConfig: Dispatch<SetStateAction<IntelligenceConfig>>;
|
|
120
|
-
debugAgentContext: DebugAgentContextType | null;
|
|
121
|
-
setDebugAgentContext: (aiAgentContext: DebugAgentContextType | null) => void;
|
|
122
90
|
setAIAgentContext: (aiAgentContext: AIAgentContextType) => void;
|
|
123
91
|
setSidePanelConfig: Dispatch<SetStateAction<SidePanelConfig>>;
|
|
124
92
|
} & Pick<EnvironmentDataValuesDTO, 'isResourceRecommendationEnabled'>;
|
|
@@ -147,8 +115,6 @@ export type MainContext = CommonMainContextProps & ({
|
|
|
147
115
|
aiAgentContext: AIAgentContextType;
|
|
148
116
|
tempAppWindowConfig: TempAppWindowConfig;
|
|
149
117
|
setTempAppWindowConfig: Dispatch<SetStateAction<TempAppWindowConfig>>;
|
|
150
|
-
AIRecommendations?: FunctionComponent;
|
|
151
|
-
featureAskDevtronExpert: EnvironmentDataValuesDTO['featureAskDevtronExpert'];
|
|
152
118
|
} | {
|
|
153
119
|
isLicenseDashboard: true;
|
|
154
120
|
serverMode: null;
|
|
@@ -166,8 +132,6 @@ export type MainContext = CommonMainContextProps & ({
|
|
|
166
132
|
aiAgentContext: null;
|
|
167
133
|
tempAppWindowConfig: null;
|
|
168
134
|
setTempAppWindowConfig: null;
|
|
169
|
-
AIRecommendations?: null;
|
|
170
|
-
featureAskDevtronExpert?: null;
|
|
171
135
|
});
|
|
172
136
|
export interface MainContextProviderProps {
|
|
173
137
|
children: ReactNode;
|
|
@@ -39,7 +39,6 @@ export interface EnvironmentDataValuesDTO extends Pick<MainContext, 'featureGitO
|
|
|
39
39
|
canOnlyViewPermittedEnvOrgLevel: boolean;
|
|
40
40
|
devtronManagedLicensingEnabled: boolean;
|
|
41
41
|
isResourceRecommendationEnabled?: boolean;
|
|
42
|
-
featureAskDevtronExpert: boolean;
|
|
43
42
|
}
|
|
44
43
|
export interface ClusterMinDTO {
|
|
45
44
|
id: number;
|
package/dist/Shared/types.d.ts
CHANGED
|
@@ -1101,7 +1101,7 @@ export interface DeploymentStatusDetailsBreakdownDataType {
|
|
|
1101
1101
|
}
|
|
1102
1102
|
export interface IntelligenceConfig {
|
|
1103
1103
|
clusterId: number;
|
|
1104
|
-
metadata: Record<string, string
|
|
1104
|
+
metadata: Record<string, string>;
|
|
1105
1105
|
prompt: string;
|
|
1106
1106
|
analyticsCategory: string;
|
|
1107
1107
|
}
|