Skip to content

Commit c02c1e2

Browse files
committed
update: Put videoName param in CommonOptions interface
1 parent 5854067 commit c02c1e2

File tree

3 files changed

+1
-2
lines changed

3 files changed

+1
-2
lines changed

src/abstract-uploader.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ interface Origin {
4141
export interface CommonOptions {
4242
apiHost?: string;
4343
retries?: number;
44+
videoName?: string;
4445
retryStrategy?: RetryStrategy;
4546
origin?: {
4647
application?: Origin;

src/progressive-video-uploader.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import { PromiseQueue } from "./promise-queue";
33

44
export interface ProgressiveUploadCommonOptions {
55
preventEmptyParts?: boolean;
6-
videoName?: string
76
}
87

98
export interface ProgressiveUploaderOptionsWithUploadToken extends ProgressiveUploadCommonOptions, CommonOptions, WithUploadToken { }

src/video-uploader.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import { AbstractUploader, CommonOptions, DEFAULT_CHUNK_SIZE, MAX_CHUNK_SIZE, MI
22

33
interface UploadOptions {
44
file: File;
5-
videoName?: string;
65
chunkSize?: number;
76
}
87

0 commit comments

Comments
 (0)