TemplateData类型定义
This commit is contained in:
parent
aebbb13f87
commit
963790e355
|
|
@ -85,6 +85,11 @@ const Index = observer(function Index() {
|
||||||
price?: number
|
price?: number
|
||||||
title?: string
|
title?: string
|
||||||
isDeleted?: boolean
|
isDeleted?: boolean
|
||||||
|
webpPreviewUrl?: string
|
||||||
|
webpHighPreviewUrl?: string
|
||||||
|
user?: {
|
||||||
|
name?: string
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
const transformTemplateToMediaItem = useCallback((template: TemplateData): MediaItem => {
|
const transformTemplateToMediaItem = useCallback((template: TemplateData): MediaItem => {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue