Skip to content

Commit d275af4

Browse files
authored
feat(specs): add Algolia Index as a native connector in ingestion client (#6290)
1 parent d8dc621 commit d275af4

1 file changed

Lines changed: 35 additions & 0 deletions

File tree

specs/ingestion/common/schemas/source.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ SourceSearch:
100100
SourceType:
101101
type: string
102102
enum:
103+
- algoliaIndex
103104
- bigcommerce
104105
- bigquery
105106
- commercetools
@@ -388,6 +389,38 @@ SourceUpdateDocker:
388389
x-discriminator-fields:
389390
- configuration
390391

392+
SourceAlgoliaIndex:
393+
type: object
394+
description: Specific configuration attributes of an `algoliaIndex` source.
395+
additionalProperties: false
396+
properties:
397+
indexName:
398+
type: string
399+
description: Name of the Algolia index to read records from.
400+
filters:
401+
type: string
402+
description: |
403+
SQL-like filter expression applied while browsing the source index.
404+
See [filters](https://www.algolia.com/doc/api-reference/api-parameters/filters/).
405+
required:
406+
- indexName
407+
x-discriminator-fields:
408+
- indexName
409+
410+
SourceUpdateAlgoliaIndex:
411+
type: object
412+
description: Specific configuration attributes of an `algoliaIndex` source.
413+
additionalProperties: false
414+
properties:
415+
indexName:
416+
type: string
417+
description: Name of the Algolia index to read records from.
418+
filters:
419+
type: string
420+
description: |
421+
SQL-like filter expression applied while browsing the source index.
422+
See [filters](https://www.algolia.com/doc/api-reference/api-parameters/filters/).
423+
391424
SourceInput:
392425
oneOf:
393426
- $ref: '#/SourceCommercetools'
@@ -398,6 +431,7 @@ SourceInput:
398431
- $ref: '#/SourceGA4BigQueryExport'
399432
- $ref: '#/SourceDocker'
400433
- $ref: '#/SourceShopify'
434+
- $ref: '#/SourceAlgoliaIndex'
401435

402436
SourceUpdateCommercetools:
403437
type: object
@@ -443,6 +477,7 @@ SourceUpdateInput:
443477
- $ref: '#/SourceGA4BigQueryExport'
444478
- $ref: '#/SourceUpdateDocker'
445479
- $ref: '#/SourceUpdateShopify'
480+
- $ref: '#/SourceUpdateAlgoliaIndex'
446481

447482
SourceUpdateShopify:
448483
type: object

0 commit comments

Comments
 (0)