Home / Type/ CspScriptDirective Type — astro Architecture

CspScriptDirective Type — astro Architecture

Architecture documentation for the CspScriptDirective type/interface in config.ts from the astro codebase.

Entity Profile

Dependency Diagram

graph TD
  0e01ff72_3dbd_3d64_9bd9_15d14d4ee575["CspScriptDirective"]
  9a410621_7e4c_298f_fae4_ea2f60c8b25d["config.ts"]
  0e01ff72_3dbd_3d64_9bd9_15d14d4ee575 -->|defined in| 9a410621_7e4c_298f_fae4_ea2f60c8b25d
  style 0e01ff72_3dbd_3d64_9bd9_15d14d4ee575 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/astro/src/types/public/config.ts lines 36–40

export type CspScriptDirective = {
	hashes?: CspHash[];
	resources?: string[];
	strictDynamic?: boolean;
};

Frequently Asked Questions

What is the CspScriptDirective type?
CspScriptDirective is a type/interface in the astro codebase, defined in packages/astro/src/types/public/config.ts.
Where is CspScriptDirective defined?
CspScriptDirective is defined in packages/astro/src/types/public/config.ts at line 36.

Analyze Your Own Codebase

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

Try Supermodel Free