@accounter/server
Version:
Accounter GraphQL server
55 lines (54 loc) • 1.79 kB
TypeScript
import { InjectionToken } from 'graphql-modules';
import type { RawAuth } from '../plugins/auth-plugin.js';
export declare const ENVIRONMENT: InjectionToken<{
readonly postgres: {
readonly host: string;
readonly port: number;
readonly db: string;
readonly user: string;
readonly password: string;
readonly ssl: boolean;
readonly max: number;
};
readonly cloudinary: {
name: string;
apiKey: string;
apiSecret: string;
} | undefined;
readonly hive: {
hiveToken: string;
} | undefined;
readonly googleDrive: {
driveApiKey: string;
} | undefined;
readonly credentialsEncryptionKey: string;
readonly auth0: {
domain: string;
audience: string;
clientId: string;
clientSecret: string;
managementAudience: string;
} | undefined;
readonly general: {
readonly frontendUrl: string | undefined;
};
readonly otel: {
readonly enabled: boolean;
readonly serviceName: string;
readonly serviceNamespace: string;
readonly deploymentEnv: string;
readonly exporterEndpoint: string | undefined;
readonly exporterHeaders: string | undefined;
readonly tracesSampler: "parentbased_traceidratio" | "always_on" | "always_off" | "traceidratio" | "parentbased_always_on" | "parentbased_always_off";
readonly tracesSamplerArg: number | undefined;
readonly startupStrict: boolean;
};
readonly emailIngestion: {
readonly v2Enabled: boolean;
readonly shadowMode: boolean;
};
readonly gatewayControlPlane: {
readonly token: string | undefined;
};
}>;
export declare const RAW_AUTH: InjectionToken<RawAuth>;