@yugabytedb/perf-advisor-ui 1.0.54 → 1.0.55
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/cjs/index.js +2 -2
- package/dist/cjs/index.js.map +1 -1
- package/dist/types.d.ts +23 -11
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -651,7 +651,7 @@ interface YBButtonProps extends Omit<MUIButtonProps, 'variant' | 'color' | 'clas
|
|
|
651
651
|
}
|
|
652
652
|
declare const YBButton: FC<YBButtonProps>;
|
|
653
653
|
|
|
654
|
-
interface CodeBlockProps {
|
|
654
|
+
interface CodeBlockProps$1 {
|
|
655
655
|
showCopyButton?: boolean;
|
|
656
656
|
multiBlock?: boolean;
|
|
657
657
|
codeClassName?: string;
|
|
@@ -667,9 +667,26 @@ interface CodeBlockProps {
|
|
|
667
667
|
collapseLabel?: string;
|
|
668
668
|
onCopySuccess?: () => void;
|
|
669
669
|
}
|
|
670
|
-
declare const YBCodeBlock: FC<CodeBlockProps>;
|
|
670
|
+
declare const YBCodeBlock: FC<CodeBlockProps$1>;
|
|
671
|
+
|
|
672
|
+
interface CodeBlockProps {
|
|
673
|
+
showCopyButton?: boolean;
|
|
674
|
+
analyticsEventProps?: Record<string, string>;
|
|
675
|
+
multiBlock?: boolean;
|
|
676
|
+
codeClassName?: string;
|
|
677
|
+
preClassName?: string;
|
|
678
|
+
lang?: string;
|
|
679
|
+
containerClassName?: string;
|
|
680
|
+
text: string | string[] | React$1.ReactElement | React$1.ReactElement[];
|
|
681
|
+
dataTestId?: string;
|
|
682
|
+
enabledExpandCollapse?: boolean;
|
|
683
|
+
showExpandCollapse?: boolean;
|
|
684
|
+
collapseHeight?: number;
|
|
685
|
+
appName: AppName;
|
|
686
|
+
}
|
|
687
|
+
declare const YBCodeBlockCopy: FC<CodeBlockProps>;
|
|
671
688
|
|
|
672
|
-
declare const useCodeBlockStyles: (props?: any) => _material_ui_core_styles_withStyles.ClassNameMap<"codeClassName" | "preClassName" | "containerClassName" | "searchBox" | "refreshBtn" | "codeBlock" | "codeBlockSqlView" | "tableHeaderCell" | "rowTableCell" | "tableContainer" | "tableRow" | "queryTableRow" | "queryTableCell" | "queryPreBlock" | "queryPreBlockWeb" | "queryCodeElement" | "queryCodeElementWeb" | "queryContainerCode" | "defaultActions" | "overrideExpandBtn"
|
|
689
|
+
declare const useCodeBlockStyles: (props?: any) => _material_ui_core_styles_withStyles.ClassNameMap<"codeClassName" | "preClassName" | "containerClassName" | "searchBox" | "refreshBtn" | "codeBlock" | "codeBlockSqlView" | "tableHeaderCell" | "rowTableCell" | "tableContainer" | "tableRow" | "queryTableRow" | "queryTableCell" | "queryPreBlock" | "queryPreBlockWeb" | "queryCodeElement" | "queryCodeElementWeb" | "queryContainerCode" | "defaultActions" | "overrideExpandBtn">;
|
|
673
690
|
|
|
674
691
|
interface YBErrorIndicatorProps {
|
|
675
692
|
type?: string;
|
|
@@ -821,7 +838,7 @@ interface YBPanelItemProps {
|
|
|
821
838
|
body: any;
|
|
822
839
|
title?: string;
|
|
823
840
|
}
|
|
824
|
-
declare const YBPanelItem: ({ noBackground, className, bodyClassName, children, body, header, title }: YBPanelItemProps) => JSX.Element;
|
|
841
|
+
declare const YBPanelItem: ({ noBackground, className, bodyClassName, children, body, header, title, }: YBPanelItemProps) => JSX.Element;
|
|
825
842
|
|
|
826
843
|
interface CustomTableOptions extends MUIDataTableOptions {
|
|
827
844
|
customHeader?: ReactNode;
|
|
@@ -871,7 +888,7 @@ declare const YBToggleField: <T extends FieldValues>(props: YBInputFieldProps<T>
|
|
|
871
888
|
|
|
872
889
|
interface MetricSplitSelectorProps {
|
|
873
890
|
metricSplitSelectors: any;
|
|
874
|
-
anomalyData?:
|
|
891
|
+
anomalyData?: Anomaly | null;
|
|
875
892
|
shouldShowViewMetricsLabel?: boolean;
|
|
876
893
|
onSplitTypeSelected: (selectedOption: MetricMeasure) => void;
|
|
877
894
|
}
|
|
@@ -1024,16 +1041,11 @@ declare const filterDurations: readonly [{
|
|
|
1024
1041
|
}];
|
|
1025
1042
|
declare const CATEGORY_HEADER_DATA_MAP: Record<any, any>;
|
|
1026
1043
|
declare const QUERY_DETAILS = "QUERY DETAILS";
|
|
1027
|
-
declare const QUERY_TAG = "QUERY";
|
|
1028
|
-
declare const DB_CAPS_TAG_ = "DATABASE";
|
|
1029
|
-
declare const QUERY_TYPE_TAG = "QUERY TYPE";
|
|
1030
1044
|
declare const DB_TAG = "Database";
|
|
1031
1045
|
declare const USER_TAG = "User";
|
|
1032
1046
|
declare const TABLE_TAG = "Table";
|
|
1033
1047
|
declare const TABLET_TAG = "Tablet Id";
|
|
1034
|
-
declare const TABLET_ID_TAG = "TABLET ID";
|
|
1035
1048
|
declare const ANOMALY_TAG = "ANOMALY";
|
|
1036
|
-
declare const REGION_ZONE_TAG = "REGION/ZONE";
|
|
1037
1049
|
declare const REGION_TAG = "Region";
|
|
1038
1050
|
declare const ZONE_TAG = "Zone";
|
|
1039
1051
|
declare const MetricOrigin: {
|
|
@@ -1277,4 +1289,4 @@ declare const isValidObject: typeof isDefinedNotNull;
|
|
|
1277
1289
|
declare function removeNullProperties(obj: any): void;
|
|
1278
1290
|
declare function isYAxisGreaterThanThousand(dataArray: any): boolean;
|
|
1279
1291
|
|
|
1280
|
-
export { ACTIVE_SESSION_HISOTRY_EPS_CLIENT_NODE, ACTIVE_SESSION_HISTORY_EPS_GLOBAL, ACTIVE_SESSION_HISTORY_QUERY_EVENTS, ALL, ALL_REGIONS, ALL_ZONES, ANOMALY_CATEGORY_LIST, ANOMALY_FILTER_DURATION_OPTIONS, ANOMALY_TAG, ANOMALY_TYPE_TO_NAME_MAP, ASH, ASH_GROUPBY_VALUES, AggregatedLineSettings, Aggregation, AlertVariant, Anomaly, AnomalyCategory, AnomalyDetails, AnomalyDetectionStatus, AnomalyDetectionStatusText, AnomalyGroup, AnomalyInstance, AnomalyResponse, AnomalyType, AnomalyTypeFilter, AppName, AttachUniversePayload, AuthDetails, BACKGROUND_QUERY_REQUEST_GRAPHS, CATALOG_READ_REQUEST_GRAPH, CATEGORY_HEADER_DATA_MAP, COLORS, CORES, CPU_CORES, CPU_COUNT, CQL_QUERY_REQUEST_GRAPHS, ClusterLoadResponseData, ClusterLoadTabs, ClusterNodeInfo, ClusterNodeListMetadata, ClusterRegionSelector, Column, ColumnOptions, ConfigureUniverseMetadata,
|
|
1292
|
+
export { ACTIVE_SESSION_HISOTRY_EPS_CLIENT_NODE, ACTIVE_SESSION_HISTORY_EPS_GLOBAL, ACTIVE_SESSION_HISTORY_QUERY_EVENTS, ALL, ALL_REGIONS, ALL_ZONES, ANOMALY_CATEGORY_LIST, ANOMALY_FILTER_DURATION_OPTIONS, ANOMALY_TAG, ANOMALY_TYPE_TO_NAME_MAP, ASH, ASH_GROUPBY_VALUES, AggregatedLineSettings, Aggregation, AlertVariant, Anomaly, AnomalyCategory, AnomalyDetails, AnomalyDetectionStatus, AnomalyDetectionStatusText, AnomalyGroup, AnomalyInstance, AnomalyResponse, AnomalyType, AnomalyTypeFilter, AppName, AttachUniversePayload, AuthDetails, BACKGROUND_QUERY_REQUEST_GRAPHS, CATALOG_READ_REQUEST_GRAPH, CATEGORY_HEADER_DATA_MAP, COLORS, CORES, CPU_CORES, CPU_COUNT, CQL_QUERY_REQUEST_GRAPHS, ClusterLoadResponseData, ClusterLoadTabs, ClusterNodeInfo, ClusterNodeListMetadata, ClusterRegionSelector, Column, ColumnOptions, ConfigureUniverseMetadata, DB_TAG, DEFAULT_ERROR_MESSAGES, DEFAULT_RECORDS_PER_PAGE, ELLIPSIS, FormattedAnomalyRca, GLOBAL_RUNTIME_CONFIG, GROUP_BY_OPERATIONS, GenericFailure, GraphAxisData, GraphFilters, GraphMetadata, GraphRequestParams, GraphResponse, GraphSettings, GraphType, GroupEventsParam, IN_DEVELOPMENT_MODE, InsightsTabs, MAX_OUTLIER_NUM_NODES, METRICS_OUTLIER_DATABASES_STORAGE_KEY, METRICS_OUTLIER_TABLES_STORAGE_KEY, METRICS_SESSION_STORAGE_KEY, METRIC_DB_RESOURCES_WITH_GRAPHS, METRIC_FONT, METRIC_NAMES, METRIC_RESOURCES_WITH_GRAPHS, METRIC_TABLES_RESOURCES_WITH_GRAPHS, METRIC_TABS, METRIC_TABS_DATABASES, METRIC_TABS_TABLES, MIN_OUTLIER_NUM_NODES, MORE, MetadataFields, MetricConsts, MetricMeasure, MetricOrigin, MetricSplitSelector, MetricsAnalysisEntry, MetricsAnalysisEntryProps, NAME_COLOR_MAPPING, NodeData, NodeDataCloudInfo, NodeDataMetrics, NodeDetails, NodeInfo, NodeState, OutlierSelector, PAUrlParams, PerfAdvisorAPI, PerfAdvisorEntry, PrimaryDashboardViewTabs, QUERIES, QUERY_DETAILS, QUERY_KEY, QueryPageParams, QueryType, QueryWaitEvents, RCAGuideline, RCA_GANT_CHART, REACT_APP_API_URL, REGION_TAG, RUNTIME_CONFIG_KEYS, Resources, RowItemClasses$1 as RowItemClasses, RuntimeConfigData, RuntimeConfigType, RuntimeConfigs, SQL_QUERY_REQUEST_GRAPHS, SortDirection, SplitMode, SplitType, TABLET_TAG, TABLE_REQUEST_GRAPHS, TABLE_TAG, TIME_FILTER_LABEL, TIME_FILTER_VALUES, TPFeatureFlags, TYPE, TableInfo, TablePageParams, TroubleshootingRecommendations, URL_TAB_PATH, USER_TAG, Universe, UniverseConfig, UniverseMetadataFields, UniverseQueryData, UniverseQueryStatsData, UpdateMetadataFormFields, UpdateRuntimeConfigFormFields, UrlParams, VIEW_MORE, WAIT_EVENT_MAPPING, WaitEventClassification, YBAlert, YBButton, YBCheckbox, YBCheckboxField, YBCodeBlock, YBCodeBlockCopy, YBDateTimePicker, YBErrorIndicator, YBInfinitePagination, YBInput, YBInputField, YBLabel, YBModal, YBPagination, YBPanelItem, YBSelect, YBTable, YBToggle, YBToggleField, YBTooltip, ZONE_TAG, ZoneNodeSelector, filterDurations, getCustomFooterComponent, getRowCellComponent, isDefinedNotNull, isEmptyArray, isEmptyObject, isEmptyString, isNonEmptyArray, isNonEmptyObject, isNonEmptyString, isNullOrEmpty, isValidObject, isYAxisGreaterThanThousand, metricOutlierSelectors, metricSplitSelectors, otherSplitSelectors, removeNullProperties, useCodeBlockStyles };
|