Преглед изворни кода

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