Documentation - v0.0.0
    Preparing search index...
    interface ApiConfig {
        config: {
            ccu: {
                apiUrl: string;
                forceDocker: boolean;
                newrelicDisable: boolean;
                webUrl: string;
            };
            celery: { alwaysEager: boolean };
            connect: { instanceId: string };
            django: {
                accountAllowRegistration: boolean;
                allowedHosts: string[];
                corsOriginWhitelist: string[];
                csrfCookieSecure: boolean;
                csrfTrustedOrigins: string[];
                emailBackend: string;
                secureSslRedirect: boolean;
                sessionCookieSecure: boolean;
                settingsModule: string;
            };
            elasticSearch: { host: string };
            langchain: { endpoint: string; project: string; tracingV2: boolean };
            newRelic: {
                configFile: string;
                environment?:
                    | "local"
                    | "development"
                    | "staging"
                    | "production"
                    | "production-au"
                    | "test";
            };
            phone: { checkTimezone: boolean };
            rag: {
                chatModel: string;
                documentEmbedModel: string;
                queryEmbedModel: string;
            };
            sentry: { traceExcludeUrls: string[] };
        };
        secrets: {
            aws?: {
                accessKeyId: string;
                defaultRegion: string;
                dynamoStage: string;
                secretAccessKey: string;
            };
            cloudfront?: { privateKey: string; publicKey: string };
            connectFirst?: { password: string };
            django?: {
                adminUrl: string;
                mandrill: { apiKey: string };
                secretKey: string;
            };
            ipstack?: { apiKey?: string };
            jwt?: { privateKey: string; publicKey: string };
            langchain?: { apiKey?: string };
            notifications?: {
                slack: {
                    chat: { webhookUrl?: string };
                    default: { webhookUrl?: string };
                };
            };
            postgres?: {
                dbname: string;
                host?: string;
                hostReplica?: string;
                password?: string;
                port?: string;
                user?: string;
            };
            redis?: { host: string; hostReplicas: string[] };
            saml?: { awsProvider: string; awsRole: string };
            stripe?: { apiKey: string };
            zendesk?: { apiKey: string };
        } & { [k: string]: unknown };
    }

    Hierarchy

    • TypeOf<typeof apiConfigSchema>
      • ApiConfig
    Index

    Properties

    Properties

    config: {
        ccu: {
            apiUrl: string;
            forceDocker: boolean;
            newrelicDisable: boolean;
            webUrl: string;
        };
        celery: { alwaysEager: boolean };
        connect: { instanceId: string };
        django: {
            accountAllowRegistration: boolean;
            allowedHosts: string[];
            corsOriginWhitelist: string[];
            csrfCookieSecure: boolean;
            csrfTrustedOrigins: string[];
            emailBackend: string;
            secureSslRedirect: boolean;
            sessionCookieSecure: boolean;
            settingsModule: string;
        };
        elasticSearch: { host: string };
        langchain: { endpoint: string; project: string; tracingV2: boolean };
        newRelic: {
            configFile: string;
            environment?:
                | "local"
                | "development"
                | "staging"
                | "production"
                | "production-au"
                | "test";
        };
        phone: { checkTimezone: boolean };
        rag: {
            chatModel: string;
            documentEmbedModel: string;
            queryEmbedModel: string;
        };
        sentry: { traceExcludeUrls: string[] };
    } = ...
    secrets: {
        aws?: {
            accessKeyId: string;
            defaultRegion: string;
            dynamoStage: string;
            secretAccessKey: string;
        };
        cloudfront?: { privateKey: string; publicKey: string };
        connectFirst?: { password: string };
        django?: {
            adminUrl: string;
            mandrill: { apiKey: string };
            secretKey: string;
        };
        ipstack?: { apiKey?: string };
        jwt?: { privateKey: string; publicKey: string };
        langchain?: { apiKey?: string };
        notifications?: {
            slack: {
                chat: { webhookUrl?: string };
                default: { webhookUrl?: string };
            };
        };
        postgres?: {
            dbname: string;
            host?: string;
            hostReplica?: string;
            password?: string;
            port?: string;
            user?: string;
        };
        redis?: { host: string; hostReplicas: string[] };
        saml?: { awsProvider: string; awsRole: string };
        stripe?: { apiKey: string };
        zendesk?: { apiKey: string };
    } & { [k: string]: unknown } = ...