chore: OAS and TSDoc fixes (#7864)
This commit is contained in:
@@ -26,6 +26,11 @@ decorators:
|
||||
- BaseProduct
|
||||
StoreProduct:
|
||||
- StoreProductCategory
|
||||
- StoreProduct
|
||||
AdminCollection:
|
||||
- AdminProduct
|
||||
AdminProduct:
|
||||
- AdminProduct
|
||||
|
||||
# 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`
|
||||
|
||||
@@ -11,7 +11,7 @@ import execa from "execa"
|
||||
/**
|
||||
* OAS output directory
|
||||
*
|
||||
* @privateRemark
|
||||
* @privateRemarks
|
||||
* 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.
|
||||
*/
|
||||
|
||||
@@ -82,7 +82,7 @@ export interface FilterableReservationItemProps {
|
||||
/**
|
||||
* @ignore
|
||||
*
|
||||
* @privateRemark
|
||||
* @privateRemarks
|
||||
* This property is not used.
|
||||
*/
|
||||
type?: string | string[]
|
||||
|
||||
@@ -359,7 +359,7 @@ const SingleDatePicker = React.forwardRef<HTMLButtonElement, SingleProps>(({
|
||||
placeholder,
|
||||
translations,
|
||||
...props
|
||||
}, ref) => {
|
||||
}: SingleProps, ref) => {
|
||||
const [open, setOpen] = React.useState(false)
|
||||
const [date, setDate] = React.useState<Date | undefined>(
|
||||
value ?? defaultValue ?? undefined
|
||||
@@ -592,7 +592,7 @@ const RangeDatePicker = React.forwardRef<HTMLButtonElement, RangeProps>(({
|
||||
placeholder,
|
||||
translations,
|
||||
...props
|
||||
}, ref) => {
|
||||
}: RangeProps, ref) => {
|
||||
const [open, setOpen] = React.useState(false)
|
||||
const [range, setRange] = React.useState<DateRange | undefined>(
|
||||
value ?? defaultValue ?? undefined
|
||||
|
||||
Reference in New Issue
Block a user