feat: Introduce default profile sections and fields, updating schema with isSystem and isSearchableOnly properties.

This commit is contained in:
pradeepkumar
2026-01-24 12:49:25 +05:30
parent 710803a3ec
commit 43b422a81e
4 changed files with 145 additions and 2 deletions

View File

@@ -89,6 +89,11 @@ export class CreateFieldDto {
@IsBoolean()
isRequired?: boolean;
@ApiPropertyOptional({ description: 'Whether this field is for search only (hidden from public profile)', default: false })
@IsOptional()
@IsBoolean()
isSearchableOnly?: boolean;
@ApiPropertyOptional({ description: 'Validation rules (JSON object)' })
@IsOptional()
@IsObject()