| 2 | export type EeTenancy = 'single' | 'agency' |
| 3 | |
| 4 | export interface SetupConfig { |
| 5 | // Deployment |
| 6 | deploymentId: string |
| 7 | installDir: string |
| 8 | channel: 'stable' | 'dev' |
| 9 | |
| 10 | // Edition (Community is the default; Enterprise unlocks the licensed stack) |
| 11 | edition?: Edition |
| 12 | // Enterprise-only: |
| 13 | licenseKey?: string |
| 14 | eeTenancy?: EeTenancy |
| 15 | eeImageTag?: string |
| 16 | eeLocalTls?: boolean |
| 17 | acmeEmail?: string |
| 18 | // External database (skip the in-container Postgres) |
| 19 | externalDbUrl?: string |
| 20 | // Cloudflare DNS-01 (for wildcard certs on *.domain) + IPv6 compose network |
| 21 | dnsProvider?: 'cloudflare' |
| 22 | cfApiToken?: string |
| 23 | dockerIpv6?: boolean |
| 24 | |
| 25 | // Domain & SSL |
| 26 | domain: string |
| 27 | useHttps: boolean |
| 28 | httpPort: number |
| 29 | autoSsl: boolean |
| 30 | sslEmail?: string |
| 31 | |
| 32 | // Database |
| 33 | useExternalDb: boolean |
| 34 | externalDbConnectionString?: string |
| 35 | dbPassword?: string |
| 36 | useAiDatabase: boolean |
| 37 | |
| 38 | // Redis |
| 39 | useExternalRedis: boolean |
| 40 | externalRedisConnectionString?: string |
| 41 | |
| 42 | // Organization |
| 43 | orgName: string |
| 44 | orgSlug: string |
| 45 | |
| 46 | // Admin |
| 47 | adminEmail: string |
| 48 | adminPassword: string |
| 49 | |
| 50 | // Optional Features |
| 51 | aiEnabled: boolean |
| 52 | geminiApiKey?: string |
| 53 | emailEnabled: boolean |
| 54 | emailProvider?: 'resend' | 'smtp' |
| 55 | resendApiKey?: string |
| 56 | smtpHost?: string |
| 57 | smtpPort?: number |
| 58 | smtpUsername?: string |
| 59 | smtpPassword?: string |
| 60 | smtpUseTls?: boolean |
| 61 | systemEmailAddress?: string |
nothing calls this directly
no outgoing calls
no test coverage detected