multi-party-computation-controller-api
    Preparing search index...
    • Validates and coerces the raw process environment against AppConfigSchema. Called by NestJS ConfigModule.forRoot({ validate }) at application startup.

      Parameters

      • env: Record<string, unknown>

        Raw key/value map from process.env.

      Returns {
          CLIENT_BEARER_TOKEN: string;
          CRYPTOGRAPHIC_ENGINE_BEARER_TOKEN: string;
          CRYPTOGRAPHIC_ENGINE_HOST: string;
          CRYPTOGRAPHIC_ENGINE_PORT: number;
          LOG_DIRECTORY: string;
          NODE_ENV?: PRODUCTION | DEVELOPMENT | TEST;
          PORT: number;
          REDIS_HOST: string;
          REDIS_PORT: number;
      }

      The validated and type-coerced application configuration.

      If validation fails; the error message lists all invalid fields.