@arolariu/website / types / TypedDevelopmentEnvironmentVariablesType
Type Alias: TypedDevelopmentEnvironmentVariablesType
TypedDevelopmentEnvironmentVariablesType =
TypedEnvironment<"development","production">
Defined in: types/typedEnv.ts:368
Type alias for development environment variables.
Remarks
Convenience type that sets site environment to development while keeping API at production.
Equivalent to TypedEnvironment<"development", "production">.
Design Rationale: Development frontend uses production API to simplify infrastructure and ensure consistent backend behavior across environments.
Inferred Values:
SITE_NAME:"dev.arolariu.ro"SITE_URL:"https://dev.arolariu.ro"API_URL:"https://api.arolariu.ro"(same as production)
Usage Context: Used in local development and staging deployments.
Example
const devVars: TypedDevelopmentEnvironmentVariablesType = {
SITE_ENV: "DEVELOPMENT",
SITE_NAME: "dev.arolariu.ro",
SITE_URL: "https://dev.arolariu.ro",
API_ENV: "PRODUCTION", // Shares prod API
// ... other required variables
};