Skip to content

Commit d734f1a

Browse files
committed
type fixes
1 parent bad5a23 commit d734f1a

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

packages/collection-model/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ interface CollectionProps {
7676
free_storage_size: number;
7777
index_count: number;
7878
index_size: number;
79-
index_details: CollStatsIndexDetails
79+
index_details: Record<string, CollStatsIndexDetails>;
8080
isTimeSeries: boolean;
8181
isView: boolean;
8282
sourceName: string | null;

packages/compass-indexes/test/setup-store.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ const NOOP_DATA_PROVIDER: IndexesDataService = {
7373
free_storage_size: 0,
7474
index_count: 0,
7575
index_size: 0,
76+
index_details: {},
7677
name: collectionName,
7778
ns: `${databaseName}.${collectionName}`,
7879
storage_size: 0,

packages/data-service/src/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export interface CollectionStats {
99
storage_size: number;
1010
free_storage_size: number;
1111
index_count: number;
12-
index_details: CollStatsIndexDetails;
12+
index_details: Record<string, CollStatsIndexDetails>;
1313
index_size: number;
1414
}
1515

0 commit comments

Comments
 (0)