-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update pinecone-generated-ts-fetch code along with associated types a…
…nd unit tests (#153) ## Problem We need to update the generated client code (`pinecone-generated-ts-fetch`) to align with upcoming API changes. ## Solution - Regenerate and replace the contents of `/pinecone-generated-ts-fetch`. - Update relevant types and unit tests, primarily `createIndex` and `listIndexes`. - Add new unit tests to the `createIndex.validation` suite focused on new required fields in `CreateIndexOptions`. - **Bonus:** Fix for `vectorOperationsProvider` - TS wasn't properly inferring types within `buildVectorOperationsConfig`, and we were passing `undefined` to `indexConfigurationParameters.basePath`. ## Type of Change - [X] Breaking change (fix or feature that would cause existing functionality to not work as expected) - [X] This change requires a documentation update
- Loading branch information
1 parent
6cf8e16
commit 97c1b9d
Showing
30 changed files
with
714 additions
and
88 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.