(refresh: string)
| 1011 | } |
| 1012 | |
| 1013 | function parseRefreshParts(refresh: string): { |
| 1014 | refreshToken: string |
| 1015 | projectId?: string |
| 1016 | managedProjectId?: string |
| 1017 | } { |
| 1018 | const [refreshToken = "", projectId = "", managedProjectId = ""] = (refresh ?? "").split("|") |
| 1019 | return { |
| 1020 | refreshToken, |
| 1021 | projectId: projectId || undefined, |
| 1022 | managedProjectId: managedProjectId || undefined, |
| 1023 | } |
| 1024 | } |
| 1025 | |
| 1026 | function formatRefreshParts(parts: { |
| 1027 | refreshToken: string |
no outgoing calls
no test coverage detected