docs: add documentation for migration generate cli tool (#8128)
* docs: add documentation for migration generate cli tool * changed migrations details in marketplace recipe * added generated oas files to action * vale + lint fixes * don't import from src in medusa-config.js * fix generate command in recipe * fix module name
This commit is contained in:
@@ -27,14 +27,14 @@ export const belongsHighlights = [
|
||||
// when creating an email
|
||||
const email = await helloModuleService.createEmail({
|
||||
// other properties...
|
||||
user_id: "123"
|
||||
user_id: "123",
|
||||
})
|
||||
|
||||
// when updating an email
|
||||
const email = await helloModuleService.updateEmail({
|
||||
id: "321",
|
||||
// other properties...
|
||||
user_id: "123"
|
||||
user_id: "123",
|
||||
})
|
||||
```
|
||||
|
||||
@@ -57,14 +57,14 @@ export const manyHighlights = [
|
||||
// when creating a product
|
||||
const product = await helloModuleService.createProduct({
|
||||
// other properties...
|
||||
order_ids: ["123", "321"]
|
||||
order_ids: ["123", "321"],
|
||||
})
|
||||
|
||||
// when updating an order
|
||||
const order = await helloModuleService.updateOrder({
|
||||
id: "321",
|
||||
// other properties...
|
||||
product_ids: ["123", "321"]
|
||||
product_ids: ["123", "321"],
|
||||
})
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user