docs: change notes across docs based on redesign (#8662)

Change the prerequisites / soon / other notes based on latest redesign

Depends on #8661
This commit is contained in:
Shahed Nasser
2024-08-23 07:59:48 +00:00
committed by GitHub
parent 320b01f45d
commit b23f0f8188
41 changed files with 291 additions and 220 deletions
+1 -1
View File
@@ -58,6 +58,6 @@ curl http://localhost:9000/store/hello-world
<Note title="Use API routes when" type="success">
- You're exposing custom functionality to be used by a storefront, admin dashboard, or any external application.
You're exposing custom functionality to be used by a storefront, admin dashboard, or any external application.
</Note>
@@ -92,12 +92,12 @@ If ran successfully, the `my_custom` table will be created in the database.
<Note title="Use data models when" type="success">
- You want to store data related to your customization in the database.
You want to store data related to your customization in the database.
</Note>
<Note title="Don't use data models if" type="error">
- You want to store simple key-value pairs related to an existing data model. Instead, use the `metadata` field that most existing models have, which is an object of custom key-value pairs.
You want to store simple key-value pairs related to an existing data model. Instead, use the `metadata` field that most existing models have, which is an object of custom key-value pairs.
</Note>
@@ -68,7 +68,7 @@ The first message indicates that the `product.created` event was emitted, and th
<Note title="Use subscribers when" type="success">
- You want to perform an action everytime a specific event is emitted in the Medusa application.
You want to perform an action everytime a specific event is emitted in the Medusa application.
</Note>
+1 -1
View File
@@ -71,6 +71,6 @@ Among the messages logged in the terminal, youll see the following message:
<Note title="Don't use loaders if" type="error">
- You want to perform an action continuously or at a set time pattern in the application. Use scheduled jobs instead, which is explained in an upcoming chapter.
You want to perform an action continuously or at a set time pattern in the application. Use scheduled jobs instead, which is explained in an upcoming chapter.
</Note>