Added all field types on pet custom object (#9248)

- Added all usable composite field types on pet custom object
- Fixed missing createdBy on people and company seeds
- DEFAULT_SUBDOMAIN is now used for login (could be improved for multi
workspace)
- Refactored ObjectMetadataStandardIdToIdMap to disambiguate from
ObjectMetadataMap
- Refactored seedCustomObjects
This commit is contained in:
Lucas Bordeau
2024-12-27 15:01:09 +01:00
committed by GitHub
parent 58c92e036b
commit a8bb3e6bdf
27 changed files with 742 additions and 5428 deletions

View File

@ -1,5 +1,5 @@
export const customNamePrefix = '_';
export const computeTableName = (name: string, isCustom: boolean) => {
return isCustom ? `${customNamePrefix}${name}` : name;
export const computeTableName = (nameSingular: string, isCustom: boolean) => {
return isCustom ? `${customNamePrefix}${nameSingular}` : nameSingular;
};