docs: fix types of injection zone props (#10074)

Closes DX-1065
This commit is contained in:
Shahed Nasser
2024-11-13 14:32:55 +02:00
committed by GitHub
parent d9d4e575f6
commit b6775f894a

View File

@@ -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
</Table.Cell>
<Table.Cell>
Type `DetailWidgetProps<PriceListDTO>` imported from `@medusajs/framework/types`
Type `DetailWidgetProps<AdminPriceList>` 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
</Table.Cell>
<Table.Cell>
Type `DetailWidgetProps<PriceListDTO>` imported from `@medusajs/framework/types`
Type `DetailWidgetProps<AdminPriceList>` 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
</Table.Cell>
<Table.Cell>
Type `DetailWidgetProps<PriceListDTO>` imported from `@medusajs/framework/types`
Type `DetailWidgetProps<AdminPriceList>` 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
</Table.Cell>
<Table.Cell>
Type `DetailWidgetProps<PriceListDTO>` imported from `@medusajs/framework/types`
Type `DetailWidgetProps<AdminPriceList>` 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
</Table.Cell>
<Table.Cell>
Type `DetailWidgetProps<PromotionDTO>` imported from `@medusajs/framework/types`
Type `DetailWidgetProps<AdminPromotion>` 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
</Table.Cell>
<Table.Cell>
Type `DetailWidgetProps<PromotionDTO>` imported from `@medusajs/framework/types`
Type `DetailWidgetProps<AdminPromotion>` 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
</Table.Cell>
<Table.Cell>
Type `DetailWidgetProps<PromotionDTO>` imported from `@medusajs/framework/types`
Type `DetailWidgetProps<AdminPromotion>` 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
</Table.Cell>
<Table.Cell>
Type `DetailWidgetProps<PromotionDTO>` imported from `@medusajs/framework/types`
Type `DetailWidgetProps<AdminPromotion>` 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
</Table.Cell>
<Table.Cell>
Type `DetailWidgetProps<CampaignDTO>` imported from `@medusajs/framework/types`
Type `DetailWidgetProps<AdminCampaign>` 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
</Table.Cell>
<Table.Cell>
Type `DetailWidgetProps<CampaignDTO>` imported from `@medusajs/framework/types`
Type `DetailWidgetProps<AdminCampaign>` 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
</Table.Cell>
<Table.Cell>
Type `DetailWidgetProps<CampaignDTO>` imported from `@medusajs/framework/types`
Type `DetailWidgetProps<AdminCampaign>` 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
</Table.Cell>
<Table.Cell>
Type `DetailWidgetProps<CampaignDTO>` imported from `@medusajs/framework/types`
Type `DetailWidgetProps<AdminCampaign>` 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
</Table.Cell>
<Table.Cell>
Type `DetailWidgetProps<UserDTO>` imported from `@medusajs/framework/types`
Type `DetailWidgetProps<AdminUser>` 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
</Table.Cell>
<Table.Cell>
Type `DetailWidgetProps<UserDTO>` imported from `@medusajs/framework/types`
Type `DetailWidgetProps<AdminUser>` 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
</Table.Cell>
<Table.Cell>
Type `DetailWidgetProps<ExtendedStoreDTO>` imported from `@medusajs/framework/types`
Type `DetailWidgetProps<AdminStore>` 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
</Table.Cell>
<Table.Cell>
Type `DetailWidgetProps<ExtendedStoreDTO>` imported from `@medusajs/framework/types`
Type `DetailWidgetProps<AdminStore>` 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
</Table.Cell>
<Table.Cell>
Type `DetailWidgetProps<UserDTO>` imported from `@medusajs/framework/types`
Type `DetailWidgetProps<AdminUser>` 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
</Table.Cell>
<Table.Cell>
Type `DetailWidgetProps<UserDTO>` imported from `@medusajs/framework/types`
Type `DetailWidgetProps<AdminUser>` 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
</Table.Cell>
<Table.Cell>
Type `DetailWidgetProps<ShippingProfileDTO>` imported from `@medusajs/framework/types`
Type `DetailWidgetProps<AdminShippingProfile>` 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
</Table.Cell>
<Table.Cell>
Type `DetailWidgetProps<ShippingProfileDTO>` imported from `@medusajs/framework/types`
Type `DetailWidgetProps<AdminShippingProfile>` 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
</Table.Cell>
<Table.Cell>
Type `DetailWidgetProps<ExtendedStockLocationDTO>` imported from `@medusajs/framework/types`
Type `DetailWidgetProps<AdminStockLocation>` 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
</Table.Cell>
<Table.Cell>
Type `DetailWidgetProps<ExtendedStockLocationDTO>` imported from `@medusajs/framework/types`
Type `DetailWidgetProps<AdminStockLocation>` 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
</Table.Cell>
<Table.Cell>
Type `DetailWidgetProps<ExtendedStockLocationDTO>` imported from `@medusajs/framework/types`
Type `DetailWidgetProps<AdminStockLocation>` 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
</Table.Cell>
<Table.Cell>
Type `DetailWidgetProps<ExtendedStockLocationDTO>` imported from `@medusajs/framework/types`
Type `DetailWidgetProps<AdminStockLocation>` 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
</Table.Cell>
<Table.Cell>
Type `DetailWidgetProps<SalesChannelResponse>` imported from `@medusajs/framework/types`
Type `DetailWidgetProps<AdminSalesChannel>` 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
</Table.Cell>
<Table.Cell>
Type `DetailWidgetProps<SalesChannelResponse>` imported from `@medusajs/framework/types`
Type `DetailWidgetProps<AdminSalesChannel>` 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
</Table.Cell>
<Table.Cell>
Type `DetailWidgetProps<ReservationItemDTO>` imported from `@medusajs/framework/types`
Type `DetailWidgetProps<AdminReservation>` 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
</Table.Cell>
<Table.Cell>
Type `DetailWidgetProps<ReservationItemDTO>` imported from `@medusajs/framework/types`
Type `DetailWidgetProps<AdminReservation>` 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
</Table.Cell>
<Table.Cell>
Type `DetailWidgetProps<ReservationItemDTO>` imported from `@medusajs/framework/types`
Type `DetailWidgetProps<AdminReservation>` 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
</Table.Cell>
<Table.Cell>
Type `DetailWidgetProps<ReservationItemDTO>` imported from `@medusajs/framework/types`
Type `DetailWidgetProps<AdminReservation>` 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
</Table.Cell>
<Table.Cell>
Type `DetailWidgetProps<ApiKeyResponse>` imported from `@medusajs/framework/types`
Type `DetailWidgetProps<AdminApiKey>` 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
</Table.Cell>
<Table.Cell>
Type `DetailWidgetProps<ApiKeyResponse>` imported from `@medusajs/framework/types`
Type `DetailWidgetProps<AdminApiKey>` 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
</Table.Cell>
<Table.Cell>
Type `DetailWidgetProps<WorkflowExecutionDTO>` imported from `@medusajs/framework/types`
Type `DetailWidgetProps<AdminWorkflowExecution>` 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
</Table.Cell>
<Table.Cell>
Type `DetailWidgetProps<WorkflowExecutionDTO>` imported from `@medusajs/framework/types`
Type `DetailWidgetProps<AdminWorkflowExecution>` 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
</Table.Cell>
<Table.Cell>
Type `DetailWidgetProps<TaxRegionResponse>` imported from `@medusajs/framework/types`
Type `DetailWidgetProps<AdminTaxRegion>` 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
</Table.Cell>
<Table.Cell>
Type `DetailWidgetProps<TaxRegionResponse>` imported from `@medusajs/framework/types`
Type `DetailWidgetProps<AdminTaxRegion>` imported from `@medusajs/framework/types`
```ts blockStyle="inline"
{
data, // TaxRegion object
data, // AdminTaxRegion object
}
```