* Refactor backend folder structure Co-authored-by: Charles Bochet <charles@twenty.com> * fix tests * fix * move yoga hooks --------- Co-authored-by: Charles Bochet <charles@twenty.com>
6 lines
170 B
TypeScript
6 lines
170 B
TypeScript
export const customNamePrefix = '_';
|
|
|
|
export const computeCustomName = (name: string, isCustom: boolean) => {
|
|
return isCustom ? `${customNamePrefix}${name}` : name;
|
|
};
|