full site update
This commit is contained in:
15
node_modules/astro/dist/integrations/features-validation.d.ts
generated
vendored
15
node_modules/astro/dist/integrations/features-validation.d.ts
generated
vendored
@@ -1,7 +1,15 @@
|
||||
import type { AstroAdapterFeatures, AstroConfig, AstroFeatureMap } from '../@types/astro.js';
|
||||
import type { Logger } from '../core/logger/core.js';
|
||||
import type { AstroSettings } from '../types/astro.js';
|
||||
import type { AstroAdapterFeatureMap } from '../types/public/integrations.js';
|
||||
export declare const AdapterFeatureStability: {
|
||||
readonly STABLE: "stable";
|
||||
readonly DEPRECATED: "deprecated";
|
||||
readonly UNSUPPORTED: "unsupported";
|
||||
readonly EXPERIMENTAL: "experimental";
|
||||
readonly LIMITED: "limited";
|
||||
};
|
||||
type ValidationResult = {
|
||||
[Property in keyof AstroFeatureMap]: boolean;
|
||||
[Property in keyof AstroAdapterFeatureMap]: boolean;
|
||||
};
|
||||
/**
|
||||
* Checks whether an adapter supports certain features that are enabled via Astro configuration.
|
||||
@@ -10,5 +18,6 @@ type ValidationResult = {
|
||||
* will throw a runtime error.
|
||||
*
|
||||
*/
|
||||
export declare function validateSupportedFeatures(adapterName: string, featureMap: AstroFeatureMap, config: AstroConfig, adapterFeatures: AstroAdapterFeatures | undefined, logger: Logger): ValidationResult;
|
||||
export declare function validateSupportedFeatures(adapterName: string, featureMap: AstroAdapterFeatureMap, settings: AstroSettings, logger: Logger): ValidationResult;
|
||||
export declare function getAdapterStaticRecommendation(adapterName: string): string | undefined;
|
||||
export {};
|
||||
|
Reference in New Issue
Block a user