(orgId: string)
| 748 | }, |
| 749 | |
| 750 | getUsersByOrg(orgId: string): User[] { |
| 751 | const rows = tenantStmts.getUsersByOrg.all(orgId) as Record<string, unknown>[]; |
| 752 | return rows.map(rowToUser); |
| 753 | }, |
| 754 | |
| 755 | // API Keys |
| 756 | createApiKey(userId: string, name: string, expiresAt?: string): { apiKey: ApiKey; rawKey: string } { |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…