Skip to content

Commit 4fc44d5

Browse files
committed
enum fixes
1 parent 8dc6850 commit 4fc44d5

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

src/containers/Tenant/Diagnostics/DiagnosticsPages.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,8 @@ const pathSubTypeToPages: Record<EPathSubType, Page[] | undefined> = {
187187

188188
[EPathSubType.EPathSubTypeSyncIndexImplTable]: undefined,
189189
[EPathSubType.EPathSubTypeAsyncIndexImplTable]: undefined,
190+
[EPathSubType.EPathSubTypeVectorKmeansTreeIndexImplTable]: undefined,
191+
[EPathSubType.EPathSubTypeFulltextIndexImplTable]: undefined,
190192
[EPathSubType.EPathSubTypeEmpty]: undefined,
191193
};
192194

src/containers/Tenant/utils/schema.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,8 @@ export const isTableType = (pathType?: EPathType) =>
165165
const pathSubTypeToIsIndexImpl: Record<EPathSubType, boolean> = {
166166
[EPathSubType.EPathSubTypeSyncIndexImplTable]: true,
167167
[EPathSubType.EPathSubTypeAsyncIndexImplTable]: true,
168+
[EPathSubType.EPathSubTypeVectorKmeansTreeIndexImplTable]: true,
169+
[EPathSubType.EPathSubTypeFulltextIndexImplTable]: true,
168170

169171
[EPathSubType.EPathSubTypeStreamImpl]: false,
170172
[EPathSubType.EPathSubTypeEmpty]: false,
@@ -241,6 +243,8 @@ export const isTopicEntityType = (type?: EPathType) => type === EPathType.EPathT
241243
const pathSubTypeToChildless: Record<EPathSubType, boolean> = {
242244
[EPathSubType.EPathSubTypeSyncIndexImplTable]: true,
243245
[EPathSubType.EPathSubTypeAsyncIndexImplTable]: true,
246+
[EPathSubType.EPathSubTypeVectorKmeansTreeIndexImplTable]: true,
247+
[EPathSubType.EPathSubTypeFulltextIndexImplTable]: true,
244248
[EPathSubType.EPathSubTypeStreamImpl]: true,
245249

246250
[EPathSubType.EPathSubTypeEmpty]: false,

0 commit comments

Comments
 (0)