fix: audio bars and upload process
This commit is contained in:
+5
-11
@@ -115,22 +115,16 @@ export interface NetworkWithStreams extends Network {
|
||||
// --- Depot types ---
|
||||
|
||||
export interface PrepareUploadRequest {
|
||||
file_name: string;
|
||||
network_id: string;
|
||||
name: string;
|
||||
content_type: string;
|
||||
size_bytes: number;
|
||||
content_length: number;
|
||||
}
|
||||
|
||||
export interface PrepareUploadResponse {
|
||||
object: DepotObject;
|
||||
object_id: string;
|
||||
upload_url: string;
|
||||
}
|
||||
|
||||
export interface DepotObject {
|
||||
id: string;
|
||||
status: string;
|
||||
content_type: string;
|
||||
size_bytes: number;
|
||||
created_at: string;
|
||||
upload_headers: Record<string, string>;
|
||||
}
|
||||
|
||||
// --- Stream mutation types ---
|
||||
|
||||
Reference in New Issue
Block a user