Skip to content

Commit bc53312

Browse files
chore: generated code for commit e3aa6b2. [skip ci]
Co-authored-by: Mehmet Ali Gok <[email protected]>
1 parent e3aa6b2 commit bc53312

File tree

2 files changed

+13
-4
lines changed

2 files changed

+13
-4
lines changed

clients/algoliasearch-client-javascript/packages/ingestion/model/sourceJSON.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,10 @@ export type SourceJSON = {
88
*/
99
url: string;
1010

11+
/**
12+
* The name of the column that contains the unique ID, used as `objectID` in Algolia.
13+
*/
14+
uniqueIDColumn?: string;
15+
1116
method?: MethodType;
1217
};

specs/bundled/ingestion.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -744,6 +744,11 @@ components:
744744
description: The store hash identifying the store the shopper is signing in to.
745745
required:
746746
- store_hash
747+
UniqueIDColumn:
748+
type: string
749+
description: >-
750+
The name of the column that contains the unique ID, used as `objectID`
751+
in Algolia.
747752
MethodType:
748753
type: string
749754
enum:
@@ -756,6 +761,8 @@ components:
756761
url:
757762
type: string
758763
description: The URL of the file.
764+
uniqueIDColumn:
765+
$ref: '#/components/schemas/UniqueIDColumn'
759766
method:
760767
$ref: '#/components/schemas/MethodType'
761768
required:
@@ -776,10 +783,7 @@ components:
776783
type: string
777784
description: The URL of the file.
778785
uniqueIDColumn:
779-
type: string
780-
description: >-
781-
The name of the column that contains the unique ID, used as
782-
`objectID` in Algolia.
786+
$ref: '#/components/schemas/UniqueIDColumn'
783787
mapping:
784788
type: object
785789
description: >

0 commit comments

Comments
 (0)