Files
klz-cables.com/.pnpm-store/v10/files/65/adc4a2d2123c18efa1655752c5e31f4b4704f7ecf64b322481d5dd25f116cd6c765af5e33a04dc7da76065d8097dd9b71beeda1ba235d849c8ebbdd56879f9
Marc Mintel 5397309103
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
fix(products): fix breadcrumbs and product filtering (backport from main)
2026-02-24 16:04:21 +01:00

44 lines
1.4 KiB
Plaintext

import type { PayloadComponent, SanitizedConfig } from '../../config/types.js';
type ImportIdentifier = string;
type ImportSpecifier = string;
type ImportPath = string;
type UserImportPath = string;
/**
* Import Map before being written to the file. Only contains all paths
*/
export type InternalImportMap = {
[path: UserImportPath]: ImportIdentifier;
};
/**
* Imports of the import map.
*/
export type Imports = {
[identifier: ImportIdentifier]: {
path: ImportPath;
specifier: ImportSpecifier;
};
};
/**
* Import Map after being imported from the actual import map. Contains all the actual imported components
*/
export type ImportMap = {
[path: UserImportPath]: any;
};
export type AddToImportMap = (payloadComponent?: PayloadComponent | PayloadComponent[]) => void;
export declare function generateImportMap(config: SanitizedConfig, options?: {
force?: boolean; /**
* If true, will not throw an error if the import map file path cannot be resolved
Instead, it will return silently.
*/
ignoreResolveError?: boolean;
log: boolean;
}): Promise<void>;
export declare function writeImportMap({ componentMap, force, importMap, importMapFilePath, log, }: {
componentMap: InternalImportMap;
force?: boolean;
importMap: Imports;
importMapFilePath: string;
log?: boolean;
}): Promise<void>;
export {};
//# sourceMappingURL=index.d.ts.map