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

feat(rule): add group promotes #1156

Merged
merged 4 commits into from
Aug 6, 2020
Merged

feat(rule): add group promotes #1156

merged 4 commits into from
Aug 6, 2020

Conversation

Haroenv
Copy link
Contributor

@Haroenv Haroenv commented May 20, 2020

doesn't have a test yet, but allows you to base on top of this.

fixes #1155

see: https://www.algolia.com/doc/api-reference/api-methods/save-rule/#method-param-objectids

@Haroenv Haroenv requested review from aseure and nunomaduro May 20, 2020 12:22
/**
* Promoted start rank for the objects (zero-based).
*/
readonly position: number;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

in principle we could have this in a shared type, but I wanted a different description for position if matched with an array

doesn't have a test yet, but allows you to base on top of this.

fixes #1155
@nunomaduro
Copy link

This feature can't be merged yet: https://github.com/algolia/algoliasearch-client-specs-internal/issues/118.

@Haroenv Haroenv merged commit 7c37289 into master Aug 6, 2020
@Haroenv Haroenv deleted the Haroenv-patch-2 branch August 6, 2020 09:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Expose rule.consequence.promote.objectIDs string array
2 participants