@@ -909,6 +909,10 @@ declare module "fine-uploader/lib/core" {
909
909
* RequestOptions
910
910
*/
911
911
request ?: RequestOptions ;
912
+ /**
913
+ * RetryOptions
914
+ */
915
+ retry ?: RetryOptions ;
912
916
/**
913
917
* ScalingOptions
914
918
*/
@@ -933,8 +937,6 @@ declare module "fine-uploader/lib/core" {
933
937
* Core callback functions
934
938
*/
935
939
callbacks ?: CoreEvents ;
936
-
937
-
938
940
}
939
941
940
942
/**
@@ -2700,6 +2702,7 @@ declare module "fine-uploader/lib/azure" {
2700
2702
UIDeleteFileOptions ,
2701
2703
UIMessages ,
2702
2704
UIPasteOptions ,
2705
+ UIRetryOptions ,
2703
2706
UIScalingOptions ,
2704
2707
UITextOptions
2705
2708
} from 'fine-uploader' ;
@@ -2709,6 +2712,7 @@ declare module "fine-uploader/lib/azure" {
2709
2712
ChunkingOptions ,
2710
2713
CorsOptions ,
2711
2714
RequestOptions ,
2715
+ RetryOptions ,
2712
2716
CoreOptions ,
2713
2717
ResumableFileObject ,
2714
2718
PromiseOptions
@@ -3062,10 +3066,12 @@ declare module "fine-uploader/lib/azure" {
3062
3066
* RequestOptions
3063
3067
*/
3064
3068
request ?: AzureRequestOptions ;
3065
-
3069
+ /**
3070
+ * Retry options
3071
+ */
3072
+ retry ?: UIRetryOptions & RetryOptions ;
3066
3073
}
3067
3074
3068
-
3069
3075
}
3070
3076
3071
3077
}
@@ -3079,6 +3085,7 @@ declare module "fine-uploader/lib/s3" {
3079
3085
UIDeleteFileOptions ,
3080
3086
UIMessages ,
3081
3087
UIPasteOptions ,
3088
+ UIRetryOptions ,
3082
3089
UIScalingOptions ,
3083
3090
UITextOptions
3084
3091
} from 'fine-uploader' ;
@@ -3091,14 +3098,14 @@ declare module "fine-uploader/lib/s3" {
3091
3098
CoreOptions ,
3092
3099
ResumableFileObject ,
3093
3100
CoreEvents ,
3094
- PromiseOptions
3101
+ PromiseOptions ,
3102
+ RetryOptions
3095
3103
} from 'fine-uploader/lib/core' ;
3096
3104
3097
-
3105
+ import { s3 as s3Core } from 'fine-uploader/lib/core/s3' ;
3098
3106
3099
3107
export namespace s3 {
3100
3108
3101
-
3102
3109
export class FineUploader extends FineUploaderCore {
3103
3110
3104
3111
constructor ( fineuploaderOptions ?: S3UIOptions ) ;
@@ -3175,6 +3182,90 @@ declare module "fine-uploader/lib/s3" {
3175
3182
setUploadSuccessParams ( newParams : any , id ?: number ) : void ;
3176
3183
}
3177
3184
3185
+ /**
3186
+ * S3UIOptions
3187
+ */
3188
+ export interface S3UIOptions extends UIOptions , S3CoreOptions {
3189
+ /**
3190
+ * failedUploadText options
3191
+ */
3192
+ failedUploadTextDisplay ?: S3FailedUploadTextDisplayOptions ;
3193
+ /**
3194
+ * chunking options
3195
+ */
3196
+ chunking ?: S3ChunkingOptions ;
3197
+ /**
3198
+ * cors options
3199
+ */
3200
+ cors ?: S3CorsOptions ;
3201
+ /**
3202
+ * request options
3203
+ */
3204
+ request ?: S3RequestOptions ;
3205
+ /**
3206
+ * deleteFile options
3207
+ */
3208
+ deleteFile ?: UIDeleteFileOptions ;
3209
+ /**
3210
+ * messages
3211
+ */
3212
+ messages ?: UIMessages ;
3213
+ /**
3214
+ * paste UI options
3215
+ */
3216
+ paste ?: UIPasteOptions ;
3217
+ /**
3218
+ * Retry options
3219
+ */
3220
+ retry ?: UIRetryOptions & RetryOptions ;
3221
+ /**
3222
+ * UI scaling options
3223
+ */
3224
+ scaling ?: UIScalingOptions ;
3225
+ /**
3226
+ * UI text options
3227
+ */
3228
+ text ?: UITextOptions ;
3229
+ }
3230
+
3231
+ export const FineUploaderBasic : typeof s3Core . FineUploaderBasic ;
3232
+ export type S3ChunkingOptions = s3Core . S3ChunkingOptions ;
3233
+ export type S3CredentialsOptions = s3Core . S3CredentialsOptions ;
3234
+ export type S3CorsOptions = s3Core . S3CorsOptions ;
3235
+ export type S3iFrameSupportOptions = s3Core . S3iFrameSupportOptions ;
3236
+ export type BucketFunction = s3Core . BucketFunction ;
3237
+ export type HostFunction = s3Core . HostFunction ;
3238
+ export type KeyFunction = s3Core . KeyFunction ;
3239
+ export type S3ObjectPropertyOptions = s3Core . S3ObjectPropertyOptions ;
3240
+ export type S3RequestOptions = s3Core . S3RequestOptions ;
3241
+ export type S3CustomHeaderFunction = s3Core . S3CustomHeaderFunction ;
3242
+ export type S3SignatureOptions = s3Core . S3SignatureOptions ;
3243
+ export type S3UploadSuccessOptions = s3Core . S3UploadSuccessOptions ;
3244
+ export type S3CoreOptions = s3Core . S3CoreOptions ;
3245
+ export type S3FailedUploadTextDisplayOptions = s3Core . S3FailedUploadTextDisplayOptions ;
3246
+ export type OnCredentialsExpired = s3Core . OnCredentialsExpired ;
3247
+ export type S3Events = s3Core . S3Events ;
3248
+ export type S3ResumableFileObject = s3Core . S3ResumableFileObject ;
3249
+
3250
+ }
3251
+
3252
+ }
3253
+
3254
+ declare module "fine-uploader/lib/core/s3" {
3255
+
3256
+ import {
3257
+ FineUploaderBasic as FineUploaderBasicCore ,
3258
+ ChunkingOptions ,
3259
+ CorsOptions ,
3260
+ RequestOptions ,
3261
+ CoreOptions ,
3262
+ ResumableFileObject ,
3263
+ CoreEvents ,
3264
+ PromiseOptions
3265
+ } from 'fine-uploader/lib/core' ;
3266
+
3267
+ export namespace s3 {
3268
+
3178
3269
export class FineUploaderBasic extends FineUploaderBasicCore {
3179
3270
3180
3271
constructor ( fineuploaderOptions ?: S3CoreOptions ) ;
@@ -3252,7 +3343,6 @@ declare module "fine-uploader/lib/s3" {
3252
3343
3253
3344
}
3254
3345
3255
-
3256
3346
/**
3257
3347
* S3CredentialsOptions
3258
3348
*/
@@ -3583,48 +3673,6 @@ declare module "fine-uploader/lib/s3" {
3583
3673
onCredentialsExpired ?: OnCredentialsExpired ;
3584
3674
}
3585
3675
3586
- /**
3587
- * S3UIOptions
3588
- */
3589
- export interface S3UIOptions extends UIOptions , S3CoreOptions {
3590
- /**
3591
- * failedUploadText options
3592
- */
3593
- failedUploadTextDisplay ?: S3FailedUploadTextDisplayOptions ;
3594
- /**
3595
- * chunking options
3596
- */
3597
- chunking ?: S3ChunkingOptions ;
3598
- /**
3599
- * cors options
3600
- */
3601
- cors ?: S3CorsOptions ;
3602
- /**
3603
- * request options
3604
- */
3605
- request ?: S3RequestOptions ;
3606
- /**
3607
- * deleteFile options
3608
- */
3609
- deleteFile ?: UIDeleteFileOptions ;
3610
- /**
3611
- * messages
3612
- */
3613
- messages ?: UIMessages ;
3614
- /**
3615
- * paste UI options
3616
- */
3617
- paste ?: UIPasteOptions ;
3618
- /**
3619
- * UI scaling options
3620
- */
3621
- scaling ?: UIScalingOptions ;
3622
- /**
3623
- * UI text options
3624
- */
3625
- text ?: UITextOptions ;
3626
- }
3627
-
3628
3676
/**
3629
3677
* Resumable file object type for S3
3630
3678
*/
@@ -3634,6 +3682,7 @@ declare module "fine-uploader/lib/s3" {
3634
3682
*/
3635
3683
key ?: string ;
3636
3684
}
3685
+
3637
3686
}
3638
3687
3639
- }
3688
+ }
0 commit comments