chore: workflow internals improvementss (#9455)

This commit is contained in:
Adrien de Peretti authored and GitHub committed 2024-10-10 09:11:56 +02:00
1 parent 1b9379be62
commit 34d57870ad
26 files changed
+354 -206

No files matched your search

@@ -21,7 +21,7 @@ export const POST = async (
await addToCartWorkflow(req.scope).run({
input: workflowInput,
})
} as any)
const updatedCart = await refetchCart(
req.params.id,
@@ -2,6 +2,7 @@ export const defaultStoreCartFields = [
"id",
"currency_code",
"email",
"region_id",
"created_at",
"updated_at",
"completed_at",
@@ -33,6 +34,7 @@ export const defaultStoreCartFields = [
"promotions.application_method.type",
"promotions.application_method.currency_code",
"items.id",
"items.product.id",
"items.variant_id",
"items.product_id",
"items.product.categories.id",