| 1 | import { AccountInfo } from '@/views/account/comment'; |
| 2 | import { IVideoFile } from '@/components/Choose/VideoChoose'; |
| 3 | import { IImgFile } from '@/components/Choose/ImgChoose'; |
| 4 | import { VisibleTypeEnum } from '@@/publish/PublishEnum'; |
| 5 | import { |
| 6 | DiffParmasType, |
| 7 | ILableValue, |
| 8 | } from '../../../../../electron/db/models/video'; |
| 9 | import { ILocationDataItem } from '../../../../../electron/main/plat/plat.type'; |
| 10 | |
| 11 | export interface IPubParams { |
| 12 | // 视频标题 |
| 13 | title?: string; |
| 14 | // 视频描述 |
| 15 | describe?: string; |
| 16 | // 视频封面 |
| 17 | cover?: IImgFile; |
| 18 | // 查看权限 |
| 19 | visibleType?: VisibleTypeEnum; |
| 20 | // 视频话题 |
| 21 | topics?: string[]; |
| 22 | // 每个平台的差异性参数 |
| 23 | diffParams?: DiffParmasType; |
| 24 | // 位置 |
| 25 | location?: ILocationDataItem; |
| 26 | // 定时发布日期 |
| 27 | timingTime?: Date; |
| 28 | // @用户 |
| 29 | mentionedUserInfo?: ILableValue[]; |
| 30 | // 合集 |
| 31 | mixInfo?: ILableValue; |
| 32 | } |
| 33 | |
| 34 | // 选择视频的每项数据 |
| 35 | export interface IVideoChooseItem { |
| 36 | // 选择的视频 |
| 37 | video?: IVideoFile; |
| 38 | // 选择的账户 |
| 39 | account?: AccountInfo; |
| 40 | // 发布参数 |
| 41 | pubParams: IPubParams; |
| 42 | // 唯一id |
| 43 | id: string; |
| 44 | } |
| 45 |