docs: redesign tables (#8653)

* docs: redesign tables

* fixes
This commit is contained in:
Shahed Nasser
2024-08-20 14:47:36 +02:00
committed by GitHub
parent 73905c14b1
commit b8ba020cd5
33 changed files with 226 additions and 208 deletions
@@ -56,8 +56,6 @@ This documentation page includes the list of injection zones you can add Admin W
</Table.Body>
</Table>
---
## Order Pages
<Table>
@@ -118,7 +116,7 @@ This documentation page includes the list of injection zones you can add Admin W
Type `DetailWidgetProps<AdminOrder>` imported from `@medusajs/types`
```ts noCopy noReport
```ts blockStyle="inline"
{
data, // Order object
}
@@ -141,7 +139,7 @@ This documentation page includes the list of injection zones you can add Admin W
Type `DetailWidgetProps<AdminOrder>` imported from `@medusajs/types`
```ts noCopy noReport
```ts blockStyle="inline"
{
data, // Order object
}
@@ -164,7 +162,7 @@ This documentation page includes the list of injection zones you can add Admin W
Type `DetailWidgetProps<AdminOrder>` imported from `@medusajs/types`
```ts noCopy noReport
```ts blockStyle="inline"
{
data, // Order object
}
@@ -187,7 +185,7 @@ This documentation page includes the list of injection zones you can add Admin W
Type `DetailWidgetProps<AdminOrder>` imported from `@medusajs/types`
```ts noCopy noReport
```ts blockStyle="inline"
{
data, // Order object
}
@@ -198,8 +196,6 @@ This documentation page includes the list of injection zones you can add Admin W
</Table.Body>
</Table>
---
## Customer Pages
<Table>
@@ -260,7 +256,7 @@ This documentation page includes the list of injection zones you can add Admin W
Type `DetailWidgetProps<AdminCustomer>` imported from `@medusajs/types`
```ts noCopy noReport
```ts blockStyle="inline"
{
data, // Customer object
}
@@ -283,7 +279,7 @@ This documentation page includes the list of injection zones you can add Admin W
Type `DetailWidgetProps<AdminCustomer>` imported from `@medusajs/types`
```ts noCopy noReport
```ts blockStyle="inline"
{
data, // Customer object
}
@@ -340,7 +336,7 @@ This documentation page includes the list of injection zones you can add Admin W
Type `DetailWidgetProps<AdminCustomerGroup>` imported from `@medusajs/types`
```ts noCopy noReport
```ts blockStyle="inline"
{
data, // CustomerGroup object
}
@@ -363,7 +359,7 @@ This documentation page includes the list of injection zones you can add Admin W
Type `DetailWidgetProps<AdminCustomerGroup>` imported from `@medusajs/types`
```ts noCopy noReport
```ts blockStyle="inline"
{
data, // CustomerGroup object
}
@@ -374,8 +370,6 @@ This documentation page includes the list of injection zones you can add Admin W
</Table.Body>
</Table>
---
## Product Pages
<Table>
@@ -436,7 +430,7 @@ This documentation page includes the list of injection zones you can add Admin W
Type `DetailWidgetProps<AdminProduct>` imported from `@medusajs/types`
```ts noCopy noReport
```ts blockStyle="inline"
{
data, // Product object
}
@@ -459,7 +453,7 @@ This documentation page includes the list of injection zones you can add Admin W
Type `DetailWidgetProps<AdminProduct>` imported from `@medusajs/types`
```ts noCopy noReport
```ts blockStyle="inline"
{
data, // Product object
}
@@ -482,7 +476,7 @@ This documentation page includes the list of injection zones you can add Admin W
Type `DetailWidgetProps<AdminProduct>` imported from `@medusajs/types`
```ts noCopy noReport
```ts blockStyle="inline"
{
data, // Product object
}
@@ -505,7 +499,7 @@ This documentation page includes the list of injection zones you can add Admin W
Type `DetailWidgetProps<AdminProduct>` imported from `@medusajs/types`
```ts noCopy noReport
```ts blockStyle="inline"
{
data, // Product object
}
@@ -562,7 +556,7 @@ This documentation page includes the list of injection zones you can add Admin W
Type `DetailWidgetProps<AdminProductCollection>` imported from `@medusajs/types`
```ts noCopy noReport
```ts blockStyle="inline"
{
data, // ProductCollection object
}
@@ -585,7 +579,7 @@ This documentation page includes the list of injection zones you can add Admin W
Type `DetailWidgetProps<AdminProductCollection>` imported from `@medusajs/types`
```ts noCopy noReport
```ts blockStyle="inline"
{
data, // ProductCollection object
}
@@ -642,7 +636,7 @@ This documentation page includes the list of injection zones you can add Admin W
Type `DetailWidgetProps<AdminProductCategory>` imported from `@medusajs/types`
```ts noCopy noReport
```ts blockStyle="inline"
{
data, // ProductCategory object
}
@@ -665,7 +659,7 @@ This documentation page includes the list of injection zones you can add Admin W
Type `DetailWidgetProps<AdminProductCategory>` imported from `@medusajs/types`
```ts noCopy noReport
```ts blockStyle="inline"
{
data, // ProductCategory object
}
@@ -688,7 +682,7 @@ This documentation page includes the list of injection zones you can add Admin W
Type `DetailWidgetProps<AdminProductCategory>` imported from `@medusajs/types`
```ts noCopy noReport
```ts blockStyle="inline"
{
data, // ProductCategory object
}
@@ -711,7 +705,7 @@ This documentation page includes the list of injection zones you can add Admin W
Type `DetailWidgetProps<AdminProductCategory>` imported from `@medusajs/types`
```ts noCopy noReport
```ts blockStyle="inline"
{
data, // ProductCategory object
}
@@ -722,8 +716,6 @@ This documentation page includes the list of injection zones you can add Admin W
</Table.Body>
</Table>
---
## Pricing Pages
<Table>
@@ -784,7 +776,7 @@ This documentation page includes the list of injection zones you can add Admin W
Type `DetailWidgetProps<PriceListDTO>` imported from `@medusajs/types`
```ts noCopy noReport
```ts blockStyle="inline"
{
data, // PriceList object
}
@@ -807,7 +799,7 @@ This documentation page includes the list of injection zones you can add Admin W
Type `DetailWidgetProps<PriceListDTO>` imported from `@medusajs/types`
```ts noCopy noReport
```ts blockStyle="inline"
{
data, // PriceList object
}
@@ -830,7 +822,7 @@ This documentation page includes the list of injection zones you can add Admin W
Type `DetailWidgetProps<PriceListDTO>` imported from `@medusajs/types`
```ts noCopy noReport
```ts blockStyle="inline"
{
data, // PriceList object
}
@@ -853,7 +845,7 @@ This documentation page includes the list of injection zones you can add Admin W
Type `DetailWidgetProps<PriceListDTO>` imported from `@medusajs/types`
```ts noCopy noReport
```ts blockStyle="inline"
{
data, // PriceList object
}
@@ -864,8 +856,6 @@ This documentation page includes the list of injection zones you can add Admin W
</Table.Body>
</Table>
---
## Promotion Pages
<Table>
@@ -926,7 +916,7 @@ This documentation page includes the list of injection zones you can add Admin W
Type `DetailWidgetProps<PromotionDTO>` imported from `@medusajs/types`
```ts noCopy noReport
```ts blockStyle="inline"
{
data, // Promotion object
}
@@ -949,7 +939,7 @@ This documentation page includes the list of injection zones you can add Admin W
Type `DetailWidgetProps<PromotionDTO>` imported from `@medusajs/types`
```ts noCopy noReport
```ts blockStyle="inline"
{
data, // Promotion object
}
@@ -972,7 +962,7 @@ This documentation page includes the list of injection zones you can add Admin W
Type `DetailWidgetProps<PromotionDTO>` imported from `@medusajs/types`
```ts noCopy noReport
```ts blockStyle="inline"
{
data, // Promotion object
}
@@ -995,7 +985,7 @@ This documentation page includes the list of injection zones you can add Admin W
Type `DetailWidgetProps<PromotionDTO>` imported from `@medusajs/types`
```ts noCopy noReport
```ts blockStyle="inline"
{
data, // Promotion object
}
@@ -1052,7 +1042,7 @@ This documentation page includes the list of injection zones you can add Admin W
Type `DetailWidgetProps<CampaignDTO>` imported from `@medusajs/types`
```ts noCopy noReport
```ts blockStyle="inline"
{
data, // Campaign object
}
@@ -1075,7 +1065,7 @@ This documentation page includes the list of injection zones you can add Admin W
Type `DetailWidgetProps<CampaignDTO>` imported from `@medusajs/types`
```ts noCopy noReport
```ts blockStyle="inline"
{
data, // Campaign object
}
@@ -1098,7 +1088,7 @@ This documentation page includes the list of injection zones you can add Admin W
Type `DetailWidgetProps<CampaignDTO>` imported from `@medusajs/types`
```ts noCopy noReport
```ts blockStyle="inline"
{
data, // Campaign object
}
@@ -1121,7 +1111,7 @@ This documentation page includes the list of injection zones you can add Admin W
Type `DetailWidgetProps<CampaignDTO>` imported from `@medusajs/types`
```ts noCopy noReport
```ts blockStyle="inline"
{
data, // Campaign object
}
@@ -1132,8 +1122,6 @@ This documentation page includes the list of injection zones you can add Admin W
</Table.Body>
</Table>
---
## Setting Pages
### User Pages
@@ -1196,7 +1184,7 @@ This documentation page includes the list of injection zones you can add Admin W
Type `DetailWidgetProps<UserDTO>` imported from `@medusajs/types`
```ts noCopy noReport
```ts blockStyle="inline"
{
data, // User object
}
@@ -1219,7 +1207,7 @@ This documentation page includes the list of injection zones you can add Admin W
Type `DetailWidgetProps<UserDTO>` imported from `@medusajs/types`
```ts noCopy noReport
```ts blockStyle="inline"
{
data, // User object
}
@@ -1256,7 +1244,7 @@ This documentation page includes the list of injection zones you can add Admin W
Type `DetailWidgetProps<ExtendedStoreDTO>` imported from `@medusajs/types`
```ts noCopy noReport
```ts blockStyle="inline"
{
data, // Store object
}
@@ -1279,7 +1267,7 @@ This documentation page includes the list of injection zones you can add Admin W
Type `DetailWidgetProps<ExtendedStoreDTO>` imported from `@medusajs/types`
```ts noCopy noReport
```ts blockStyle="inline"
{
data, // Store object
}
@@ -1316,7 +1304,7 @@ This documentation page includes the list of injection zones you can add Admin W
Type `DetailWidgetProps<UserDTO>` imported from `@medusajs/types`
```ts noCopy noReport
```ts blockStyle="inline"
{
data, // User object
}
@@ -1339,7 +1327,7 @@ This documentation page includes the list of injection zones you can add Admin W
Type `DetailWidgetProps<UserDTO>` imported from `@medusajs/types`
```ts noCopy noReport
```ts blockStyle="inline"
{
data, // User object
}
@@ -1410,7 +1398,7 @@ This documentation page includes the list of injection zones you can add Admin W
Type `DetailWidgetProps<AdminRegion>` imported from `@medusajs/types`
```ts noCopy noReport
```ts blockStyle="inline"
{
data, // Region object
}
@@ -1433,7 +1421,7 @@ This documentation page includes the list of injection zones you can add Admin W
Type `DetailWidgetProps<AdminRegion>` imported from `@medusajs/types`
```ts noCopy noReport
```ts blockStyle="inline"
{
data, // Region object
}
@@ -1504,7 +1492,7 @@ This documentation page includes the list of injection zones you can add Admin W
Type `DetailWidgetProps<ShippingProfileDTO>` imported from `@medusajs/types`
```ts noCopy noReport
```ts blockStyle="inline"
{
data, // ShippingProfile object
}
@@ -1527,7 +1515,7 @@ This documentation page includes the list of injection zones you can add Admin W
Type `DetailWidgetProps<ShippingProfileDTO>` imported from `@medusajs/types`
```ts noCopy noReport
```ts blockStyle="inline"
{
data, // ShippingProfile object
}
@@ -1598,7 +1586,7 @@ This documentation page includes the list of injection zones you can add Admin W
Type `DetailWidgetProps<ExtendedStockLocationDTO>` imported from `@medusajs/types`
```ts noCopy noReport
```ts blockStyle="inline"
{
data, // StockLocation object
}
@@ -1621,7 +1609,7 @@ This documentation page includes the list of injection zones you can add Admin W
Type `DetailWidgetProps<ExtendedStockLocationDTO>` imported from `@medusajs/types`
```ts noCopy noReport
```ts blockStyle="inline"
{
data, // StockLocation object
}
@@ -1644,7 +1632,7 @@ This documentation page includes the list of injection zones you can add Admin W
Type `DetailWidgetProps<ExtendedStockLocationDTO>` imported from `@medusajs/types`
```ts noCopy noReport
```ts blockStyle="inline"
{
data, // StockLocation object
}
@@ -1667,7 +1655,7 @@ This documentation page includes the list of injection zones you can add Admin W
Type `DetailWidgetProps<ExtendedStockLocationDTO>` imported from `@medusajs/types`
```ts noCopy noReport
```ts blockStyle="inline"
{
data, // StockLocation object
}
@@ -1738,7 +1726,7 @@ This documentation page includes the list of injection zones you can add Admin W
Type `DetailWidgetProps<SalesChannelResponse>` imported from `@medusajs/types`
```ts noCopy noReport
```ts blockStyle="inline"
{
data, // SalesChannel object
}
@@ -1761,7 +1749,7 @@ This documentation page includes the list of injection zones you can add Admin W
Type `DetailWidgetProps<SalesChannelResponse>` imported from `@medusajs/types`
```ts noCopy noReport
```ts blockStyle="inline"
{
data, // SalesChannel object
}
@@ -1832,7 +1820,7 @@ This documentation page includes the list of injection zones you can add Admin W
Type `DetailWidgetProps<ReservationItemDTO>` imported from `@medusajs/types`
```ts noCopy noReport
```ts blockStyle="inline"
{
data, // ReservationItem object
}
@@ -1855,7 +1843,7 @@ This documentation page includes the list of injection zones you can add Admin W
Type `DetailWidgetProps<ReservationItemDTO>` imported from `@medusajs/types`
```ts noCopy noReport
```ts blockStyle="inline"
{
data, // ReservationItem object
}
@@ -1878,7 +1866,7 @@ This documentation page includes the list of injection zones you can add Admin W
Type `DetailWidgetProps<ReservationItemDTO>` imported from `@medusajs/types`
```ts noCopy noReport
```ts blockStyle="inline"
{
data, // ReservationItem object
}
@@ -1901,7 +1889,7 @@ This documentation page includes the list of injection zones you can add Admin W
Type `DetailWidgetProps<ReservationItemDTO>` imported from `@medusajs/types`
```ts noCopy noReport
```ts blockStyle="inline"
{
data, // ReservationItem object
}
@@ -1972,7 +1960,7 @@ This documentation page includes the list of injection zones you can add Admin W
Type `DetailWidgetProps<ApiKeyResponse>` imported from `@medusajs/types`
```ts noCopy noReport
```ts blockStyle="inline"
{
data, // ApiKey object
}
@@ -1995,7 +1983,7 @@ This documentation page includes the list of injection zones you can add Admin W
Type `DetailWidgetProps<ApiKeyResponse>` imported from `@medusajs/types`
```ts noCopy noReport
```ts blockStyle="inline"
{
data, // ApiKey object
}
@@ -2066,7 +2054,7 @@ This documentation page includes the list of injection zones you can add Admin W
Type `DetailWidgetProps<WorkflowExecutionDTO>` imported from `@medusajs/types`
```ts noCopy noReport
```ts blockStyle="inline"
{
data, // WorkflowExecution object
}
@@ -2089,7 +2077,7 @@ This documentation page includes the list of injection zones you can add Admin W
Type `DetailWidgetProps<WorkflowExecutionDTO>` imported from `@medusajs/types`
```ts noCopy noReport
```ts blockStyle="inline"
{
data, // WorkflowExecution object
}
@@ -2160,7 +2148,7 @@ This documentation page includes the list of injection zones you can add Admin W
Type `DetailWidgetProps<TaxRegionResponse>` imported from `@medusajs/types`
```ts noCopy noReport
```ts blockStyle="inline"
{
data, // TaxRegion object
}
@@ -2183,7 +2171,7 @@ This documentation page includes the list of injection zones you can add Admin W
Type `DetailWidgetProps<TaxRegionResponse>` imported from `@medusajs/types`
```ts noCopy noReport
```ts blockStyle="inline"
{
data, // TaxRegion object
}