Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

types(schema): add missing search index types #14449

Merged
merged 2 commits into from Mar 20, 2024

Commits on Mar 20, 2024

  1. types(schema): add missing search index types

    Support for MongoDB Atlas search indexes was added in [Automattic#14251](Automattic#14251)
    but the types for `Schema.searchIndex` and the `autoSearchIndex` option
    were missed.
    
    Add these types so that the typescript definitions match the
    capabilities of the JavaScript version of `mongoose`.
    noseworthy committed Mar 20, 2024
    Configuration menu
    Copy the full SHA
    df9db3c View commit details
    Browse the repository at this point in the history
  2. Update index.d.ts

    vkarpov15 committed Mar 20, 2024
    Configuration menu
    Copy the full SHA
    aea12a1 View commit details
    Browse the repository at this point in the history