Skip to content

@jsvision/core / ResolveOptions

Interface: ResolveOptions ​

Defined in: capability/profile.ts:128

Options for the capability resolvers; every input is injectable.

Properties ​

env? ​

readonly optional env?: ProcessEnv

Defined in: capability/profile.ts:132

Environment to read from; defaults to process.env.


override? ​

readonly optional override?: DeepPartial<CapabilityProfile>

Defined in: capability/profile.ts:130

Force any subset of fields, bypassing detection (deep-merged over the result).


platform? ​

readonly optional platform?: Platform

Defined in: capability/profile.ts:134

Platform to assume; defaults to process.platform.


query? ​

readonly optional query?: TerminalQuery

Defined in: capability/profile.ts:136

Live-query seam for runtime probing; when absent, the live probe is skipped.


refresh? ​

readonly optional refresh?: boolean

Defined in: capability/profile.ts:140

Force re-detection, ignoring the per-process cache.


timeoutMs? ​

readonly optional timeoutMs?: number

Defined in: capability/profile.ts:138

Live-query timeout in milliseconds (default 200).