mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-29 19:58:11 +00:00
- Updated CompanyInfoResponseDto to include company profile data in response. - Enhanced ResponseExternalProfileDto to include active profile type and onboarding details. - Added new fields to ExternalProfile entity for active profile type and onboarding status. - Implemented onboarding wizard dialog in the frontend to guide users through the onboarding process. - Introduced API endpoints for managing company profiles and onboarding steps. - Created migrations to add new columns for active mode and onboarding status in the database. - Added functionality to switch between operational modes (importer/exporter) and create profiles as needed. - Improved user experience by ensuring onboarding is enforced for new users and those without completed profiles.
8 lines
188 B
TypeScript
8 lines
188 B
TypeScript
import { IsEnum } from 'class-validator';
|
|
import { ProfileType } from '../entities/company-profile.entity';
|
|
|
|
export class SetActiveModeDto {
|
|
@IsEnum(ProfileType)
|
|
type!: ProfileType;
|
|
}
|