@gotake/gotake-sdk
Version:
SDK for interacting with GoTake blockchain contracts
43 lines • 925 B
TypeScript
/**
* API types for backend integration
*/
export interface ApiErrorResponse {
error: string;
details?: string;
}
export interface UploadVideoResponse {
id: string;
title: string;
description: string;
asset_id: string;
file_type: string;
file_size: number;
status: string;
created_at: string;
updated_at: string;
tags: string[];
livepeerResponse: {
assetId: string;
url: string;
};
}
export interface VideoInfoResponse {
id: string;
title: string;
description: string;
asset_id: string;
playback_url?: string;
thumbnail_url?: string;
duration?: number;
file_type: string;
file_size: number;
status: string;
created_at: string;
updated_at: string;
tags: string[];
}
export interface VideoUploadConfig {
endpoint: string;
headers?: Record<string, string>;
}
//# sourceMappingURL=types.d.ts.map