Skip to content

Commit 995af51

Browse files
committed
fix: remove misleading DocumentsDBIndexType cast for vectorsdb compatibility
1 parent 6eef1c0 commit 995af51

File tree

1 file changed

+1
-2
lines changed
  • src/routes/(console)/project-[region]-[project]/databases/database-[database]/collection-[collection]/indexes

1 file changed

+1
-2
lines changed

src/routes/(console)/project-[region]-[project]/databases/database-[database]/collection-[collection]/indexes/+page.svelte

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<script lang="ts">
22
import { page } from '$app/state';
3-
import type { DocumentsDBIndexType } from '@appwrite.io/console';
43
import type { PageProps } from './$types';
54
import {
65
type CreateIndexesCallbackType,
@@ -20,7 +19,7 @@
2019
databaseId: page.params.database,
2120
entityId: page.params.collection,
2221
key: index.key,
23-
type: index.type as DocumentsDBIndexType,
22+
type: index.type,
2423
attributes: index.fields,
2524
lengths: index.lengths,
2625
orders: index.orders

0 commit comments

Comments
 (0)