Skip to content

EngineAppInfo

Namespace: E2E.Engine

public record EngineAppInfo : IEquatable<EngineAppInfo>

The app the harness resolved from the target’s declaration, as an engine’s doctor hook reads it: the origin and site policy, and what a device launches. The URL itself stays with the harness. Upstream’s EngineAppInfo, with the members the port’s config declares.

Inheritance: object

Implements: IEquatable<EngineAppInfo>

Derived: EngineAppDeclaration

View source

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public bool AllPermissions { get; init; }

Whether the app holds app.permissions: 'all' (upstream’s EngineAppInfo.allPermissions, present only as true).

Value: bool

public string? AppPath { get; init; }

The build to install, as the target declared it; relative to ProjectRoot.

Value: string

public string? BundleId { get; init; }

The installed app to launch, as the target declared it.

Value: string

public IReadOnlyDictionary<string, LaunchArgumentValue>? LaunchArgumentValues { get; init; }

Arguments every fresh launch passes the app, when the target declared them as an object of argument name to value; see LaunchArgumentValues.

Value: IReadOnlyDictionary<string, LaunchArgumentValue>

public IReadOnlyList<string>? LaunchArguments { get; init; }

Arguments every fresh launch passes the app, when the target declared them as a list of strings.

Value: IReadOnlyList<string>

public string? Origin { get; init; }

The origin of the app’s URL on the run’s port (scheme://host:port, as URL.origin serializes it): where credentials an engine injects into requests (headers, basic auth) go by default. Null for an app without a URL, and for a free port the run has not assigned (e2e doctor).

Value: string

public IReadOnlyDictionary<string, AppPermissionState>? Permissions { get; init; }

Permissions the app holds, by name; what each state means is the engine’s.

Value: IReadOnlyDictionary<string, AppPermissionState>

public string? Site { get; init; }

The site of the app’s URL, its registrable domain. Null for an app without a URL, which is no policy at all.

Value: string