import { Env } from '@adonisjs/core/env';
import app from '@adonisjs/core/services/app';
export const schema = {
    NODE_ENV: Env.schema.enum(['development', 'production', 'test']),
    HOST: Env.schema.string({ format: 'host' }),
    PORT: Env.schema.number(),
    APP_KEY: Env.schema.string(),
    APP_URL: Env.schema.string({ format: 'url', tld: app.inProduction }),
    API_URL: Env.schema.string({ format: 'url', tld: app.inProduction }),
    LOG_LEVEL: Env.schema.enum(['fatal', 'error', 'warn', 'info', 'debug', 'trace']),
    DB_HOST: Env.schema.string({ format: 'host' }),
    DB_NAME: Env.schema.string(),
    DB_API_USER: Env.schema.string(),
    DB_API_PASSWORD: Env.schema.string(),
    SMTP_HOST: Env.schema.string(),
    SMTP_PORT: Env.schema.number(),
    SMTP_USERNAME: Env.schema.string(),
    SMTP_PASSWORD: Env.schema.string(),
    EMAIL_ADDRESS: Env.schema.string({ format: 'email' }),
    EMAIL_NAME: Env.schema.string(),
    DRIVE_S3_ACCESS_KEY_ID: Env.schema.string(),
    DRIVE_S3_SECRET_ACCESS_KEY: Env.schema.string(),
    DRIVE_S3_REGION: Env.schema.string(),
    DRIVE_S3_BUCKET: Env.schema.string(),
    DRIVE_S3_ENDPOINT: Env.schema.string({ format: 'url' }),
    INSEE_SIRET_API_KEY: Env.schema.string(),
    GOOGLE_CLOUD_KEY: Env.schema.string(),
    DRHTTP_DSN: Env.schema.string.optional({ format: 'url' }),
    SENTRY_DSN: Env.schema.string(),
    SENTRY_ENV: Env.schema.string(),
};
export default await Env.create(new URL('../', import.meta.url), schema);
//# sourceMappingURL=env.js.map