@cm-sigoo-temp/ui 0.2.41 → 0.2.43
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.
|
@@ -2,6 +2,7 @@ import { TPermisosResponse } from '../tipos';
|
|
|
2
2
|
export type EnvPermisos = 'dev' | 'test' | 'prod';
|
|
3
3
|
/**
|
|
4
4
|
* Obtiene permisos del usuario para la plataforma.
|
|
5
|
+
* El consumidor solo envía el ambiente (dev/test/prod). La config se lee del .env de la librería al hacer build.
|
|
5
6
|
* Si no se recibe ambiente, se usa 'dev' por defecto.
|
|
6
7
|
*/
|
|
7
8
|
export declare const obtenerPermisos: (usuario: string, plataforma: string, env?: EnvPermisos) => Promise<TPermisosResponse>;
|