Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add raw createIndex function with upstream types (#82)
The types on createIndex are pretty vague and have some custom wrappings; adding a new function at createIndexRaw lets us use the API types directly without breaking back-compatibility. <!-- ELLIPSIS_HIDDEN --> ---- > [!IMPORTANT] > Adds `createIndexRaw` function in `AtlasDataset` for direct API type usage in index creation, with tests and dependency updates. > > - **Behavior**: > - Adds `createIndexRaw` function in `AtlasDataset` class in `src/project.ts` to use upstream API types directly for index creation. > - Uses `createIndexTextDefaults` for default values, allowing user options to override them. > - Ensures `project_id` is set in the request. > - **Tests**: > - Adds test for `createIndexRaw` in `project.test.ts` to verify index creation. > - **Dependencies**: > - Updates `apache-arrow` to `^13.0.0` in `package.json`. > - Removes `@types/jasmine` from `devDependencies` in `package.json`. > > <sup>This description was created by </sup>[<img alt="Ellipsis" src="https://img.shields.io/badge/Ellipsis-blue?color=175173">](https://www.ellipsis.dev?ref=nomic-ai%2Fts-nomic&utm_source=github&utm_medium=referral)<sup> for bb175ab. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN -->
- Loading branch information