chore(docs): Generated References (automated) (#9419)

Co-authored-by: kodiakhq <kodiakhq@users.noreply.github.com>
This commit is contained in:
github-actions[bot]
2024-10-02 17:13:09 +02:00
committed by GitHub
co-authored by kodiakhq
parent e73e95f5e9
commit 34eebb61eb
585 changed files with 1248 additions and 984 deletions
@@ -14,7 +14,7 @@ A search service must extend the `AbstractSearchService` class imported from the
installed, run the following command to install it within your project:
```bash npm2yarn
npm install @medusajs/framework/utils
npm install @medusajs/utils
```
---
@@ -22,7 +22,7 @@ npm install @medusajs/framework/utils
## Overview
A search service class is in a TypeScript or JavaScript file created in the `src/services` directory. The class must extend the `AbstractSearchService` class imported
from the `@medusajs/framework/utils` package.
from the `@medusajs/utils` package.
Based on services naming conventions, the files name should be the slug version of the search services name without `service`, and the classs name should be the
pascal case of the search services name following by `Service`.
@@ -30,7 +30,7 @@ pascal case of the search services name following by `Service`.
For example, create the `MySearchService` class in the file `src/services/my-search.ts`:
```ts title="src/services/my-search.ts"
import { AbstractSearchService } from "@medusajs/framework/utils"
import { AbstractSearchService } from "@medusajs/utils"
class MySearchService extends AbstractSearchService {
isDefault = false