From b6775f894a737ff2a1391c1266e40c339eb72671 Mon Sep 17 00:00:00 2001 From: Shahed Nasser Date: Wed, 13 Nov 2024 14:32:55 +0200 Subject: [PATCH] docs: fix types of injection zone props (#10074) Closes DX-1065 --- .../app/admin-widget-injection-zones/page.mdx | 184 +++++++++--------- 1 file changed, 92 insertions(+), 92 deletions(-) diff --git a/www/apps/resources/app/admin-widget-injection-zones/page.mdx b/www/apps/resources/app/admin-widget-injection-zones/page.mdx index 63f2cd91b7..4d61b618f8 100644 --- a/www/apps/resources/app/admin-widget-injection-zones/page.mdx +++ b/www/apps/resources/app/admin-widget-injection-zones/page.mdx @@ -118,7 +118,7 @@ This documentation page includes the list of injection zones you can add Admin W ```ts blockStyle="inline" { - data, // Order object + data, // AdminOrder object } ``` @@ -141,7 +141,7 @@ This documentation page includes the list of injection zones you can add Admin W ```ts blockStyle="inline" { - data, // Order object + data, // AdminOrder object } ``` @@ -164,7 +164,7 @@ This documentation page includes the list of injection zones you can add Admin W ```ts blockStyle="inline" { - data, // Order object + data, // AdminOrder object } ``` @@ -187,7 +187,7 @@ This documentation page includes the list of injection zones you can add Admin W ```ts blockStyle="inline" { - data, // Order object + data, // AdminOrder object } ``` @@ -258,7 +258,7 @@ This documentation page includes the list of injection zones you can add Admin W ```ts blockStyle="inline" { - data, // Customer object + data, // AdminCustomer object } ``` @@ -281,7 +281,7 @@ This documentation page includes the list of injection zones you can add Admin W ```ts blockStyle="inline" { - data, // Customer object + data, // AdminCustomer object } ``` @@ -338,7 +338,7 @@ This documentation page includes the list of injection zones you can add Admin W ```ts blockStyle="inline" { - data, // CustomerGroup object + data, // AdminCustomerGroup object } ``` @@ -361,7 +361,7 @@ This documentation page includes the list of injection zones you can add Admin W ```ts blockStyle="inline" { - data, // CustomerGroup object + data, // AdminCustomerGroup object } ``` @@ -432,7 +432,7 @@ This documentation page includes the list of injection zones you can add Admin W ```ts blockStyle="inline" { - data, // Product object + data, // AdminProduct object } ``` @@ -455,7 +455,7 @@ This documentation page includes the list of injection zones you can add Admin W ```ts blockStyle="inline" { - data, // Product object + data, // AdminProduct object } ``` @@ -478,7 +478,7 @@ This documentation page includes the list of injection zones you can add Admin W ```ts blockStyle="inline" { - data, // Product object + data, // AdminProduct object } ``` @@ -501,7 +501,7 @@ This documentation page includes the list of injection zones you can add Admin W ```ts blockStyle="inline" { - data, // Product object + data, // AdminProduct object } ``` @@ -558,7 +558,7 @@ This documentation page includes the list of injection zones you can add Admin W ```ts blockStyle="inline" { - data, // ProductCollection object + data, // AdminProductCollection object } ``` @@ -581,7 +581,7 @@ This documentation page includes the list of injection zones you can add Admin W ```ts blockStyle="inline" { - data, // ProductCollection object + data, // AdminProductCollection object } ``` @@ -638,7 +638,7 @@ This documentation page includes the list of injection zones you can add Admin W ```ts blockStyle="inline" { - data, // ProductCategory object + data, // AdminProductCategory object } ``` @@ -661,7 +661,7 @@ This documentation page includes the list of injection zones you can add Admin W ```ts blockStyle="inline" { - data, // ProductCategory object + data, // AdminProductCategory object } ``` @@ -684,7 +684,7 @@ This documentation page includes the list of injection zones you can add Admin W ```ts blockStyle="inline" { - data, // ProductCategory object + data, // AdminProductCategory object } ``` @@ -707,7 +707,7 @@ This documentation page includes the list of injection zones you can add Admin W ```ts blockStyle="inline" { - data, // ProductCategory object + data, // AdminProductCategory object } ``` @@ -774,11 +774,11 @@ This documentation page includes the list of injection zones you can add Admin W - Type `DetailWidgetProps` imported from `@medusajs/framework/types` + Type `DetailWidgetProps` imported from `@medusajs/framework/types` ```ts blockStyle="inline" { - data, // PriceList object + data, // AdminPriceList object } ``` @@ -797,11 +797,11 @@ This documentation page includes the list of injection zones you can add Admin W - Type `DetailWidgetProps` imported from `@medusajs/framework/types` + Type `DetailWidgetProps` imported from `@medusajs/framework/types` ```ts blockStyle="inline" { - data, // PriceList object + data, // AdminPriceList object } ``` @@ -820,11 +820,11 @@ This documentation page includes the list of injection zones you can add Admin W - Type `DetailWidgetProps` imported from `@medusajs/framework/types` + Type `DetailWidgetProps` imported from `@medusajs/framework/types` ```ts blockStyle="inline" { - data, // PriceList object + data, // AdminPriceList object } ``` @@ -843,11 +843,11 @@ This documentation page includes the list of injection zones you can add Admin W - Type `DetailWidgetProps` imported from `@medusajs/framework/types` + Type `DetailWidgetProps` imported from `@medusajs/framework/types` ```ts blockStyle="inline" { - data, // PriceList object + data, // AdminPriceList object } ``` @@ -914,11 +914,11 @@ This documentation page includes the list of injection zones you can add Admin W - Type `DetailWidgetProps` imported from `@medusajs/framework/types` + Type `DetailWidgetProps` imported from `@medusajs/framework/types` ```ts blockStyle="inline" { - data, // Promotion object + data, // AdminPromotion object } ``` @@ -937,11 +937,11 @@ This documentation page includes the list of injection zones you can add Admin W - Type `DetailWidgetProps` imported from `@medusajs/framework/types` + Type `DetailWidgetProps` imported from `@medusajs/framework/types` ```ts blockStyle="inline" { - data, // Promotion object + data, // AdminPromotion object } ``` @@ -960,11 +960,11 @@ This documentation page includes the list of injection zones you can add Admin W - Type `DetailWidgetProps` imported from `@medusajs/framework/types` + Type `DetailWidgetProps` imported from `@medusajs/framework/types` ```ts blockStyle="inline" { - data, // Promotion object + data, // AdminPromotion object } ``` @@ -983,11 +983,11 @@ This documentation page includes the list of injection zones you can add Admin W - Type `DetailWidgetProps` imported from `@medusajs/framework/types` + Type `DetailWidgetProps` imported from `@medusajs/framework/types` ```ts blockStyle="inline" { - data, // Promotion object + data, // AdminPromotion object } ``` @@ -1040,11 +1040,11 @@ This documentation page includes the list of injection zones you can add Admin W - Type `DetailWidgetProps` imported from `@medusajs/framework/types` + Type `DetailWidgetProps` imported from `@medusajs/framework/types` ```ts blockStyle="inline" { - data, // Campaign object + data, // AdminCampaign object } ``` @@ -1063,11 +1063,11 @@ This documentation page includes the list of injection zones you can add Admin W - Type `DetailWidgetProps` imported from `@medusajs/framework/types` + Type `DetailWidgetProps` imported from `@medusajs/framework/types` ```ts blockStyle="inline" { - data, // Campaign object + data, // AdminCampaign object } ``` @@ -1086,11 +1086,11 @@ This documentation page includes the list of injection zones you can add Admin W - Type `DetailWidgetProps` imported from `@medusajs/framework/types` + Type `DetailWidgetProps` imported from `@medusajs/framework/types` ```ts blockStyle="inline" { - data, // Campaign object + data, // AdminCampaign object } ``` @@ -1109,11 +1109,11 @@ This documentation page includes the list of injection zones you can add Admin W - Type `DetailWidgetProps` imported from `@medusajs/framework/types` + Type `DetailWidgetProps` imported from `@medusajs/framework/types` ```ts blockStyle="inline" { - data, // Campaign object + data, // AdminCampaign object } ``` @@ -1182,11 +1182,11 @@ This documentation page includes the list of injection zones you can add Admin W - Type `DetailWidgetProps` imported from `@medusajs/framework/types` + Type `DetailWidgetProps` imported from `@medusajs/framework/types` ```ts blockStyle="inline" { - data, // User object + data, // AdminUser object } ``` @@ -1205,11 +1205,11 @@ This documentation page includes the list of injection zones you can add Admin W - Type `DetailWidgetProps` imported from `@medusajs/framework/types` + Type `DetailWidgetProps` imported from `@medusajs/framework/types` ```ts blockStyle="inline" { - data, // User object + data, // AdminUser object } ``` @@ -1242,11 +1242,11 @@ This documentation page includes the list of injection zones you can add Admin W - Type `DetailWidgetProps` imported from `@medusajs/framework/types` + Type `DetailWidgetProps` imported from `@medusajs/framework/types` ```ts blockStyle="inline" { - data, // Store object + data, // AdminStore object } ``` @@ -1265,11 +1265,11 @@ This documentation page includes the list of injection zones you can add Admin W - Type `DetailWidgetProps` imported from `@medusajs/framework/types` + Type `DetailWidgetProps` imported from `@medusajs/framework/types` ```ts blockStyle="inline" { - data, // Store object + data, // AdminStore object } ``` @@ -1302,11 +1302,11 @@ This documentation page includes the list of injection zones you can add Admin W - Type `DetailWidgetProps` imported from `@medusajs/framework/types` + Type `DetailWidgetProps` imported from `@medusajs/framework/types` ```ts blockStyle="inline" { - data, // User object + data, // AdminUser object } ``` @@ -1325,11 +1325,11 @@ This documentation page includes the list of injection zones you can add Admin W - Type `DetailWidgetProps` imported from `@medusajs/framework/types` + Type `DetailWidgetProps` imported from `@medusajs/framework/types` ```ts blockStyle="inline" { - data, // User object + data, // AdminUser object } ``` @@ -1400,7 +1400,7 @@ This documentation page includes the list of injection zones you can add Admin W ```ts blockStyle="inline" { - data, // Region object + data, // AdminRegion object } ``` @@ -1423,7 +1423,7 @@ This documentation page includes the list of injection zones you can add Admin W ```ts blockStyle="inline" { - data, // Region object + data, // AdminRegion object } ``` @@ -1490,11 +1490,11 @@ This documentation page includes the list of injection zones you can add Admin W - Type `DetailWidgetProps` imported from `@medusajs/framework/types` + Type `DetailWidgetProps` imported from `@medusajs/framework/types` ```ts blockStyle="inline" { - data, // ShippingProfile object + data, // AdminShippingProfile object } ``` @@ -1513,11 +1513,11 @@ This documentation page includes the list of injection zones you can add Admin W - Type `DetailWidgetProps` imported from `@medusajs/framework/types` + Type `DetailWidgetProps` imported from `@medusajs/framework/types` ```ts blockStyle="inline" { - data, // ShippingProfile object + data, // AdminShippingProfile object } ``` @@ -1584,11 +1584,11 @@ This documentation page includes the list of injection zones you can add Admin W - Type `DetailWidgetProps` imported from `@medusajs/framework/types` + Type `DetailWidgetProps` imported from `@medusajs/framework/types` ```ts blockStyle="inline" { - data, // StockLocation object + data, // AdminStockLocation object } ``` @@ -1607,11 +1607,11 @@ This documentation page includes the list of injection zones you can add Admin W - Type `DetailWidgetProps` imported from `@medusajs/framework/types` + Type `DetailWidgetProps` imported from `@medusajs/framework/types` ```ts blockStyle="inline" { - data, // StockLocation object + data, // AdminStockLocation object } ``` @@ -1630,11 +1630,11 @@ This documentation page includes the list of injection zones you can add Admin W - Type `DetailWidgetProps` imported from `@medusajs/framework/types` + Type `DetailWidgetProps` imported from `@medusajs/framework/types` ```ts blockStyle="inline" { - data, // StockLocation object + data, // AdminStockLocation object } ``` @@ -1653,11 +1653,11 @@ This documentation page includes the list of injection zones you can add Admin W - Type `DetailWidgetProps` imported from `@medusajs/framework/types` + Type `DetailWidgetProps` imported from `@medusajs/framework/types` ```ts blockStyle="inline" { - data, // StockLocation object + data, // AdminStockLocation object } ``` @@ -1724,11 +1724,11 @@ This documentation page includes the list of injection zones you can add Admin W - Type `DetailWidgetProps` imported from `@medusajs/framework/types` + Type `DetailWidgetProps` imported from `@medusajs/framework/types` ```ts blockStyle="inline" { - data, // SalesChannel object + data, // AdminSalesChannel object } ``` @@ -1747,11 +1747,11 @@ This documentation page includes the list of injection zones you can add Admin W - Type `DetailWidgetProps` imported from `@medusajs/framework/types` + Type `DetailWidgetProps` imported from `@medusajs/framework/types` ```ts blockStyle="inline" { - data, // SalesChannel object + data, // AdminSalesChannel object } ``` @@ -1818,11 +1818,11 @@ This documentation page includes the list of injection zones you can add Admin W - Type `DetailWidgetProps` imported from `@medusajs/framework/types` + Type `DetailWidgetProps` imported from `@medusajs/framework/types` ```ts blockStyle="inline" { - data, // ReservationItem object + data, // AdminReservation object } ``` @@ -1841,11 +1841,11 @@ This documentation page includes the list of injection zones you can add Admin W - Type `DetailWidgetProps` imported from `@medusajs/framework/types` + Type `DetailWidgetProps` imported from `@medusajs/framework/types` ```ts blockStyle="inline" { - data, // ReservationItem object + data, // AdminReservation object } ``` @@ -1864,11 +1864,11 @@ This documentation page includes the list of injection zones you can add Admin W - Type `DetailWidgetProps` imported from `@medusajs/framework/types` + Type `DetailWidgetProps` imported from `@medusajs/framework/types` ```ts blockStyle="inline" { - data, // ReservationItem object + data, // AdminReservation object } ``` @@ -1887,11 +1887,11 @@ This documentation page includes the list of injection zones you can add Admin W - Type `DetailWidgetProps` imported from `@medusajs/framework/types` + Type `DetailWidgetProps` imported from `@medusajs/framework/types` ```ts blockStyle="inline" { - data, // ReservationItem object + data, // AdminReservation object } ``` @@ -1958,11 +1958,11 @@ This documentation page includes the list of injection zones you can add Admin W - Type `DetailWidgetProps` imported from `@medusajs/framework/types` + Type `DetailWidgetProps` imported from `@medusajs/framework/types` ```ts blockStyle="inline" { - data, // ApiKey object + data, // AdminApiKey object } ``` @@ -1981,11 +1981,11 @@ This documentation page includes the list of injection zones you can add Admin W - Type `DetailWidgetProps` imported from `@medusajs/framework/types` + Type `DetailWidgetProps` imported from `@medusajs/framework/types` ```ts blockStyle="inline" { - data, // ApiKey object + data, // AdminApiKey object } ``` @@ -2052,11 +2052,11 @@ This documentation page includes the list of injection zones you can add Admin W - Type `DetailWidgetProps` imported from `@medusajs/framework/types` + Type `DetailWidgetProps` imported from `@medusajs/framework/types` ```ts blockStyle="inline" { - data, // WorkflowExecution object + data, // AdminWorkflowExecution object } ``` @@ -2075,11 +2075,11 @@ This documentation page includes the list of injection zones you can add Admin W - Type `DetailWidgetProps` imported from `@medusajs/framework/types` + Type `DetailWidgetProps` imported from `@medusajs/framework/types` ```ts blockStyle="inline" { - data, // WorkflowExecution object + data, // AdminWorkflowExecution object } ``` @@ -2146,11 +2146,11 @@ This documentation page includes the list of injection zones you can add Admin W - Type `DetailWidgetProps` imported from `@medusajs/framework/types` + Type `DetailWidgetProps` imported from `@medusajs/framework/types` ```ts blockStyle="inline" { - data, // TaxRegion object + data, // AdminTaxRegion object } ``` @@ -2169,11 +2169,11 @@ This documentation page includes the list of injection zones you can add Admin W - Type `DetailWidgetProps` imported from `@medusajs/framework/types` + Type `DetailWidgetProps` imported from `@medusajs/framework/types` ```ts blockStyle="inline" { - data, // TaxRegion object + data, // AdminTaxRegion object } ```