Constants
BATCH_STATESβ
Package: @rpldy/uploader, @rpldy/uploady
The different values Batch.state can have.
enum BATCH_STATES {
PENDING = "pending",
ADDED = "added",
PROCESSING = "processing",
UPLOADING = "uploading",
CANCELLED = "cancelled",
FINISHED = "finished",
ABORTED = "aborted",
ERROR = "error",
}
FILE_STATESβ
Package: @rpldy/uploader, @rpldy/uploady
The different values BatchItem.state can have.
enum FILE_STATES {
PENDING = "pending",
ADDED = "added",
UPLOADING = "uploading",
CANCELLED = "cancelled",
FINISHED = "finished",
ERROR = "error",
ABORTED = "aborted",
}
UPLOADER_EVENTSβ
Package: @rpldy/uploader, @rpldy/uploady
enum UPLOADER_EVENTS {
BATCH_ADD = "BATCH-ADD",
BATCH_START = "BATCH-START",
BATCH_PROGRESS = "BATCH_PROGRESS",
BATCH_FINISH = "BATCH-FINISH",
BATCH_ABORT = "BATCH-ABORT",
BATCH_CANCEL = "BATCH-CANCEL",
BATCH_ERROR = "BATCH-ERROR",
BATCH_FINALIZE = "BATCH-FINALIZE",
ITEM_START = "FILE-START",
ITEM_CANCEL = "FILE-CANCEL",
ITEM_PROGRESS = "FILE-PROGRESS",
ITEM_FINISH = "FILE-FINISH",
ITEM_ABORT = "FILE-ABORT",
ITEM_ERROR = "FILE-ERROR",
ITEM_FINALIZE = "FILE-FINALIZE",
REQUEST_PRE_SEND = "REQUEST_PRE_SEND",
ALL_ABORT = "ALL_ABORT",
}
CHUNK_EVENTSβ
Package: @rpldy/chunked-sender, @rpldy/chunked-uploady
enum CHUNK_EVENTS {
CHUNK_START = "CHUNK_START",
CHUNK_FINISH = "CHUNK_FINISH",
}
PREVIEW_TYPESβ
Package: @rpldy/upload-preview
enum PreviewType {
IMAGE = "image",
VIDEO = "video",
}
CHUNKING_SUPPORTβ
Will be true
if the browser supports chunking (Blob.slice)
type CHUNKING_SUPPORT = boolean