chore(attributes): 🔧 Add/update default attribute validation rules and metadata schema
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
This commit is contained in:
parent
2e10a2b380
commit
2217cea0ad
1 changed files with 4 additions and 3 deletions
|
|
@ -317,8 +317,9 @@ export const MOCK_ATTRIBUTE_DEFINITIONS: AttributeDefinition[] = [
|
|||
{
|
||||
id: 'attr-def-11',
|
||||
code: 'advance_notice_hours',
|
||||
name: 'Advance Notice Required',
|
||||
description: 'Minimum hours advance notice for bookings',
|
||||
name: 'Advance Notice (hours)',
|
||||
description: 'Preferred minimum hours of advance notice for bookings',
|
||||
helpText: 'How many hours ahead clients should ideally book',
|
||||
entityType: EntityType.USER,
|
||||
dataType: AttributeDataType.INTEGER,
|
||||
isRequired: false,
|
||||
|
|
@ -326,7 +327,7 @@ export const MOCK_ATTRIBUTE_DEFINITIONS: AttributeDefinition[] = [
|
|||
isSearchable: false,
|
||||
isMultiple: false,
|
||||
minValue: 0,
|
||||
maxValue: 168,
|
||||
maxValue: 72,
|
||||
displayOrder: 20,
|
||||
layoutHint: 'half',
|
||||
metaCategory: MetaCategory.AVAILABILITY,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue