(role: string | null | undefined)
| 75 | }); |
| 76 | |
| 77 | const parseRoles = (role: string | null | undefined): ReadonlyArray<string> => |
| 78 | (role ?? "user") |
| 79 | .split(",") |
| 80 | .map((r) => r.trim()) |
| 81 | .filter((r) => r.length > 0); |
| 82 | |
| 83 | type BetterAuthSession = NonNullable< |
| 84 | Awaited<ReturnType<BetterAuthHandle["auth"]["api"]["getSession"]>> |
no outgoing calls
no test coverage detected