( userId: string, name: string, expiresAt?: string )
| 135 | |
| 136 | // API Keys |
| 137 | export function createApiKey( |
| 138 | userId: string, |
| 139 | name: string, |
| 140 | expiresAt?: string |
| 141 | ): { apiKey: ApiKey; rawKey: string } { |
| 142 | return getTenantStore().createApiKey(userId, name, expiresAt); |
| 143 | } |
| 144 | |
| 145 | export function getApiKeyByHash(hash: string): ApiKey | undefined { |
| 146 | return getTenantStore().getApiKeyByHash(hash); |
nothing calls this directly
no test coverage detected
searching dependent graphs…