Home / Type/ AstroCookieSetOptions Type — astro Architecture

AstroCookieSetOptions Type — astro Architecture

Architecture documentation for the AstroCookieSetOptions type/interface in cookies.ts from the astro codebase.

Entity Profile

Dependency Diagram

graph TD
  1036f2e2_15a3_2dd8_d83b_b6923cbbc726["AstroCookieSetOptions"]
  b5fc2880_5111_4957_5d79_b9e1839f86d6["cookies.ts"]
  1036f2e2_15a3_2dd8_d83b_b6923cbbc726 -->|defined in| b5fc2880_5111_4957_5d79_b9e1839f86d6
  style 1036f2e2_15a3_2dd8_d83b_b6923cbbc726 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/astro/src/core/cookies/cookies.ts lines 5–16

export type AstroCookieSetOptions = Pick<
	SerializeOptions,
	| 'domain'
	| 'path'
	| 'expires'
	| 'maxAge'
	| 'httpOnly'
	| 'sameSite'
	| 'secure'
	| 'encode'
	| 'partitioned'
>;

Frequently Asked Questions

What is the AstroCookieSetOptions type?
AstroCookieSetOptions is a type/interface in the astro codebase, defined in packages/astro/src/core/cookies/cookies.ts.
Where is AstroCookieSetOptions defined?
AstroCookieSetOptions is defined in packages/astro/src/core/cookies/cookies.ts at line 5.

Analyze Your Own Codebase

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

Try Supermodel Free