Skip to content

Commit

Permalink
chore: re-export vector index request types (#961)
Browse files Browse the repository at this point in the history
ALL_VECTOR_METADATA and SimilarityMetric were not re-exported from the
libraries in the previous commit.
  • Loading branch information
malandis authored Oct 6, 2023
1 parent a5b91b6 commit 1c6a68b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/client-sdk-nodejs/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,9 @@ import * as RefreshApiKey from '@gomomento/sdk-core/dist/src/messages/responses/

import * as GenerateDisposableToken from '@gomomento/sdk-core/dist/src/messages/responses/generate-disposable-token';

// VectorClient Request Types
export {ALL_VECTOR_METADATA, VectorSimilarityMetric} from '@gomomento/sdk-core';

// VectorClient Response Types
export {vector, VectorIndexItem} from '@gomomento/sdk-core';
export * from '@gomomento/sdk-core/dist/src/messages/responses/vector';
Expand Down
3 changes: 3 additions & 0 deletions packages/client-sdk-web/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,9 @@ import {

import {VectorIndexConfiguration} from './config/vector-index-configuration';

// VectorClient Request Types
export {ALL_VECTOR_METADATA, VectorSimilarityMetric} from '@gomomento/sdk-core';

// VectorClient Response Types
export {vector, VectorIndexItem} from '@gomomento/sdk-core';
export * from '@gomomento/sdk-core/dist/src/messages/responses/vector';
Expand Down

0 comments on commit 1c6a68b

Please sign in to comment.