Files
psp_panel/src/app/modules/users/models/io.d.ts
T
ahasani 70f39de9d8 feat: add product management features and integrate role selection
- Added PRODUCTS_ROUTES to app routing.
- Removed roles.const.ts and related references to central-auth-roles.
- Updated login component to remove role selection logic.
- Integrated ToastService for success notifications in customer, inventory, product brand, product category, supplier, and user forms.
- Implemented product and category selection fields in product form.
- Created reusable select components for product brands and categories.
- Enhanced user form with password validation and role selection.
- Established roles service for fetching roles from the API.
2025-12-06 11:09:06 +03:30

18 lines
374 B
TypeScript

import { IRoleResponse } from '@/shared/catalog/roles';
export interface IUserRawResponse {
mobileNumber: string;
firstName: string;
lastName: string;
id: number;
role: IRoleResponse;
}
export interface IUserResponse extends IUserRawResponse {}
export interface IUserRequest {
firstName: string;
lastName: string;
mobileNumber: string;
roleId: number;
}