Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
eoefans-web/src/routers/video/videotype.ts
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
31 lines (29 sloc)
569 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* 定义video路由的类型 | |
*/ | |
import { ImageProps } from "@components/image/imagetype"; | |
import { RFetchVideoRes } from "@utils/fetch/fetchtype"; | |
/** | |
* @description video路由瀑布流卡片参数 | |
*/ | |
export type VideoRouterImageCardType = Pick< | |
RFetchVideoRes["data"]["result"][number], | |
| "bvid" | |
| "name" | |
| "tname" | |
| "copyright" | |
| "title" | |
| "pic" | |
| "tag" | |
| "view" | |
| "coin" | |
| "share" | |
| "like" | |
| "pubdate" | |
| "danmaku" | |
| "duration" | |
| "favorite" | |
| "face" | |
> & | |
Omit<ImageProps, "url">; | |
export type VideoRouterMasonryType = {}; |