(userId: string, name: string, expiresAt?: string)
| 581 | |
| 582 | // API Keys |
| 583 | createApiKey(userId: string, name: string, expiresAt?: string): { apiKey: ApiKey; rawKey: string }; |
| 584 | getApiKeyByHash(hash: string): ApiKey | undefined; |
| 585 | listApiKeys(userId: string): ApiKey[]; |
| 586 | deleteApiKey(id: string): boolean; |