chore: Ensure the events are emitted with the same shape all accross (#8063)

* chore: Ensure the events are emitted with the same shape all accross

* fixes:

* rm unsues type

* types

* fix tests
This commit is contained in:
Adrien de Peretti authored and GitHub committed 2024-07-10 19:34:28 +02:00
1 parent 95f29358d1
commit e778870c68
9 files changed
+42 -30

No files matched your search

@@ -265,6 +265,7 @@ export function MedusaService<
data: isString(primaryKeyValue)
? { id: primaryKeyValue }
: primaryKeyValue,
metadata: { source: "", action: "", object: "" },
}))
)
}