chore: Update modules deps (#9286)
This commit is contained in:
committed by
GitHub
parent
11d8264062
commit
e096feb7d5
@@ -1,4 +1,4 @@
|
||||
import { ModuleExports } from "@medusajs/types"
|
||||
import { ModuleExports } from "@medusajs/framework/types"
|
||||
import InMemoryCacheService from "./services/inmemory-cache"
|
||||
|
||||
const service = InMemoryCacheService
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
import { MedusaModule } from "@medusajs/modules-sdk"
|
||||
import { MedusaModule } from "@medusajs/framework/modules-sdk"
|
||||
import {
|
||||
ExternalModuleDeclaration,
|
||||
ICacheService,
|
||||
InternalModuleDeclaration,
|
||||
} from "@medusajs/types"
|
||||
import { Modules } from "@medusajs/utils"
|
||||
} from "@medusajs/framework/types"
|
||||
import { Modules } from "@medusajs/framework/utils"
|
||||
import { InMemoryCacheModuleOptions } from "../types"
|
||||
|
||||
export const initialize = async (
|
||||
@@ -13,7 +13,7 @@ export const initialize = async (
|
||||
const serviceKey = Modules.CACHE
|
||||
const loaded = await MedusaModule.bootstrap<ICacheService>({
|
||||
moduleKey: serviceKey,
|
||||
defaultPath: "@medusajs/cache-inmemory",
|
||||
defaultPath: "@medusajs//cache-inmemory",
|
||||
declaration: options as
|
||||
| InternalModuleDeclaration
|
||||
| ExternalModuleDeclaration,
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { ICacheService } from "@medusajs/types"
|
||||
import { ICacheService } from "@medusajs/framework/types"
|
||||
import { CacheRecord, InMemoryCacheModuleOptions } from "../types"
|
||||
|
||||
const DEFAULT_TTL = 30 // seconds
|
||||
|
||||
Reference in New Issue
Block a user