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

Function extractUserEmail

frontend/src/store/modules/v1/common.ts:200–203  ·  view source on GitHub ↗
(identifier: string)

Source from the content-addressed store, hash-verified

198};
199
200export const extractUserEmail = (identifier: string) => {
201 const matches = identifier.match(/^(?:user:|users\/)(.+)$/);
202 return matches?.[1] ?? identifier;
203};
204
205export const extractServiceAccountId = (identifier: string) => {
206 const matches = identifier.match(

Callers 15

useColumnDefsFunction · 0.90
WatermarkFunction · 0.90
resolveLabelFunction · 0.90
canEditIssueCommentFunction · 0.90
createUserSliceFunction · 0.90
AccessGrantRowFunction · 0.90
ExemptionDetailPanelFunction · 0.90
IssueDetailChecksFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected