feat(medusa-plugin-meilisearch): Update + improve Meilisearch plugin (#3377)
* feat(medusa-plugin-meilisearch): Upgrade meilisearch deps + migrate plugin to TS * fix version * Remove transaction base service from search service * Create .changeset/strange-mails-pump.md * Backward compatibility * Address PR feedback * Fix folder structure * Update readme * Move types * fix deps * Change version in changeset --------- Co-authored-by: adrien2p <adrien.deperetti@gmail.com>
This commit is contained in:
co-authored by
adrien2p
parent
4213326fe8
commit
7e17e0ddc2
@@ -1,4 +1,3 @@
|
||||
import { TransactionBaseService } from "./transaction-base-service"
|
||||
import { SearchService } from "medusa-interfaces"
|
||||
|
||||
export interface ISearchService {
|
||||
@@ -72,10 +71,7 @@ export interface ISearchService {
|
||||
updateSettings(indexName: string, settings: unknown): unknown
|
||||
}
|
||||
|
||||
export abstract class AbstractSearchService
|
||||
extends TransactionBaseService
|
||||
implements ISearchService
|
||||
{
|
||||
export abstract class AbstractSearchService implements ISearchService {
|
||||
abstract readonly isDefault
|
||||
protected readonly options_: Record<string, unknown>
|
||||
|
||||
@@ -84,7 +80,6 @@ export abstract class AbstractSearchService
|
||||
}
|
||||
|
||||
protected constructor(container, options) {
|
||||
super(container, options)
|
||||
this.options_ = options
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user