feat: add Real Estate Agency & Designation field group and update subsequent sort orders in seed script
This commit is contained in:
@@ -197,12 +197,44 @@ async function main() {
|
|||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
name: 'Real Estate Agency & Designation',
|
||||||
|
slug: 'agency-designation',
|
||||||
|
description: 'Real estate agency affiliation and designation',
|
||||||
|
icon: 'briefcase',
|
||||||
|
sortOrder: 4,
|
||||||
|
isActive: true,
|
||||||
|
isGlobal: true,
|
||||||
|
isSystem: true,
|
||||||
|
fields: [
|
||||||
|
{
|
||||||
|
name: 'Real Estate Agency Name',
|
||||||
|
slug: 'agency_name',
|
||||||
|
fieldType: FieldType.TEXT,
|
||||||
|
description: 'Name of the real estate agency you are affiliated with',
|
||||||
|
placeholder: 'Enter agency name',
|
||||||
|
sortOrder: 1,
|
||||||
|
isActive: true,
|
||||||
|
isRequired: false,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'Designation',
|
||||||
|
slug: 'agency_designation',
|
||||||
|
fieldType: FieldType.TEXT,
|
||||||
|
description: 'Your designation within the agency',
|
||||||
|
placeholder: 'Enter designation',
|
||||||
|
sortOrder: 2,
|
||||||
|
isActive: true,
|
||||||
|
isRequired: false,
|
||||||
|
}
|
||||||
|
],
|
||||||
|
},
|
||||||
{
|
{
|
||||||
name: 'Upload Documents',
|
name: 'Upload Documents',
|
||||||
slug: 'upload-documents',
|
slug: 'upload-documents',
|
||||||
description: 'Upload licensing credentials and verification documents',
|
description: 'Upload licensing credentials and verification documents',
|
||||||
icon: 'document',
|
icon: 'document',
|
||||||
sortOrder: 4,
|
sortOrder: 5,
|
||||||
isActive: true,
|
isActive: true,
|
||||||
isGlobal: true,
|
isGlobal: true,
|
||||||
isSystem: true,
|
isSystem: true,
|
||||||
@@ -236,7 +268,7 @@ async function main() {
|
|||||||
slug: 'certification',
|
slug: 'certification',
|
||||||
description: 'Professional certifications and credentials',
|
description: 'Professional certifications and credentials',
|
||||||
icon: 'star',
|
icon: 'star',
|
||||||
sortOrder: 5,
|
sortOrder: 6,
|
||||||
isActive: true,
|
isActive: true,
|
||||||
isGlobal: true,
|
isGlobal: true,
|
||||||
isSystem: true,
|
isSystem: true,
|
||||||
@@ -314,7 +346,7 @@ async function main() {
|
|||||||
slug: 'demographic',
|
slug: 'demographic',
|
||||||
description: 'Demographic and contact information',
|
description: 'Demographic and contact information',
|
||||||
icon: 'user',
|
icon: 'user',
|
||||||
sortOrder: 6,
|
sortOrder: 7,
|
||||||
isActive: true,
|
isActive: true,
|
||||||
isGlobal: true,
|
isGlobal: true,
|
||||||
isSystem: true,
|
isSystem: true,
|
||||||
@@ -576,7 +608,7 @@ async function main() {
|
|||||||
slug: 'expertise',
|
slug: 'expertise',
|
||||||
description: 'Areas of expertise and specialization',
|
description: 'Areas of expertise and specialization',
|
||||||
icon: 'star',
|
icon: 'star',
|
||||||
sortOrder: 7,
|
sortOrder: 8,
|
||||||
isActive: true,
|
isActive: true,
|
||||||
isGlobal: true,
|
isGlobal: true,
|
||||||
isSystem: true,
|
isSystem: true,
|
||||||
|
|||||||
Reference in New Issue
Block a user