@yugabytedb/perf-advisor-ui 1.0.150 → 1.0.152
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/api.d.ts +6 -2
- package/dist/components/Header/metadata/AnomalyMetadataFields.d.ts +2 -0
- package/dist/components/Header/metadata/MetadataField.d.ts +3 -1
- package/dist/components/Header/metadata/TableIndexesModal.d.ts +15 -0
- package/dist/components/styles.d.ts +1 -1
- package/dist/esm/index.js +13996 -13480
- package/dist/esm/index.js.map +1 -1
- package/dist/helpers/constants.d.ts +2 -0
- package/dist/helpers/dtos.d.ts +59 -1
- package/package.json +1 -1
|
@@ -163,6 +163,7 @@ export declare const DB_TYPE_TAG = "DATABASE TYPE";
|
|
|
163
163
|
export declare const DB_TAG = "Database";
|
|
164
164
|
export declare const USER_TAG = "User";
|
|
165
165
|
export declare const TABLE_TAG = "TABLE";
|
|
166
|
+
export declare const INDEX_TAG = "INDEX";
|
|
166
167
|
export declare const TABLET_TAG = "Tablet Id";
|
|
167
168
|
export declare const TABLET_ID_TAG = "TABLET ID";
|
|
168
169
|
export declare const ANOMALY_TAG = "ANOMALY";
|
|
@@ -497,6 +498,7 @@ export declare const HISTORICAL_QUERY_DATA_LABELS: {
|
|
|
497
498
|
UNIVERSE_ID: string;
|
|
498
499
|
};
|
|
499
500
|
export declare const ADD_COLUMNS_BUTTON_TEXT = "Add Columns";
|
|
501
|
+
export declare const VIEW_SCHEMA_BUTTON_TEXT = "View schema";
|
|
500
502
|
export declare const DEFAULT_ERROR_MESSAGES: {
|
|
501
503
|
UNIVERSE_PA_STATUS_ERROR: string;
|
|
502
504
|
UNIVERSE_DETAILS_ERROR: string;
|
package/dist/helpers/dtos.d.ts
CHANGED
|
@@ -474,6 +474,64 @@ export interface QueryStatsPagedBody {
|
|
|
474
474
|
export interface PagedStatsResponse {
|
|
475
475
|
data: QueryStatsPagedBody;
|
|
476
476
|
}
|
|
477
|
+
export interface IndexId {
|
|
478
|
+
universeId: string;
|
|
479
|
+
namespaceName: string;
|
|
480
|
+
schemaName: string;
|
|
481
|
+
indexName: string;
|
|
482
|
+
}
|
|
483
|
+
export interface IndexAttribute {
|
|
484
|
+
name?: string;
|
|
485
|
+
definition?: string;
|
|
486
|
+
options?: string;
|
|
487
|
+
}
|
|
488
|
+
export interface IndexResponseMetadata {
|
|
489
|
+
id: IndexId;
|
|
490
|
+
tableName: string;
|
|
491
|
+
tablespaceName?: string;
|
|
492
|
+
indexType?: string;
|
|
493
|
+
definition?: string;
|
|
494
|
+
whereClause?: string;
|
|
495
|
+
primary: boolean;
|
|
496
|
+
constraintIndex: boolean;
|
|
497
|
+
unique: boolean;
|
|
498
|
+
nullNotDistinct: boolean;
|
|
499
|
+
attributes?: IndexAttribute[];
|
|
500
|
+
indexId?: number;
|
|
501
|
+
updated?: string;
|
|
502
|
+
}
|
|
503
|
+
export interface IndexPagedResponse {
|
|
504
|
+
entities: IndexResponseMetadata[];
|
|
505
|
+
hasNext: boolean;
|
|
506
|
+
hasPrev: boolean;
|
|
507
|
+
totalCount: number;
|
|
508
|
+
}
|
|
509
|
+
export interface TableMetadataId {
|
|
510
|
+
universeId: string;
|
|
511
|
+
namespaceName: string;
|
|
512
|
+
schemaName: string;
|
|
513
|
+
tableName: string;
|
|
514
|
+
}
|
|
515
|
+
export interface TableAttribute {
|
|
516
|
+
name: string;
|
|
517
|
+
type?: string;
|
|
518
|
+
}
|
|
519
|
+
export interface TableResponseMetadata {
|
|
520
|
+
id: TableMetadataId;
|
|
521
|
+
tableId?: number;
|
|
522
|
+
definition?: string;
|
|
523
|
+
attributes?: TableAttribute[];
|
|
524
|
+
firstSampleTime?: string;
|
|
525
|
+
lastSampleTime?: string;
|
|
526
|
+
definitionUpdatedAt?: string;
|
|
527
|
+
updated?: string;
|
|
528
|
+
}
|
|
529
|
+
export interface TablePagedResponse {
|
|
530
|
+
entities: TableResponseMetadata[];
|
|
531
|
+
hasNext: boolean;
|
|
532
|
+
hasPrev: boolean;
|
|
533
|
+
totalCount: number;
|
|
534
|
+
}
|
|
477
535
|
export interface UniverseDatabaseStatsData {
|
|
478
536
|
connections: number;
|
|
479
537
|
cpuRatio: number;
|
|
@@ -488,7 +546,7 @@ export interface UniverseDatabaseStatsData {
|
|
|
488
546
|
cpuThrottledMs?: number;
|
|
489
547
|
sizeBytes?: number;
|
|
490
548
|
}
|
|
491
|
-
declare enum DatabaseType {
|
|
549
|
+
export declare enum DatabaseType {
|
|
492
550
|
SQL = "SQL",
|
|
493
551
|
CQL = "CQL",
|
|
494
552
|
SYSTEM = "SYSTEM"
|