Enhance company types management: updated schema to include display order and relationships, modified validation to use company type XID, and seeded initial company types data. Updated services to reflect new structure and ensure proper data handling.
This commit is contained in:
@@ -831,6 +831,12 @@ export class MinglarService {
|
||||
profileImage: true,
|
||||
},
|
||||
},
|
||||
companyTypes: {
|
||||
select: {
|
||||
id: true,
|
||||
companyTypeName: true,
|
||||
},
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
@@ -902,6 +908,12 @@ export class MinglarService {
|
||||
profileImage: true,
|
||||
},
|
||||
},
|
||||
companyTypes: {
|
||||
select: {
|
||||
id: true,
|
||||
companyTypeName: true,
|
||||
},
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
@@ -1435,6 +1447,12 @@ export class MinglarService {
|
||||
documentType: true,
|
||||
},
|
||||
},
|
||||
companyTypes: {
|
||||
select: {
|
||||
id: true,
|
||||
companyTypeName: true,
|
||||
},
|
||||
},
|
||||
user: {
|
||||
select: {
|
||||
id: true,
|
||||
|
||||
Reference in New Issue
Block a user