Explorar el Código

@uppy/core: add missing requiredMetaFields key in restrictions (#4819)

darthf1 hace 1 año
padre
commit
0b3f9bde2e
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      packages/@uppy/core/types/index.d.ts

+ 1 - 0
packages/@uppy/core/types/index.d.ts

@@ -154,6 +154,7 @@ export interface Restrictions {
   maxNumberOfFiles?: number | null
   minNumberOfFiles?: number | null
   allowedFileTypes?: string[] | null
+  requiredMetaFields?: string[]
 }
 
 export interface UppyOptions<