瀏覽代碼

transloadit: add auth.expires type, fixes #2454 (#2457)

Renée Kooi 4 年之前
父節點
當前提交
3cd5791f0d
共有 1 個文件被更改,包括 4 次插入1 次删除
  1. 4 1
      packages/@uppy/transloadit/types/index.d.ts

+ 4 - 1
packages/@uppy/transloadit/types/index.d.ts

@@ -3,7 +3,10 @@ import TransloaditLocale = require('./generatedLocale')
 
 declare module Transloadit {
   interface AssemblyParameters {
-    auth: { key: string }
+    auth: {
+      key: string,
+      expires?: string
+    }
     template_id?: string
     steps?: { [step: string]: object }
     notify_url?: string