Home / Type/ PreferenceOptions Type — astro Architecture

PreferenceOptions Type — astro Architecture

Architecture documentation for the PreferenceOptions type/interface in index.ts from the astro codebase.

Entity Profile

Dependency Diagram

graph TD
  502b2624_5b6c_5a61_b2c8_27645c96fc10["PreferenceOptions"]
  942f8bed_424f_0805_6c0b_154ed0869816["index.ts"]
  502b2624_5b6c_5a61_b2c8_27645c96fc10 -->|defined in| 942f8bed_424f_0805_6c0b_154ed0869816
  style 502b2624_5b6c_5a61_b2c8_27645c96fc10 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/astro/src/preferences/index.ts lines 23–32

interface PreferenceOptions {
	location?: PreferenceLocation;
	/**
	 * If `true`, the server will be reloaded after setting the preference.
	 * If `false`, the server will not be reloaded after setting the preference.
	 *
	 * Defaults to `true`.
	 */
	reloadServer?: boolean;
}

Frequently Asked Questions

What is the PreferenceOptions type?
PreferenceOptions is a type/interface in the astro codebase, defined in packages/astro/src/preferences/index.ts.
Where is PreferenceOptions defined?
PreferenceOptions is defined in packages/astro/src/preferences/index.ts at line 23.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free