File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -518,7 +518,7 @@ export interface HandleUploadOptions {
518518 * @param clientPayload - A string payload specified on the client when calling upload()
519519 * @param multipart - A boolean specifying whether the file is a multipart upload
520520 *
521- * @returns An object with configuration options for the client token including the optional callbackUrl
521+ * @returns An object with configuration options for the client token including optional callbackUrl and pathname overrides
522522 */
523523 onBeforeGenerateToken : (
524524 pathname : string ,
@@ -534,6 +534,7 @@ export interface HandleUploadOptions {
534534 | 'allowOverwrite'
535535 | 'cacheControlMaxAge'
536536 | 'ifMatch'
537+ | 'pathname'
537538 > & { tokenPayload ?: string | null ; callbackUrl ?: string }
538539 > ;
539540
You can’t perform that action at this time.
0 commit comments