| 1 | import type { PlatType } from '@/app/config/platConfig' |
| 2 | |
| 3 | // Source: platforms/work.api.ts inline types |
| 4 | // Source: plat/work.ts |
| 5 | |
| 6 | /** |
| 7 | * ValidateWorkOwnershipDto 请求参数。 |
| 8 | */ |
| 9 | export interface ValidateWorkOwnershipDto { |
| 10 | |
| 11 | accountId: string |
| 12 | |
| 13 | workLink: string |
| 14 | } |
| 15 | |
| 16 | /** |
| 17 | * ValidateWorkOwnershipWorkDetail 数据结构。 |
| 18 | */ |
| 19 | export interface ValidateWorkOwnershipWorkDetail { |
| 20 | dataId: string |
| 21 | title?: string |
| 22 | desc?: string |
| 23 | topics?: string[] |
| 24 | coverUrl?: string |
| 25 | videoUrl?: string |
| 26 | imgUrlList?: string[] |
| 27 | publishTime?: string |
| 28 | type: string |
| 29 | videoType?: 'short' | 'long' |
| 30 | duration?: number |
| 31 | } |
| 32 | |
| 33 | /** |
| 34 | * ValidateWorkOwnershipVo 响应数据。 |
| 35 | */ |
| 36 | export interface ValidateWorkOwnershipVo { |
| 37 | accountId: string |
| 38 | accountType: PlatType |
| 39 | authorizationStatus: 'valid' |
| 40 | |
| 41 | ownershipVerified: boolean |
| 42 | dataId: string |
| 43 | uniqueId: string |
| 44 | |
| 45 | resolvedWorkLink?: string |
| 46 | type: string |
| 47 | videoType?: 'short' | 'long' |
| 48 | workDetail?: ValidateWorkOwnershipWorkDetail |
| 49 | } |
| 50 |