Skip to content

Commit

Permalink
chore: generated code for commit e1cb1c89. [skip ci]
Browse files Browse the repository at this point in the history
algolia/api-clients-automation@e1cb1c8

Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com>
Co-authored-by: Pierre Millot <pierre.millot@algolia.com>
  • Loading branch information
algolia-bot and millotp committed Jun 5, 2023
1 parent dfb9cbb commit 2765a0c
Show file tree
Hide file tree
Showing 7 changed files with 50 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/ingestion/model/dockerImageType.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
// 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.

/**
* The type of the image.
*/
export type DockerImageType = 'airbyte' | 'custom' | 'singer';
6 changes: 6 additions & 0 deletions packages/ingestion/model/dockerRegistry.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
// 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.

/**
* The registry where the image is stored.
*/
export type DockerRegistry = 'dockerhub' | 'gcr';
3 changes: 3 additions & 0 deletions packages/ingestion/model/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ export * from './destinationSortKeys';
export * from './destinationType';
export * from './destinationUpdate';
export * from './destinationUpdateResponse';
export * from './dockerImageType';
export * from './dockerRegistry';
export * from './errorBase';
export * from './event';
export * from './eventSortKeys';
Expand Down Expand Up @@ -72,6 +74,7 @@ export * from './sourceCSV';
export * from './sourceCommercetools';
export * from './sourceCreate';
export * from './sourceCreateResponse';
export * from './sourceDocker';
export * from './sourceInput';
export * from './sourceJSON';
export * from './sourceSearch';
Expand Down
30 changes: 30 additions & 0 deletions packages/ingestion/model/sourceDocker.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
// 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.

import type { DockerImageType } from './dockerImageType';
import type { DockerRegistry } from './dockerRegistry';

export type SourceDocker = {
registry: DockerRegistry;

/**
* The name of the image to pull.
*/
image: string;

/**
* The version of the image, defaults to `latest`.
*/
version?: string;

imageType: DockerImageType;

/**
* The full name of the output file.
*/
outputFile?: string;

/**
* The configuration of the spec.
*/
configuration: Record<string, any>;
};
2 changes: 2 additions & 0 deletions packages/ingestion/model/sourceInput.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@ import type { SourceBigCommerce } from './sourceBigCommerce';
import type { SourceBigQuery } from './sourceBigQuery';
import type { SourceCSV } from './sourceCSV';
import type { SourceCommercetools } from './sourceCommercetools';
import type { SourceDocker } from './sourceDocker';
import type { SourceJSON } from './sourceJSON';

export type SourceInput =
| SourceBigCommerce
| SourceBigQuery
| SourceCommercetools
| SourceCSV
| SourceDocker
| SourceJSON;
1 change: 1 addition & 0 deletions packages/ingestion/model/sourceType.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ export type SourceType =
| 'bigquery'
| 'commercetools'
| 'csv'
| 'docker'
| 'json';
2 changes: 2 additions & 0 deletions packages/ingestion/model/sourceUpdateInput.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,13 @@

import type { SourceBigQuery } from './sourceBigQuery';
import type { SourceCSV } from './sourceCSV';
import type { SourceDocker } from './sourceDocker';
import type { SourceJSON } from './sourceJSON';
import type { SourceUpdateCommercetools } from './sourceUpdateCommercetools';

export type SourceUpdateInput =
| SourceBigQuery
| SourceCSV
| SourceDocker
| SourceJSON
| SourceUpdateCommercetools;

0 comments on commit 2765a0c

Please sign in to comment.