SyncOptions Type — astro Architecture
Architecture documentation for the SyncOptions type/interface in index.ts from the astro codebase.
Entity Profile
Dependency Diagram
graph TD 7ff946d9_ba93_6dde_bc3c_62bb86f5e382["SyncOptions"] cd488d83_5ad0_f34a_227f_731e9945a152["index.ts"] 7ff946d9_ba93_6dde_bc3c_62bb86f5e382 -->|defined in| cd488d83_5ad0_f34a_227f_731e9945a152 style 7ff946d9_ba93_6dde_bc3c_62bb86f5e382 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/astro/src/core/sync/index.ts lines 37–54
type SyncOptions = {
mode: string;
/**
* @internal only used for testing
*/
fs?: typeof fsMod;
logger: Logger;
settings: AstroSettings;
force?: boolean;
skip?: {
// Must be skipped in dev
content?: boolean;
// Cleanup can be skipped in dev as some state can be reused on updates
cleanup?: boolean;
};
command: 'build' | 'dev' | 'sync';
watcher?: FSWatcher;
};
Defined In
Source
Frequently Asked Questions
What is the SyncOptions type?
SyncOptions is a type/interface in the astro codebase, defined in packages/astro/src/core/sync/index.ts.
Where is SyncOptions defined?
SyncOptions is defined in packages/astro/src/core/sync/index.ts at line 37.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free