MCPcopy Create free account
hub / github.com/bytebase/bytebase / ensureUserFullName

Function ensureUserFullName

frontend/src/utils/v1/user.ts:4–7  ·  view source on GitHub ↗
(identifier: string)

Source from the content-addressed store, hash-verified

2import { ALL_USERS_USER_EMAIL } from "@/types";
3
4export const ensureUserFullName = (identifier: string) => {
5 const id = extractUserEmail(identifier);
6 return `${userNamePrefix}${id}`;
7};
8
9export const isUserIncludedInList = (
10 identifier: string,

Callers 4

createUserSliceFunction · 0.90
convertMemberToFullnameFunction · 0.90
getUserListInBindingFunction · 0.90
isUserIncludedInListFunction · 0.85

Calls 1

extractUserEmailFunction · 0.90

Tested by

no test coverage detected