()
| 327 | * Creates test API key data. |
| 328 | */ |
| 329 | export function createLegacyApiKey(): { key: string; prefix: string } { |
| 330 | const random = shortId(24) |
| 331 | return { |
| 332 | key: `sim_${random}`, |
| 333 | prefix: 'sim_', |
| 334 | } |
| 335 | } |
| 336 | |
| 337 | /** |
| 338 | * Creates test encrypted format API key data. |