upconta.frontend-utils 3.0.13 → 3.0.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -29,4 +29,20 @@ export declare const AttachmentsUpload: FC<{
|
|
|
29
29
|
* @default 5242880 (5MB)
|
|
30
30
|
*/
|
|
31
31
|
maxSize?: number;
|
|
32
|
+
/**
|
|
33
|
+
* Permisos explícitos por acción. Si no se pasa, se usa el permiso de
|
|
34
|
+
* escritura del módulo actual (comportamiento por defecto).
|
|
35
|
+
*/
|
|
36
|
+
permisos?: {
|
|
37
|
+
/**
|
|
38
|
+
* Permite ver la lista y cargar archivos.
|
|
39
|
+
* Por defecto hereda el permiso de escritura del módulo.
|
|
40
|
+
*/
|
|
41
|
+
escribir?: boolean;
|
|
42
|
+
/**
|
|
43
|
+
* Permite eliminar archivos.
|
|
44
|
+
* Por defecto hereda el valor de escribir.
|
|
45
|
+
*/
|
|
46
|
+
eliminar?: boolean;
|
|
47
|
+
};
|
|
32
48
|
}>;
|