(importId: string, domain: string = DEFAULT_DOMAIN)
| 98 | * @returns The full URL to open in the browser |
| 99 | */ |
| 100 | export function buildLaunchUrl(importId: string, domain: string = DEFAULT_DOMAIN): string { |
| 101 | const params = new URLSearchParams({ importId }) |
| 102 | return `https://${domain}/launch?${params.toString()}` |
| 103 | } |
| 104 | |
| 105 | /** |
| 106 | * Validates a file can be uploaded to Deepnote. |
no outgoing calls
no test coverage detected