feat(workflows): Data aggregation (#4732)

* apply the aggregator automatically

* add comment

* apply aggregate

* improve pipe aggregation

* improve test cases

* improvements

* clean tests

* renameing to merge

* fix merge apply

* move merge apply

* cleanup cart workflow and end point

* fixes and naming
This commit is contained in:
Adrien de Peretti
2023-08-10 14:01:56 +02:00
committed by GitHub
parent 2363a5324e
commit a268d2cb0b
12 changed files with 324 additions and 214 deletions
@@ -1,5 +1,4 @@
import { AddressDTO } from "../../address"
import { WorkflowInputConfig } from "../common"
export interface CreateLineItemInputDTO {
variant_id: string
@@ -7,7 +6,6 @@ export interface CreateLineItemInputDTO {
}
export interface CreateCartWorkflowInputDTO {
config?: WorkflowInputConfig
region_id?: string
country_code?: string
items?: CreateLineItemInputDTO[]