- 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
6 lines
193 B
TypeScript
6 lines
193 B
TypeScript
export const customNamePrefix = '_';
|
|
|
|
export const computeTableName = (nameSingular: string, isCustom: boolean) => {
|
|
return isCustom ? `${customNamePrefix}${nameSingular}` : nameSingular;
|
|
};
|