-
Notifications
You must be signed in to change notification settings - Fork 222
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(specs): ingestion push task payload [skip-bc] (generated)
algolia/api-clients-automation#3607 Co-authored-by: algolia-bot <[email protected]> Co-authored-by: Clément Vannicatte <[email protected]> Co-authored-by: Pierre Millot <[email protected]>
- Loading branch information
1 parent
f997468
commit 1aa736a
Showing
5 changed files
with
22 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 3 additions & 5 deletions
8
packages/ingestion/model/batchRequest.ts → packages/ingestion/model/pushTaskPayload.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,10 @@ | ||
// 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 { Action } from './action'; | ||
import type { PushTaskRecords } from './pushTaskRecords'; | ||
|
||
export type BatchRequest = { | ||
export type PushTaskPayload = { | ||
action: Action; | ||
|
||
/** | ||
* Operation arguments (varies with specified `action`). | ||
*/ | ||
body: Record<string, unknown>; | ||
records: PushTaskRecords[]; | ||
}; |
12 changes: 5 additions & 7 deletions
12
packages/ingestion/model/batchWriteParams.ts → packages/ingestion/model/pushTaskRecords.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,8 @@ | ||
// 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 { BatchRequest } from './batchRequest'; | ||
|
||
/** | ||
* Batch parameters. | ||
*/ | ||
export type BatchWriteParams = { | ||
requests: BatchRequest[]; | ||
export type PushTaskRecords = Record<string, any> & { | ||
/** | ||
* Unique record identifier. | ||
*/ | ||
objectID: string; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters