Repository: withastro/astro
File: packages/astro/src/types/public/integrations.ts (TypeScript)

Code before:
	/**
	 * Headers to inject into Astro's internal fetch calls (Actions, View Transitions, Server Islands, Prefetch).
	 * Can be an object of headers or a function that returns headers.
	 */
	internalFetchHeaders?: Record<string, string> | (() => Record<string, string>);
	/**
	 * Query parameters to append to all asset URLs (images, stylesheets, scripts, etc.).
	 * Useful for adapters that need to track deployment versions or other metadata.
	 */
	assetQueryParams?: URLSearchParams;
}

interface AdapterExplicitProperties {
	/**
	 * Determines how the adapter's entrypoint is handled during the build.
	 * - `'auto'`: The adapter defines its own entrypoint and provides either serverEntrypoint or rollupOptions.input
	 * - `'explicit'`: Uses the virtual module entrypoint with dynamic exports
	 * @default 'explicit'
	 * @deprecated This will be removed in Astro 7 and `'auto'` will become the default
	 */
	entrypointResolution?: 'explicit';
	serverEntrypoint?: string | URL;
	exports?: string[];
	args?: any;
}

interface AdapterAutoProperties {
	/**
	 * Determines how the adapter's entrypoint is handled during the build.
	 * - `'auto'`: The adapter defines its own entrypoint and provides either serverEntrypoint or rollupOptions.input
	 * - `'explicit'`: Uses the virtual module entrypoint with dynamic exports
	 * @default 'explicit'
	 */
	entrypointResolution: 'auto';
	serverEntrypoint?: string | URL;
}

export type AstroAdapter = {
	name: string;
	previewEntrypoint?: string | URL;
	adapterFeatures?: AstroAdapterFeatures;
	/**
	 * List of features supported by an adapter.
	 *
	 * If the adapter is not able to handle certain configurations, Astro will throw an error.
	 */
	supportedAstroFeatures: AstroAdapterFeatureMap;
	/**
	 * Configuration for Astro's client-side code.
	 */
	client?: AstroAdapterClientConfig;

Review comment (suggestion):
```suggestion
/** @deprecated This will be removed in a future major version, alongside `entrypointResolution: 'explicit'` */
exports?: string[];
/** @deprecated This will be removed in a future major version, alongside `entrypointResolution: 'explicit'` */
args?: any;
```

Code after:
	/**
	 * Headers to inject into Astro's internal fetch calls (Actions, View Transitions, Server Islands, Prefetch).
	 * Can be an object of headers or a function that returns headers.
	 */
	internalFetchHeaders?: Record<string, string> | (() => Record<string, string>);
	/**
	 * Query parameters to append to all asset URLs (images, stylesheets, scripts, etc.).
	 * Useful for adapters that need to track deployment versions or other metadata.
	 */
	assetQueryParams?: URLSearchParams;
}

interface AdapterExplicitProperties {
	/**
	 * Determines how the adapter's entrypoint is handled during the build.
	 * - `'auto'`: The adapter defines its own entrypoint and provides either serverEntrypoint or rollupOptions.input
	 * - `'explicit'`: Uses the virtual module entrypoint with dynamic exports
	 * @default 'explicit'
	 * @deprecated This will be removed in a future major version and `'auto'` will become the default
	 */
	entrypointResolution?: 'explicit';
	serverEntrypoint?: string | URL;
	/** @deprecated This will be removed in a future major version, alongside `entrypointResolution: 'explicit'` */
	exports?: string[];
	/** @deprecated This will be removed in a future major version, alongside `entrypointResolution: 'explicit'` */
	args?: any;
}

interface AdapterAutoProperties {
	/**
	 * Determines how the adapter's entrypoint is handled during the build.
	 * - `'auto'`: The adapter defines its own entrypoint and provides either serverEntrypoint or rollupOptions.input
	 * - `'explicit'`: Uses the virtual module entrypoint with dynamic exports
	 * @default 'explicit'
	 */
	entrypointResolution: 'auto';
	serverEntrypoint?: string | URL;
}

export type AstroAdapter = {
	name: string;
	previewEntrypoint?: string | URL;
	adapterFeatures?: AstroAdapterFeatures;
	/**
	 * List of features supported by an adapter.
	 *
	 * If the adapter is not able to handle certain configurations, Astro will throw an error.
	 */
	supportedAstroFeatures: AstroAdapterFeatureMap;
	/**
	 * Configuration for Astro's client-side code.