Skip to content

Conversation

kpetrov24exoft
Copy link
Contributor

No description provided.

@kpetrov24exoft kpetrov24exoft self-assigned this Mar 3, 2025
@@ -0,0 +1,13 @@
import { User } from '@core/services/user/user.entity';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

type UserUS = {
full_name: string;
given_name: string;
};

type UserFormatted = {
fullName: string;
givenName: string;
};

function toUserUS(userUS: UserUS): UserFormatted {
return {
fullName: userUS.full_name,
givenName: userUS.given_name,
};
}

@kpetrov24exoft kpetrov24exoft merged commit 59359df into main Mar 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants