🎉 initiate project *astro_rewrite*
This commit is contained in:
parent
ffd4d5e86c
commit
2ba37bfbe3
8658 changed files with 2268794 additions and 2538 deletions
22
node_modules/astro/dist/assets/generate.d.ts
generated
vendored
Normal file
22
node_modules/astro/dist/assets/generate.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
import type { StaticBuildOptions } from '../core/build/types.js';
|
||||
import type { ImageTransform } from './types.js';
|
||||
interface GenerationDataUncached {
|
||||
cached: false;
|
||||
weight: {
|
||||
before: number;
|
||||
after: number;
|
||||
};
|
||||
}
|
||||
interface GenerationDataCached {
|
||||
cached: true;
|
||||
}
|
||||
type GenerationData = GenerationDataUncached | GenerationDataCached;
|
||||
export declare function generateImage(buildOpts: StaticBuildOptions, options: ImageTransform, filepath: string): Promise<GenerationData | undefined>;
|
||||
export declare function getStaticImageList(): Iterable<[
|
||||
string,
|
||||
{
|
||||
path: string;
|
||||
options: ImageTransform;
|
||||
}
|
||||
]>;
|
||||
export {};
|
||||
Loading…
Add table
Add a link
Reference in a new issue