@yugabytedb/perf-advisor-ui 1.0.158 → 1.0.159

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.
@@ -1,2 +1,34 @@
1
1
  import { default as React } from 'react';
2
+ export declare const INLINE_CODE_TAG_SX: {
3
+ fontFamily: string;
4
+ fontWeight: number;
5
+ fontStyle: string;
6
+ fontSize: string;
7
+ lineHeight: number;
8
+ letterSpacing: number;
9
+ color: string;
10
+ backgroundColor: string;
11
+ borderRadius: string;
12
+ border: string;
13
+ height: string;
14
+ padding: string;
15
+ display: string;
16
+ alignItems: string;
17
+ justifyContent: string;
18
+ '& .MuiChip-label': {
19
+ padding: number;
20
+ display: string;
21
+ alignItems: string;
22
+ lineHeight: number;
23
+ };
24
+ };
25
+ export declare const InlineCodeChip: React.FC<{
26
+ children: React.ReactNode;
27
+ onClick?: (event: React.MouseEvent) => void;
28
+ }>;
29
+ export declare const CodeSegment: React.FC<{
30
+ text: string;
31
+ lang?: string;
32
+ indent?: boolean;
33
+ }>;
2
34
  export declare const renderRecommendation: (text: string) => React.ReactNode;
@@ -587,6 +587,18 @@ export declare enum RuntimeConfigType {
587
587
  BOOL = "BOOL",
588
588
  DURATION = "DURATION"
589
589
  }
590
+ export interface IndexAnomalyDetails {
591
+ indexName: string;
592
+ schemaName: string;
593
+ tableName: string;
594
+ databaseName: string;
595
+ indexDefinition: string;
596
+ otherIndexName?: string;
597
+ otherIndexDefinition?: string;
598
+ }
599
+ export interface AnomalyDetails {
600
+ indexDetails?: IndexAnomalyDetails;
601
+ }
590
602
  export interface AnomalyInstance {
591
603
  description?: string;
592
604
  detectionTime: string;
@@ -613,6 +625,7 @@ export interface AnomalyInstance {
613
625
  rcaGuidelines: RCAGuideline[];
614
626
  isResolved?: boolean;
615
627
  wastedAASRatio?: number;
628
+ anomalyDetails?: AnomalyDetails;
616
629
  }
617
630
  export interface Interval {
618
631
  startTime: string;
@@ -888,6 +901,7 @@ export interface AnomalyPossibleCauseData {
888
901
  summary: string;
889
902
  observation: string;
890
903
  possibleCauses: AnomalyPossibleCauseItem[];
904
+ anomalyDetails?: AnomalyDetails;
891
905
  }
892
906
  export interface AnomalyPossibleCauseItem {
893
907
  possibleCause: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yugabytedb/perf-advisor-ui",
3
- "version": "1.0.158",
3
+ "version": "1.0.159",
4
4
  "type": "module",
5
5
  "main": "dist/esm/index.js",
6
6
  "module": "dist/esm/index.js",