Mercurial
view benchmark/bun-http-framework-benchmark/dev/adonis/env.ts @ 263:ee04e4e69fed
Add functional JRPG frame and tools
Add full-screen background_2 apertures, functional frame chrome, card-driven details, dual-window tools, live conversion workflows, and bounded cleanup for generated downloads.
Co-authored-by: Copilot <[email protected]>
| author | MrJuneJune <mrjunejune@users.noreply.github.com> |
|---|---|
| date | Thu, 06 Aug 2026 11:31:30 -0700 |
| parents | a8976a008a9d |
| children |
line wrap: on
line source
/* |-------------------------------------------------------------------------- | Validating Environment Variables |-------------------------------------------------------------------------- | | In this file we define the rules for validating environment variables. | By performing validation we ensure that your application is running in | a stable environment with correct configuration values. | | This file is read automatically by the framework during the boot lifecycle | and hence do not rename or move this file to a different location. | */ import Env from '@ioc:Adonis/Core/Env' export default Env.rules({ HOST: Env.schema.string({ format: 'host' }), PORT: Env.schema.number(), APP_KEY: Env.schema.string(), APP_NAME: Env.schema.string(), DRIVE_DISK: Env.schema.enum(['local'] as const), NODE_ENV: Env.schema.enum(['development', 'production', 'test'] as const), })