chore(docs): Generated References (automated) (#12492)
Generated the following references: - `api_key_models` - `auth_models` - `cart_models` - `core_flows` - `currency_models` - `customer_models` - `fulfillment_models` - `inventory_next_models` - `js_sdk` - `modules` - `order_models` - `payment_models` - `pricing_models` - `product_models` - `promotion_models` - `region_models` - `sales_channel_models` - `stock_location_next_models` - `store_models` - `tax_models` - `types` - `user_models` - `utils` Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
This commit is contained in:
1 parent
d3d138bad3
commit
e81d2333bc
579 files changed
+143451
-141621
No files matched your search
+29
@@ -0,0 +1,29 @@
|
||||
import { TypeList } from "docs-ui"
|
||||
|
||||
# CSVNormalizer
|
||||
|
||||
CSV normalizer processes all the allowed columns from a CSV file and remaps
|
||||
them into a new object with properties matching the "AdminCreateProduct".
|
||||
|
||||
However, further validations must be performed to validate the format and
|
||||
the required fields in the normalized output.
|
||||
|
||||
## constructor
|
||||
|
||||
### Parameters
|
||||
|
||||
<TypeList types={[{"name":"rows","type":"`Record<string, string \\| number \\| boolean>`[]","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]} expandUrl="https://docs.medusajs.com/learn/fundamentals/data-models/manage-relationships#retrieve-records-of-relation" sectionTitle="CSVNormalizer"/>
|
||||
|
||||
___
|
||||
|
||||
## Methods
|
||||
|
||||
### proccess
|
||||
|
||||
Process CSV rows. The return value is a tree of products
|
||||
|
||||
#### Returns
|
||||
|
||||
<TypeList types={[{"name":"toCreate","type":"`object`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"toUpdate","type":"`object`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]} expandUrl="https://docs.medusajs.com/learn/fundamentals/data-models/manage-relationships#retrieve-records-of-relation" sectionTitle="proccess"/>
|
||||
|
||||
<TypeList types={[{"name":"toCreate","type":"`object`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"toUpdate","type":"`object`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]} expandUrl="https://docs.medusajs.com/learn/fundamentals/data-models/manage-relationships#retrieve-records-of-relation" sectionTitle="proccess"/>
|
||||
Reference in new issue
Block a user