full site update
This commit is contained in:
88
node_modules/astro/client.d.ts
generated
vendored
88
node_modules/astro/client.d.ts
generated
vendored
@@ -1,12 +1,8 @@
|
||||
/// <reference types="vite/types/import-meta.d.ts" />
|
||||
/// <reference path="./types/content.d.ts" />
|
||||
/// <reference path="./types/actions.d.ts" />
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-namespace
|
||||
declare namespace App {
|
||||
// eslint-disable-next-line @typescript-eslint/no-empty-interface
|
||||
export interface Locals {}
|
||||
}
|
||||
/// <reference path="./types/env.d.ts" />
|
||||
/// <reference path="./types/fonts.d.ts" />
|
||||
|
||||
interface ImportMetaEnv {
|
||||
/**
|
||||
@@ -52,11 +48,12 @@ declare module 'astro:assets' {
|
||||
getImage: (
|
||||
options: import('./dist/assets/types.js').UnresolvedImageTransform,
|
||||
) => Promise<import('./dist/assets/types.js').GetImageResult>;
|
||||
imageConfig: import('./dist/@types/astro.js').AstroConfig['image'];
|
||||
imageConfig: import('./dist/types/public/config.js').AstroConfig['image'];
|
||||
getConfiguredImageService: typeof import('./dist/assets/index.js').getConfiguredImageService;
|
||||
inferRemoteSize: typeof import('./dist/assets/utils/index.js').inferRemoteSize;
|
||||
Image: typeof import('./components/Image.astro').default;
|
||||
Picture: typeof import('./components/Picture.astro').default;
|
||||
Font: typeof import('./components/Font.astro').default;
|
||||
};
|
||||
|
||||
type ImgAttributes = import('./dist/type-utils.js').WithRequired<
|
||||
@@ -76,6 +73,7 @@ declare module 'astro:assets' {
|
||||
imageConfig,
|
||||
Image,
|
||||
Picture,
|
||||
Font,
|
||||
inferRemoteSize,
|
||||
}: AstroAssets;
|
||||
}
|
||||
@@ -106,14 +104,16 @@ declare module '*.webp' {
|
||||
const metadata: ImageMetadata;
|
||||
export default metadata;
|
||||
}
|
||||
declare module '*.svg' {
|
||||
const metadata: ImageMetadata;
|
||||
export default metadata;
|
||||
}
|
||||
declare module '*.avif' {
|
||||
const metadata: ImageMetadata;
|
||||
export default metadata;
|
||||
}
|
||||
declare module '*.svg' {
|
||||
type Props = astroHTML.JSX.SVGAttributes;
|
||||
|
||||
const Component: ((_props: Props) => any) & ImageMetadata;
|
||||
export default Component;
|
||||
}
|
||||
|
||||
declare module 'astro:transitions' {
|
||||
type TransitionModule = typeof import('./dist/virtual-modules/transitions.js');
|
||||
@@ -121,8 +121,12 @@ declare module 'astro:transitions' {
|
||||
export const fade: TransitionModule['fade'];
|
||||
export const createAnimationScope: TransitionModule['createAnimationScope'];
|
||||
|
||||
type ViewTransitionsModule = typeof import('./components/ViewTransitions.astro');
|
||||
export const ViewTransitions: ViewTransitionsModule['default'];
|
||||
type ClientRouterModule = typeof import('./components/ClientRouter.astro');
|
||||
/**
|
||||
* @deprecated The ViewTransitions component has been renamed to ClientRouter
|
||||
*/
|
||||
export const ViewTransitions: ClientRouterModule['default'];
|
||||
export const ClientRouter: ClientRouterModule['default'];
|
||||
}
|
||||
|
||||
declare module 'astro:transitions/client' {
|
||||
@@ -134,8 +138,8 @@ declare module 'astro:transitions/client' {
|
||||
|
||||
export type Fallback = import('./dist/virtual-modules/transitions-types.js').Fallback;
|
||||
export type Direction = import('./dist/virtual-modules/transitions-types.ts').Direction;
|
||||
export type NavigationTypeString =
|
||||
import('./dist/virtual-modules/transitions-types.js').NavigationTypeString;
|
||||
// biome-ignore format: bug
|
||||
export type NavigationTypeString = import('./dist/virtual-modules/transitions-types.js').NavigationTypeString;
|
||||
export type Options = import('./dist/virtual-modules/transitions-types.js').Options;
|
||||
|
||||
type EventModule = typeof import('./dist/virtual-modules/transitions-events.js');
|
||||
@@ -144,14 +148,14 @@ declare module 'astro:transitions/client' {
|
||||
export const TRANSITION_BEFORE_SWAP: EventModule['TRANSITION_BEFORE_SWAP'];
|
||||
export const TRANSITION_AFTER_SWAP: EventModule['TRANSITION_AFTER_SWAP'];
|
||||
export const TRANSITION_PAGE_LOAD: EventModule['TRANSITION_PAGE_LOAD'];
|
||||
export type TransitionBeforePreparationEvent =
|
||||
import('./dist/virtual-modules/transitions-events.js').TransitionBeforePreparationEvent;
|
||||
export type TransitionBeforeSwapEvent =
|
||||
import('./dist/virtual-modules/transitions-events.js').TransitionBeforeSwapEvent;
|
||||
// biome-ignore format: bug
|
||||
export type TransitionBeforePreparationEvent = import('./dist/virtual-modules/transitions-events.js').TransitionBeforePreparationEvent;
|
||||
// biome-ignore format: bug
|
||||
export type TransitionBeforeSwapEvent = import('./dist/virtual-modules/transitions-events.js').TransitionBeforeSwapEvent;
|
||||
export const isTransitionBeforePreparationEvent: EventModule['isTransitionBeforePreparationEvent'];
|
||||
export const isTransitionBeforeSwapEvent: EventModule['isTransitionBeforeSwapEvent'];
|
||||
type TransitionSwapFunctionModule =
|
||||
typeof import('./dist/virtual-modules/transitions-swap-functions.js');
|
||||
// biome-ignore format: bug
|
||||
type TransitionSwapFunctionModule = typeof import('./dist/virtual-modules/transitions-swap-functions.js');
|
||||
export const swapFunctions: TransitionSwapFunctionModule['swapFunctions'];
|
||||
}
|
||||
|
||||
@@ -171,6 +175,20 @@ declare module 'astro:middleware' {
|
||||
export * from 'astro/virtual-modules/middleware.js';
|
||||
}
|
||||
|
||||
declare module 'astro:config/server' {
|
||||
// biome-ignore format: bug
|
||||
type ServerConfigSerialized = import('./dist/types/public/manifest.js').ServerDeserializedManifest;
|
||||
const manifest: ServerConfigSerialized;
|
||||
export = manifest;
|
||||
}
|
||||
|
||||
declare module 'astro:config/client' {
|
||||
// biome-ignore format: bug
|
||||
type ClientConfigSerialized = import('./dist/types/public/manifest.js').ClientDeserializedManifest;
|
||||
const manifest: ClientConfigSerialized;
|
||||
export = manifest;
|
||||
}
|
||||
|
||||
declare module 'astro:components' {
|
||||
export * from 'astro/components';
|
||||
}
|
||||
@@ -179,7 +197,8 @@ declare module 'astro:schema' {
|
||||
export * from 'astro/zod';
|
||||
}
|
||||
|
||||
type MD = import('./dist/@types/astro.js').MarkdownInstance<Record<string, any>>;
|
||||
type MD = import('./dist/types/public/content.js').MarkdownInstance<Record<string, any>>;
|
||||
|
||||
interface ExportedMarkdownModuleEntities {
|
||||
frontmatter: MD['frontmatter'];
|
||||
file: MD['file'];
|
||||
@@ -198,7 +217,6 @@ declare module '*.md' {
|
||||
file,
|
||||
url,
|
||||
getHeadings,
|
||||
getHeaders,
|
||||
Content,
|
||||
rawContent,
|
||||
compiledContent,
|
||||
@@ -213,7 +231,6 @@ declare module '*.markdown' {
|
||||
file,
|
||||
url,
|
||||
getHeadings,
|
||||
getHeaders,
|
||||
Content,
|
||||
rawContent,
|
||||
compiledContent,
|
||||
@@ -228,7 +245,6 @@ declare module '*.mkdn' {
|
||||
file,
|
||||
url,
|
||||
getHeadings,
|
||||
getHeaders,
|
||||
Content,
|
||||
rawContent,
|
||||
compiledContent,
|
||||
@@ -243,7 +259,6 @@ declare module '*.mkd' {
|
||||
file,
|
||||
url,
|
||||
getHeadings,
|
||||
getHeaders,
|
||||
Content,
|
||||
rawContent,
|
||||
compiledContent,
|
||||
@@ -258,7 +273,6 @@ declare module '*.mdwn' {
|
||||
file,
|
||||
url,
|
||||
getHeadings,
|
||||
getHeaders,
|
||||
Content,
|
||||
rawContent,
|
||||
compiledContent,
|
||||
@@ -273,7 +287,6 @@ declare module '*.mdown' {
|
||||
file,
|
||||
url,
|
||||
getHeadings,
|
||||
getHeaders,
|
||||
Content,
|
||||
rawContent,
|
||||
compiledContent,
|
||||
@@ -282,7 +295,7 @@ declare module '*.mdown' {
|
||||
}
|
||||
|
||||
declare module '*.mdx' {
|
||||
type MDX = import('./dist/@types/astro.js').MDXInstance<Record<string, any>>;
|
||||
type MDX = import('./dist/types/public/content.js').MDXInstance<Record<string, any>>;
|
||||
|
||||
export const frontmatter: MDX['frontmatter'];
|
||||
export const file: MDX['file'];
|
||||
@@ -296,7 +309,7 @@ declare module '*.mdx' {
|
||||
}
|
||||
|
||||
declare module 'astro:ssr-manifest' {
|
||||
export const manifest: import('./dist/@types/astro.js').SSRManifest;
|
||||
export const manifest: import('./dist/types/public/internal.js').SSRManifest;
|
||||
}
|
||||
|
||||
// Everything below are Vite's types (apart from image types, which are in `client.d.ts`)
|
||||
@@ -522,3 +535,18 @@ declare module '*?inline' {
|
||||
const src: string;
|
||||
export default src;
|
||||
}
|
||||
|
||||
declare module '*?no-inline' {
|
||||
const src: string;
|
||||
export default src;
|
||||
}
|
||||
|
||||
declare module '*?url&inline' {
|
||||
const src: string;
|
||||
export default src;
|
||||
}
|
||||
|
||||
declare module '*?url&no-inline' {
|
||||
const src: string;
|
||||
export default src;
|
||||
}
|
||||
|
Reference in New Issue
Block a user