feat: Add an analytics module and local and posthog providers (#12505)
* feat: Add an analytics module and local and posthog providers * fix: Add tests and wire up in missing places * fix: Address feedback and add missing module typing * fix: Address feedback and add missing module typing --------- Co-authored-by: Adrien de Peretti <adrien.deperetti@gmail.com> Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
export const Modules = {
|
||||
ANALYTICS: "analytics",
|
||||
AUTH: "auth",
|
||||
CACHE: "cache",
|
||||
CART: "cart",
|
||||
@@ -28,6 +29,7 @@ export const Modules = {
|
||||
} as const
|
||||
|
||||
export const MODULE_PACKAGE_NAMES = {
|
||||
[Modules.ANALYTICS]: "@medusajs/medusa/analytics",
|
||||
[Modules.AUTH]: "@medusajs/medusa/auth",
|
||||
[Modules.CACHE]: "@medusajs/medusa/cache-inmemory",
|
||||
[Modules.CART]: "@medusajs/medusa/cart",
|
||||
|
||||
Reference in New Issue
Block a user