Skip to content

Commit 36c5242

Browse files
algolia-botClaraMullerFluf22
committed
fix(specs): invalid API format for multi feed in Comp API (generated)
algolia/api-clients-automation#5993 Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com> Co-authored-by: Clara Muller <5667350+ClaraMuller@users.noreply.github.com> Co-authored-by: Thomas Raffray <Fluf22@users.noreply.github.com>
1 parent 7626557 commit 36c5242

File tree

3 files changed

+13
-2
lines changed

3 files changed

+13
-2
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
2+
3+
import type { Injection } from './injection';
4+
5+
/**
6+
* Feed formatted as an injection.
7+
*/
8+
export type FeedInjection = {
9+
injection: Injection;
10+
};

packages/composition/model/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ export * from './facetFilters';
5050
export * from './facetHits';
5151
export * from './facetOrdering';
5252
export * from './facetStats';
53+
export * from './feedInjection';
5354
export * from './getTaskResponse';
5455
export * from './highlightResult';
5556
export * from './highlightResultOption';

packages/composition/model/multifeed.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
22

3-
import type { Injection } from './injection';
3+
import type { FeedInjection } from './feedInjection';
44

55
export type Multifeed = {
66
/**
77
* A key-value store of Feed ID to Feed. Currently, the only supported Feed type is an Injection.
88
*/
9-
feeds: { [key: string]: Injection };
9+
feeds: { [key: string]: FeedInjection };
1010

1111
/**
1212
* A list of Feed IDs that specifies the order in which to order the results in the response. The IDs should be a subset of those in the Feeds object, and only those specified will be processed. When this field is not set, all Feeds are processed and returned with a default ordering.

0 commit comments

Comments
 (0)