chore: follow _ convention
This commit is contained in:
@@ -372,22 +372,22 @@ export class WorkflowInterpreter {
|
|||||||
log: this.debugMessages,
|
log: this.debugMessages,
|
||||||
result: status,
|
result: status,
|
||||||
scrapeSchemaOutput: Object.keys(mergedScrapeSchema).length > 0
|
scrapeSchemaOutput: Object.keys(mergedScrapeSchema).length > 0
|
||||||
? { "schema-merged": [mergedScrapeSchema] }
|
? { "schema_merged": [mergedScrapeSchema] }
|
||||||
: this.serializableDataByType.scrapeSchema.reduce((reducedObject, item, index) => {
|
: this.serializableDataByType.scrapeSchema.reduce((reducedObject, item, index) => {
|
||||||
return {
|
return {
|
||||||
[`schema-${index}`]: item,
|
[`schema_${index}`]: item,
|
||||||
...reducedObject,
|
...reducedObject,
|
||||||
}
|
}
|
||||||
}, {}),
|
}, {}),
|
||||||
scrapeListOutput: this.serializableDataByType.scrapeList.reduce((reducedObject, item, index) => {
|
scrapeListOutput: this.serializableDataByType.scrapeList.reduce((reducedObject, item, index) => {
|
||||||
return {
|
return {
|
||||||
[`list-${index}`]: item,
|
[`list_${index}`]: item,
|
||||||
...reducedObject,
|
...reducedObject,
|
||||||
}
|
}
|
||||||
}, {}),
|
}, {}),
|
||||||
binaryOutput: this.binaryData.reduce((reducedObject, item, index) => {
|
binaryOutput: this.binaryData.reduce((reducedObject, item, index) => {
|
||||||
return {
|
return {
|
||||||
[`item-${index}`]: item,
|
[`item_${index}`]: item,
|
||||||
...reducedObject,
|
...reducedObject,
|
||||||
}
|
}
|
||||||
}, {})
|
}, {})
|
||||||
|
|||||||
Reference in New Issue
Block a user