EnvOptions
Options of defineEnv.
Options of defineEnv.
Import#
ts
import type { EnvOptions } from "@shadow-js/dusk/server";
Signature#
ts
interface EnvOptions {
/**
* The public prefixes of the app beyond `DUSK_PUBLIC_` (the same list as `env.public.prefixes` in `dusk.config.ts`). A
* name with one of them is public: it is in `parsed.public` unless it is secret. The typed `parsed.public` covers the
* `DUSK_PUBLIC_` names only; the others are read from the same object.
*/
readonly publicPrefixes?: readonly string[];
}
Members#
| Name | Type | Description |
|---|---|---|
publicPrefixes? |
readonly publicPrefixes?: readonly string[] |
The public prefixes of the app beyond DUSK_PUBLIC_ (the same list as env.public.prefixes in dusk.config.ts). A name with one of them is public: it is in parsed.public unless it is secret. The typed parsed.public covers the DUSK_PUBLIC_ names only; the others are read from the same object. |