-
Notifications
You must be signed in to change notification settings - Fork 215
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: generated code for commit 23442749. [skip ci]
algolia/api-clients-automation@2344274 Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com> Co-authored-by: Jonathan Sokolowski <jsok@users.noreply.github.com>
- Loading branch information
1 parent
40178fa
commit cf0454a
Showing
6 changed files
with
67 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
// 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. | ||
|
||
/** | ||
* Describes how a field should be resolved by applying a set of directives. | ||
*/ | ||
export type MappingFieldDirective = { | ||
/** | ||
* Destination field key. | ||
*/ | ||
fieldKey: string; | ||
|
||
/** | ||
* How the destination field should be resolved from the source. | ||
*/ | ||
value: Record<string, any>; | ||
}; |
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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
// 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 { MappingKitAction } from './mappingKitAction'; | ||
|
||
/** | ||
* Transformations to apply to source, serialized as a JSON string. | ||
*/ | ||
export type MappingInput = { | ||
/** | ||
* Name of the mapping format schema, `mappingkit/v1` is currently the only supported format. | ||
*/ | ||
format: string; | ||
|
||
actions: MappingKitAction[]; | ||
}; |
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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
// 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 { MappingFieldDirective } from './mappingFieldDirective'; | ||
|
||
/** | ||
* Describes how a destination object should be resolved by means of applying a set of directives. | ||
*/ | ||
export type MappingKitAction = { | ||
/** | ||
* ID to uniquely identify this action. | ||
*/ | ||
id?: string; | ||
|
||
/** | ||
* Whether this action has any effect. | ||
*/ | ||
enabled: boolean; | ||
|
||
/** | ||
* Condition which must be satisfied to apply the action. If this evaluates to false, the action is not applied, and the process attempts to apply the next action, if any. | ||
*/ | ||
trigger: string; | ||
|
||
fieldDirectives: MappingFieldDirective[]; | ||
}; |
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