Prechádzať zdrojové kódy

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

Renée Kooi 4 rokov pred
rodič
commit
3cd5791f0d

+ 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