유튜브 업로드 기능 완료 .
This commit is contained in:
1 parent
e1b860a15f
commit
fd9db31e52
12 files changed
+2257
-30
No files matched your search
@@ -245,6 +245,7 @@ export interface UserMeResponse {
|
||||
|
||||
// 비디오 목록 아이템
|
||||
export interface VideoListItem {
|
||||
video_id: number;
|
||||
store_name: string;
|
||||
region: string;
|
||||
task_id: string;
|
||||
@@ -303,3 +304,43 @@ export interface SocialDisconnectResponse {
|
||||
message: string;
|
||||
}
|
||||
|
||||
// ============================================
|
||||
// Social Upload Types (YouTube Upload)
|
||||
// ============================================
|
||||
|
||||
// 소셜 업로드 요청
|
||||
export interface SocialUploadRequest {
|
||||
video_id: number; // 아카이브의 비디오 ID
|
||||
social_account_id: number; // 선택된 채널 ID
|
||||
title: string; // 최대 100자
|
||||
description: string; // 최대 5000자
|
||||
tags: string[]; // 태그 배열
|
||||
privacy_status: 'public' | 'unlisted' | 'private'; // 공개 범위
|
||||
scheduled_at: string | null; // ISO 형식 또는 null (즉시 게시)
|
||||
}
|
||||
|
||||
// 소셜 업로드 응답
|
||||
export interface SocialUploadResponse {
|
||||
success: boolean;
|
||||
upload_id: string;
|
||||
status: 'pending' | 'uploading' | 'completed' | 'failed';
|
||||
message: string;
|
||||
}
|
||||
|
||||
// 소셜 업로드 상태 조회 응답
|
||||
export interface SocialUploadStatusResponse {
|
||||
success: boolean;
|
||||
upload_id: number;
|
||||
video_id: number;
|
||||
platform: string;
|
||||
status: 'pending' | 'uploading' | 'completed' | 'failed';
|
||||
upload_progress: number; // 업로드 진행률 (0-100)
|
||||
title?: string; // 영상 제목
|
||||
platform_video_id?: string; // 완료 시 플랫폼 비디오 ID
|
||||
platform_url?: string; // 완료 시 플랫폼 URL
|
||||
error_message?: string | null; // 실패 시 에러 메시지
|
||||
retry_count?: number;
|
||||
created_at?: string;
|
||||
uploaded_at?: string;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user