@@ -62,7 +62,7 @@ Each of the collapsible elements below hold the path to the file that you should
6262<Details >
6363 <Summary >src/admin/types/icon-type.ts</Summary >
6464
65- ``` tsx title=src/admin/types/icon-type.ts
65+ ``` tsx title=" src/admin/types/icon-type.ts"
6666 import React from " react"
6767
6868 type IconProps = {
@@ -80,7 +80,7 @@ Each of the collapsible elements below hold the path to the file that you should
8080
8181<!-- eslint-disable max-len -->
8282
83- ```tsx title =src/admin/components/shared/icons/get-started.tsx
83+ ```tsx title = " src/admin/components/shared/icons/get-started.tsx"
8484 import React from " react"
8585 import IconProps from " ../../../types/icon-type"
8686
@@ -115,7 +115,7 @@ Each of the collapsible elements below hold the path to the file that you should
115115
116116<!-- eslint-disable max-len -->
117117
118- ```tsx title =src/admin/components/shared/icons/dollar-sign-icon.tsx
118+ ```tsx title = " src/admin/components/shared/icons/dollar-sign-icon.tsx"
119119 import React from " react"
120120 import IconProps from " ../../../types/icon-type"
121121
@@ -162,7 +162,7 @@ Each of the collapsible elements below hold the path to the file that you should
162162
163163<!-- eslint-disable max-len -->
164164
165- ```tsx title =src/admin/components/shared/accordion.tsx
165+ ```tsx title = " src/admin/components/shared/accordion.tsx"
166166 import * as AccordionPrimitive from " @radix-ui/react-accordion"
167167 import React from " react"
168168 import { CheckCircleSolid , CircleMiniSolid } from " @medusajs/icons"
@@ -295,7 +295,7 @@ Each of the collapsible elements below hold the path to the file that you should
295295
296296<!-- eslint-disable max-len -->
297297
298- ```tsx title=src/admin/components/shared/card.tsx
298+ ```tsx title=" src/admin/components/shared/card.tsx"
299299 import { Text, clx } from "@medusajs/ui"
300300
301301 type CardProps = {
@@ -348,7 +348,7 @@ An [entity](../development/entities/overview.mdx) represents a table in the data
348348
349349To create the entity, create the file ` src/models/onboarding.ts ` with the following content:
350350
351- ``` ts title=src/models/onboarding.ts
351+ ``` ts title=" src/models/onboarding.ts"
352352import { BaseEntity } from " @medusajs/medusa"
353353import { Column , Entity } from " typeorm"
354354
@@ -367,7 +367,7 @@ export class OnboardingState extends BaseEntity {
367367
368368Then, create the file ` src/repositories/onboarding.ts ` that holds the repository of the entity with the following content:
369369
370- ``` ts title=src/repositories/onboarding.ts
370+ ``` ts title=" src/repositories/onboarding.ts"
371371import {
372372 dataSource ,
373373} from " @medusajs/medusa/dist/loaders/database"
@@ -450,7 +450,7 @@ Start by creating the file `src/types/onboarding.ts` with the following content:
450450
451451<!-- eslint-disable @typescript-eslint/no-empty-interface -->
452452
453- ` ` ` ts title=src/types/onboarding.ts
453+ ` ` ` ts title=" src/types/onboarding.ts"
454454import { OnboardingState } from " ../models/onboarding"
455455
456456export type UpdateOnboardingStateInput = {
@@ -472,7 +472,7 @@ Then, create the file `src/services/onboarding.ts` with the following content:
472472
473473<!-- eslint-disable prefer-rest-params -->
474474
475- ` ` ` ts title = src / services / onboarding .ts
475+ ` ` ` ts title = " src/services/onboarding.ts"
476476import { TransactionBaseService } from " @medusajs/medusa"
477477import OnboardingRepository from " ../repositories/onboarding"
478478import { OnboardingState } from " ../models/onboarding"
@@ -540,7 +540,7 @@ The last part of this step is to create the [API Routes](../development/api-rout
540540
541541To add these API Routes, create the file ` src / api / admin / onboarding / route .ts ` with the following content:
542542
543- ` ` ` ts title = src / api / admin / onboarding / route .ts
543+ ` ` ` ts title = " src/api/admin/onboarding/route.ts"
544544import type {
545545 MedusaRequest ,
546546 MedusaResponse ,
@@ -597,7 +597,7 @@ Create the file `src/admin/widgets/onboarding-flow/onboarding-flow.tsx` with the
597597
598598<!-- eslint-disable @typescript-eslint/ban-types -->
599599
600- ` ` ` tsx title = src / admin / widgets / onboarding - flow / onboarding - flow .tsx
600+ ` ` ` tsx title = " src/admin/widgets/onboarding-flow/onboarding-flow.tsx"
601601import { OrderDetailsWidgetProps , ProductDetailsWidgetProps , WidgetConfig , WidgetProps } from " @medusajs/admin"
602602import { useAdminCustomPost , useAdminCustomQuery , useMedusa } from " medusa-react"
603603import React , { useEffect , useState , useMemo , useCallback } from " react"
@@ -1059,7 +1059,7 @@ const OnboardingFlow = (props: OnboardingWidgetProps) => {
10591059 const isCurrent = currentStep === step .id
10601060 return (
10611061 <Accordion.Item
1062- title = { step .title }
1062+ title = " {step.title}"
10631063 value = { step .id }
10641064 headingSize = " medium"
10651065 active = { isCurrent }
@@ -1135,7 +1135,7 @@ Notice that as there are two types of flows, you'll be creating the components f
11351135
11361136<!-- eslint-disable max-len -->
11371137
1138- ` ` ` tsx title = src / admin / components / onboarding - flow / default / products / products - list .tsx
1138+ ` ` ` tsx title = " src/admin/components/onboarding-flow/default/products/products-list.tsx"
11391139 import React , { useMemo } from " react"
11401140 import {
11411141 useAdminCreateProduct ,
@@ -1221,7 +1221,7 @@ Notice that as there are two types of flows, you'll be creating the components f
12211221
12221222<!-- eslint-disable max-len -->
12231223
1224- ` ` ` tsx title = src / admin / components / onboarding - flow / default / products / product - detail .tsx
1224+ ` ` ` tsx title = " src/admin/components/onboarding-flow/default/products/product-detail.tsx"
12251225 import React , { useEffect , useMemo } from " react"
12261226 import {
12271227 useAdminPublishableApiKeys ,
@@ -1325,7 +1325,7 @@ Notice that as there are two types of flows, you'll be creating the components f
13251325
13261326<!-- eslint-disable max-len -->
13271327
1328- ` ` ` tsx title = src / admin / components / onboarding - flow / default / orders / orders - list .tsx
1328+ ` ` ` tsx title = " src/admin/components/onboarding-flow/default/orders/orders-list.tsx"
13291329 import React from " react"
13301330 import {
13311331 useAdminProduct ,
@@ -1420,7 +1420,7 @@ Notice that as there are two types of flows, you'll be creating the components f
14201420
14211421<!-- eslint-disable max-len -->
14221422
1423- ` ` ` tsx title = src / admin / components / onboarding - flow / default / orders / order - detail .tsx
1423+ ` ` ` tsx title = " src/admin/components/onboarding-flow/default/orders/order-detail.tsx"
14241424 import React from " react"
14251425 import {
14261426 ComputerDesktopSolid ,
@@ -1571,7 +1571,7 @@ Notice that as there are two types of flows, you'll be creating the components f
15711571
15721572<!-- eslint-disable max-len -->
15731573
1574- ` ` ` tsx title = src / admin / components / onboarding - flow / nextjs / products / products - list .tsx
1574+ ` ` ` tsx title = " src/admin/components/onboarding-flow/nextjs/products/products-list.tsx"
15751575 import React from " react"
15761576 import {
15771577 useAdminCreateProduct ,
@@ -1669,7 +1669,7 @@ Notice that as there are two types of flows, you'll be creating the components f
16691669
16701670<!-- eslint-disable max-len -->
16711671
1672- ` ` ` tsx title = src / admin / components / onboarding - flow / nextjs / products / product - detail .tsx
1672+ ` ` ` tsx title = " src/admin/components/onboarding-flow/nextjs/products/product-detail.tsx"
16731673 import { useAdminProduct } from " medusa-react"
16741674 import { StepContentProps } from " ../../../../widgets/onboarding-flow/onboarding-flow"
16751675 import { Button , Text } from " @medusajs/ui"
@@ -1737,7 +1737,7 @@ Notice that as there are two types of flows, you'll be creating the components f
17371737
17381738<!-- eslint-disable max-len -->
17391739
1740- ` ` ` tsx title = src / admin / components / onboarding - flow / nextjs / orders / orders - list .tsx
1740+ ` ` ` tsx title = " src/admin/components/onboarding-flow/nextjs/orders/orders-list.tsx"
17411741 import React from " react"
17421742 import {
17431743 useAdminProduct ,
@@ -1817,7 +1817,7 @@ Notice that as there are two types of flows, you'll be creating the components f
18171817
18181818<!-- eslint-disable max-len -->
18191819
1820- ` ` ` tsx title = src / admin / components / onboarding - flow / nextjs / orders / order - detail .tsx
1820+ ` ` ` tsx title = " src/admin/components/onboarding-flow/nextjs/orders/order-detail.tsx"
18211821 import React from " react"
18221822 import { CurrencyDollarSolid , NextJs , SquaresPlusSolid } from " @medusajs/icons"
18231823 import { IconBadge , Heading , Text } from " @medusajs/ui"
0 commit comments