feat: Introduce default profile sections and fields, updating schema with isSystem and isSearchableOnly properties.
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user