docs: enhance how references are generated (#5805)
* adjusted configurations * enhancements to tool and configurations * change reference in docs * fixed issue in workflows reference * added project name * more optimizations * fix context error * added a types reference * resolved missing types * fix reference reflection types not having children * add an expand url parameter * added new option to the README * added details about new option
This commit is contained in:
+47
@@ -0,0 +1,47 @@
|
||||
---
|
||||
displayed_sidebar: homepage
|
||||
---
|
||||
|
||||
import ParameterTypes from "@site/src/components/ParameterTypes"
|
||||
|
||||
# AdminPostOrdersOrderShippingMethodsReq
|
||||
|
||||
The shipping method's details.
|
||||
|
||||
## constructor
|
||||
|
||||
The shipping method's details.
|
||||
|
||||
___
|
||||
|
||||
## Properties
|
||||
|
||||
<ParameterTypes parameters={[
|
||||
{
|
||||
"name": "data",
|
||||
"type": "`Record<string, unknown>`",
|
||||
"description": "The data required for the Shipping Option to create a Shipping Method. This depends on the Fulfillment Provider.",
|
||||
"optional": true,
|
||||
"defaultValue": "{}",
|
||||
"expandable": false,
|
||||
"children": []
|
||||
},
|
||||
{
|
||||
"name": "option_id",
|
||||
"type": "`string`",
|
||||
"description": "The ID of the Shipping Option to create the Shipping Method from.",
|
||||
"optional": false,
|
||||
"defaultValue": "",
|
||||
"expandable": false,
|
||||
"children": []
|
||||
},
|
||||
{
|
||||
"name": "price",
|
||||
"type": "`number`",
|
||||
"description": "The price (excluding VAT) that should be charged for the Shipping Method",
|
||||
"optional": false,
|
||||
"defaultValue": "",
|
||||
"expandable": false,
|
||||
"children": []
|
||||
}
|
||||
]} expandUrl="https://docs.medusajs.com/development/entities/repositories#retrieving-a-list-of-records"/>
|
||||
Reference in New Issue
Block a user