| 22 | // default org without ever calling subdomain extraction. |
| 23 | |
| 24 | interface InstanceInfo { |
| 25 | multi_org_enabled: boolean |
| 26 | default_org_slug: string |
| 27 | mode: 'saas' | 'oss' | 'ee' |
| 28 | tenancy: 'multi' | 'single' |
| 29 | frontend_domain: string |
| 30 | top_domain: string |
| 31 | } |
| 32 | |
| 33 | // Cached instance info from backend (30-second TTL) |
| 34 | let _instanceCache: { data: InstanceInfo; ts: number } | null = null |
nothing calls this directly
no outgoing calls
no test coverage detected