feat: Add isSystem property to profile sections and isSearchableOnly to profile fields, including UI updates for display and management.

This commit is contained in:
pradeepkumar
2026-01-24 12:49:34 +05:30
parent 909c22dc45
commit 758a84b20e
4 changed files with 73 additions and 18 deletions

View File

@@ -67,6 +67,7 @@ export interface ProfileField {
sortOrder: number;
isActive: boolean;
isRequired: boolean;
isSearchableOnly: boolean;
validation: FieldValidation | null;
options: FieldOption[] | null;
rangeConfig: RangeConfig | null;
@@ -90,6 +91,7 @@ export interface CreateFieldDto {
sortOrder?: number;
isActive?: boolean;
isRequired?: boolean;
isSearchableOnly?: boolean;
validation?: FieldValidation;
options?: FieldOption[];
rangeConfig?: RangeConfig;
@@ -105,6 +107,7 @@ export interface UpdateFieldDto {
sortOrder?: number;
isActive?: boolean;
isRequired?: boolean;
isSearchableOnly?: boolean;
validation?: FieldValidation;
options?: FieldOption[];
rangeConfig?: RangeConfig;

View File

@@ -11,6 +11,7 @@ export interface ProfileSection {
sortOrder: number;
isActive: boolean;
isGlobal: boolean;
isSystem: boolean;
createdAt: string;
updatedAt: string;
fields?: ProfileField[];