docs: improve alt of images (#12998)
* docs: improve alt of images * fix vale errors
This commit is contained in:
@@ -14,7 +14,7 @@ A middleware is a function executed when a request is sent to an API Route. It's
|
||||
|
||||
Middlewares are used to guard API routes, parse request content types other than `application/json`, manipulate request data, and more.
|
||||
|
||||

|
||||

|
||||
|
||||
<Note title="Tip">
|
||||
|
||||
|
||||
@@ -44,7 +44,7 @@ A data model represents a table in the database. You create data models using Me
|
||||
|
||||
You create a data model in a TypeScript or JavaScript file under the `models` directory of a module. So, to create a `Post` data model in the Blog Module, create the file `src/modules/blog/models/post.ts` with the following content:
|
||||
|
||||

|
||||

|
||||
|
||||
```ts title="src/modules/blog/models/post.ts"
|
||||
import { model } from "@medusajs/framework/utils"
|
||||
|
||||
Reference in New Issue
Block a user