We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
redirect
renderingContent
@nuxtjs/algolia: 1.10.2 nuxt: 3.15.1
1.10.2
3.15.1
listing.renderingContent
It's possible to define a redirect rule in Algolia. https://www.algolia.com/doc/guides/managing-results/rules/merchandising-and-promoting/how-to/redirects/#create-a-rule-with-the-api If it's defined, the response will contain the redirect object inside renderingContent:
... renderingContent: { ... redirect: { url: '/a/redirect/path/' } }
The type for redirect should be defined in renderingContent: https://github.com/nuxt-modules/algolia/blob/main/src/types.ts#L630
I get the type error when trying to use renderingContent.redirect.url
renderingContent.redirect.url
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Version
@nuxtjs/algolia:
1.10.2
nuxt:
3.15.1
Steps to reproduce
redirect
property oflisting.renderingContent
.redirect
does not exist on type ofrenderingContent
What is Expected?
It's possible to define a redirect rule in Algolia. https://www.algolia.com/doc/guides/managing-results/rules/merchandising-and-promoting/how-to/redirects/#create-a-rule-with-the-api
If it's defined, the response will contain the
redirect
object insiderenderingContent
:The type for
redirect
should be defined inrenderingContent
: https://github.com/nuxt-modules/algolia/blob/main/src/types.ts#L630What is actually happening?
I get the type error when trying to use
renderingContent.redirect.url
The text was updated successfully, but these errors were encountered: