Skip to content

Commit c4eb604

Browse files
algolia-botFluf22
andcommitted
chore(website): exclude schema from generated variables file (generated)
algolia/api-clients-automation#5306 Co-authored-by: algolia-bot <[email protected]> Co-authored-by: Thomas Raffray <[email protected]>
1 parent f3d55ea commit c4eb604

File tree

3 files changed

+41
-0
lines changed

3 files changed

+41
-0
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
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+
package com.algolia.client.model.composition
3+
4+
import kotlinx.serialization.*
5+
import kotlinx.serialization.json.*
6+
7+
/**
8+
* ExternalInjectedItem
9+
*
10+
* @param items
11+
*/
12+
@Serializable
13+
public data class ExternalInjectedItem(
14+
15+
@SerialName(value = "items") val items: List<ExternalInjection>,
16+
)
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
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+
package com.algolia.client.model.composition
3+
4+
import kotlinx.serialization.*
5+
import kotlinx.serialization.json.*
6+
7+
/**
8+
* ExternalInjection
9+
*
10+
* @param objectID An objectID injected into an external source.
11+
* @param metadata User-defined key-values that will be added to the injected item in the response. This is identical to Hits metadata defined in Composition or Composition Rule, with the benefit of being set at runtime.
12+
*/
13+
@Serializable
14+
public data class ExternalInjection(
15+
16+
/** An objectID injected into an external source. */
17+
@SerialName(value = "objectID") val objectID: String,
18+
19+
/** User-defined key-values that will be added to the injected item in the response. This is identical to Hits metadata defined in Composition or Composition Rule, with the benefit of being set at runtime. */
20+
@SerialName(value = "metadata") val metadata: JsonObject? = null,
21+
)

client/src/commonMain/kotlin/com/algolia/client/model/composition/Params.kt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ import kotlinx.serialization.json.*
3333
* @param analyticsTags Tags to apply to the query for [segmenting analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
3434
* @param enableABTest Whether to enable index level A/B testing for this run request. If the composition mixes multiple indices, the A/B test is ignored.
3535
* @param enableReRanking Whether this search will use [Dynamic Re-Ranking](https://www.algolia.com/doc/guides/algolia-ai/re-ranking/) This setting only has an effect if you activated Dynamic Re-Ranking for this index in the Algolia dashboard.
36+
* @param injectedItems A list of extenrally injected objectID groups into from an external source.
3637
*/
3738
@Serializable
3839
public data class Params(
@@ -108,4 +109,7 @@ public data class Params(
108109

109110
/** Whether this search will use [Dynamic Re-Ranking](https://www.algolia.com/doc/guides/algolia-ai/re-ranking/) This setting only has an effect if you activated Dynamic Re-Ranking for this index in the Algolia dashboard. */
110111
@SerialName(value = "enableReRanking") val enableReRanking: Boolean? = null,
112+
113+
/** A list of extenrally injected objectID groups into from an external source. */
114+
@SerialName(value = "injectedItems") val injectedItems: Map<kotlin.String, ExternalInjectedItem>? = null,
111115
)

0 commit comments

Comments
 (0)