chore: OAS and TSDoc fixes (#7864)
This commit is contained in:
@@ -26,6 +26,11 @@ decorators:
|
|||||||
- BaseProduct
|
- BaseProduct
|
||||||
StoreProduct:
|
StoreProduct:
|
||||||
- StoreProductCategory
|
- StoreProductCategory
|
||||||
|
- StoreProduct
|
||||||
|
AdminCollection:
|
||||||
|
- AdminProduct
|
||||||
|
AdminProduct:
|
||||||
|
- AdminProduct
|
||||||
|
|
||||||
# Similar config to /www/docs/docusaurus.config.js > redocusaurus
|
# Similar config to /www/docs/docusaurus.config.js > redocusaurus
|
||||||
# Allows to emulate rendering of API public documentation when using `yarn redocly preview-docs openapi.yaml`
|
# Allows to emulate rendering of API public documentation when using `yarn redocly preview-docs openapi.yaml`
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ import execa from "execa"
|
|||||||
/**
|
/**
|
||||||
* OAS output directory
|
* OAS output directory
|
||||||
*
|
*
|
||||||
* @privateRemark
|
* @privateRemarks
|
||||||
* This should be the only directory OAS is loaded from for Medusa V2.
|
* This should be the only directory OAS is loaded from for Medusa V2.
|
||||||
* For now, we only use it if the --v2 flag it passed to the CLI tool.
|
* For now, we only use it if the --v2 flag it passed to the CLI tool.
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -82,7 +82,7 @@ export interface FilterableReservationItemProps {
|
|||||||
/**
|
/**
|
||||||
* @ignore
|
* @ignore
|
||||||
*
|
*
|
||||||
* @privateRemark
|
* @privateRemarks
|
||||||
* This property is not used.
|
* This property is not used.
|
||||||
*/
|
*/
|
||||||
type?: string | string[]
|
type?: string | string[]
|
||||||
|
|||||||
@@ -359,7 +359,7 @@ const SingleDatePicker = React.forwardRef<HTMLButtonElement, SingleProps>(({
|
|||||||
placeholder,
|
placeholder,
|
||||||
translations,
|
translations,
|
||||||
...props
|
...props
|
||||||
}, ref) => {
|
}: SingleProps, ref) => {
|
||||||
const [open, setOpen] = React.useState(false)
|
const [open, setOpen] = React.useState(false)
|
||||||
const [date, setDate] = React.useState<Date | undefined>(
|
const [date, setDate] = React.useState<Date | undefined>(
|
||||||
value ?? defaultValue ?? undefined
|
value ?? defaultValue ?? undefined
|
||||||
@@ -592,7 +592,7 @@ const RangeDatePicker = React.forwardRef<HTMLButtonElement, RangeProps>(({
|
|||||||
placeholder,
|
placeholder,
|
||||||
translations,
|
translations,
|
||||||
...props
|
...props
|
||||||
}, ref) => {
|
}: RangeProps, ref) => {
|
||||||
const [open, setOpen] = React.useState(false)
|
const [open, setOpen] = React.useState(false)
|
||||||
const [range, setRange] = React.useState<DateRange | undefined>(
|
const [range, setRange] = React.useState<DateRange | undefined>(
|
||||||
value ?? defaultValue ?? undefined
|
value ?? defaultValue ?? undefined
|
||||||
|
|||||||
Reference in New Issue
Block a user