()
| 2 | * Generate a unique ID (cuid-like) |
| 3 | */ |
| 4 | export function createId(): string { |
| 5 | const timestamp = Date.now().toString(36) |
| 6 | const randomPart = Math.random().toString(36).substring(2, 10) |
| 7 | return `${timestamp}${randomPart}` |
| 8 | } |
no outgoing calls
no test coverage detected