Skip to content

Conversation

@mandarini
Copy link
Contributor

Description

  • Fixes QueryVectorsResponse interface to use vectors field instead of matches to align with the actual AWS S3 Vectors API
  • Adds missing optional distanceMetric field to the response type
  • Updates mock server and tests to match the corrected API response format

Context

The TypeScript interface for QueryVectorsResponse incorrectly defined the response field as matches, but the actual AWS S3 Vectors API returns vectors. This caused a mismatch between the SDK types and real API responses.

References:

@github-actions github-actions bot added the storage-js Related to the storage-js library. label Dec 4, 2025
@mandarini mandarini marked this pull request as ready for review December 4, 2025 13:17
@mandarini mandarini requested review from a team as code owners December 4, 2025 13:17
@mandarini mandarini self-assigned this Dec 4, 2025
@mandarini mandarini requested a review from o-santi December 4, 2025 13:22
@coveralls
Copy link

coveralls commented Dec 4, 2025

Coverage Status

coverage: 95.367% (+14.2%) from 81.176%
when pulling f32b2d4 on fix/wrong-type-vector
into 41d76bd on master.

@mandarini mandarini force-pushed the fix/wrong-type-vector branch from 509317a to f32b2d4 Compare December 4, 2025 13:23
@mandarini mandarini enabled auto-merge (squash) December 4, 2025 13:31
@mandarini mandarini disabled auto-merge December 4, 2025 13:32
@mandarini mandarini merged commit 3b038a0 into master Dec 4, 2025
24 checks passed
@mandarini mandarini deleted the fix/wrong-type-vector branch December 4, 2025 14:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

storage-js Related to the storage-js library.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants