The name of the environment
The data structure for this environment
The union of all resolution types for this environment
Type definition for the environment data structure.
The name of the environment
Array of resolution methods for this environment
Static
createInternal
Creates a new Environment with the specified name and data type.
The name of the environment
A new Environment with no resolutions
Adds a synchronous resolution method to the environment.
A new Environment with the added resolution
Adds an asynchronous resolution method to the environment.
A new Environment with the added resolution
Represents an environment with its name, data structure, and resolution methods.
Each environment can have multiple resolution methods (hardcoded, from-env, etc.) and maintains type safety for the environment data and resolution payloads.