lib-common-angular 0.0.1
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.
- package/README.md +0 -0
- package/assets/i18n/de.json +45 -0
- package/assets/i18n/en.json +47 -0
- package/assets/i18n/es.json +49 -0
- package/assets/i18n/pt.json +44 -0
- package/assets/imagenes/bannerInflables.png +0 -0
- package/assets/state/business.state.ts +66 -0
- package/assets/state/categorias-productos.state.ts +76 -0
- package/assets/state/currency.state.ts +55 -0
- package/assets/state/productos.state.ts +157 -0
- package/assets/state/state-generic/generic-crud.actions.ts +39 -0
- package/assets/state/state-generic/generic-crud.state.ts +83 -0
- package/assets/state/usuarios.actions.ts +11 -0
- package/fesm2022/lib-common-angular.mjs +9409 -0
- package/fesm2022/lib-common-angular.mjs.map +1 -0
- package/index.d.ts +1866 -0
- package/package.json +24 -0
- package/styles/global-styles.scss +21 -0
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { DatesUserDTO } from '@juliaosistem/core-dtos';
|
|
2
|
+
import { createGenericCrudActions } from './state-generic/generic-crud.actions';
|
|
3
|
+
|
|
4
|
+
// Crear todas las acciones CRUD para usuarios
|
|
5
|
+
const userActions = createGenericCrudActions< DatesUserDTO>('usuarios');
|
|
6
|
+
|
|
7
|
+
export const getUsers = userActions.All;
|
|
8
|
+
export const AddUser = userActions.Add;
|
|
9
|
+
export const UpdateUser = userActions.Update;
|
|
10
|
+
export const DeleteUser = userActions.Delete;
|
|
11
|
+
|