Skip to content

Commit 4b1c901

Browse files
algolia-api-clients-automation-bot[bot]charlottetaylor-ossclaudeClaraMuller
committed
fix(specs): clarify when _extra and _injectedItemKey are present on hits (generated)
algolia/api-clients-automation#7031 Co-authored-by: algolia-api-clients-automation-bot[bot] <288895823+algolia-api-clients-automation-bot[bot]@users.noreply.github.com> Co-authored-by: charlottetaylor-oss <charlotte.taylor@algolia.com> Co-authored-by: Claude Fable 5 <noreply@anthropic.com> Co-authored-by: Clara Muller <5667350+ClaraMuller@users.noreply.github.com>
1 parent 99fd490 commit 4b1c901

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
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

33
/**
4-
* An object that contains the extra key-value pairs provided in the injectedItem definition.
4+
* An object that contains the extra key-value pairs provided in the injectedItem definition. Only present on hits inserted by an injectedItem that defines metadata, either in its `metadata` field or sent by an external source.
55
*/
66
export type HitMetadata = Record<string, any> & {
77
/**
8-
* The key of the injectedItem that inserted this metadata.
8+
* The key of the injectedItem that inserted this metadata. Only present when the injectedItem\'s `metadata.hits.addItemKey` is `true`.
99
*/
1010
_injectedItemKey?: string | undefined;
1111
};

0 commit comments

Comments
 (0)