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