PDPA Features: ✅ Cookie consent banner ✅ Consent logging API ✅ Admin dashboard ✅ Privacy Policy ✅ Terms & Conditions Technical: ✅ Astro 5.x + Tailwind v4 ✅ Docker on port 80 ✅ SQLite database ✅ 15 pages built Ready for Easypanel deployment.
10 lines
554 B
TypeScript
10 lines
554 B
TypeScript
/**
|
|
* Resolves an image src from a content file (such as markdown) to a module ID or import that can be resolved by Vite.
|
|
*
|
|
* @param imageSrc The src attribute of an image tag
|
|
* @param filePath The path to the file that contains the imagem relative to the site root
|
|
* @returns A module id of the image that can be rsolved by Vite, or undefined if it is not a local image
|
|
*/
|
|
export declare function imageSrcToImportId(imageSrc: string, filePath?: string): string | undefined;
|
|
export declare const importIdToSymbolName: (importId: string) => string;
|