Home / Type/ AdapterSupportWithMessage Type — astro Architecture

AdapterSupportWithMessage Type — astro Architecture

Architecture documentation for the AdapterSupportWithMessage type/interface in integrations.ts from the astro codebase.

Entity Profile

Dependency Diagram

graph TD
  295145fc_82e7_1e67_c4db_ed58d001bccd["AdapterSupportWithMessage"]
  5a61a076_c3db_01bc_0201_03ec73ca05bb["integrations.ts"]
  295145fc_82e7_1e67_c4db_ed58d001bccd -->|defined in| 5a61a076_c3db_01bc_0201_03ec73ca05bb
  style 295145fc_82e7_1e67_c4db_ed58d001bccd fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/astro/src/types/public/integrations.ts lines 67–79

export type AdapterSupportWithMessage = {
	support: Exclude<AdapterSupportsKind, 'stable'>;
	message: string;
	/**
	 * Determines if a feature support warning/error in the adapter should be suppressed:
	 * - `"default"`: Suppresses the default warning/error message.
	 * - `"all"`: Suppresses both the custom and the default warning/error message.
	 *
	 * This is useful when the warning/error might not be applicable in certain contexts,
	 * or the default message might cause confusion and conflict with a custom one.
	 */
	suppress?: 'all' | 'default';
};

Frequently Asked Questions

What is the AdapterSupportWithMessage type?
AdapterSupportWithMessage is a type/interface in the astro codebase, defined in packages/astro/src/types/public/integrations.ts.
Where is AdapterSupportWithMessage defined?
AdapterSupportWithMessage is defined in packages/astro/src/types/public/integrations.ts at line 67.

Analyze Your Own Codebase

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

Try Supermodel Free