(id: string)
| 24 | // The mirror's account row as `ensureAccount` mints it: id only, profile |
| 25 | // columns unfilled until a WorkOS user payload arrives. |
| 26 | const bareAccount = (id: string) => ({ |
| 27 | id, |
| 28 | email: null, |
| 29 | firstName: null, |
| 30 | lastName: null, |
| 31 | avatarUrl: null, |
| 32 | workosUpdatedAt: null, |
| 33 | lastSignInAt: null, |
| 34 | createdAt, |
| 35 | }); |
| 36 | |
| 37 | // user_session belongs to BOTH orgs; the URL selects which one a request hits. |
| 38 | // Their membership in PENDING_ORG is only pending — an invite, not access. |
no outgoing calls
no test coverage detected