export type MercuryPluginMiddlewareAssetMetadata = { /** * The real path of the asset located in the file system. * - For the fonts and icons, this path points to `node_modules/@genexus/mercury/dist/assets//` * - For the CSS, as it has to be build, this path points to `node_modules/.vite/@genexus/mercury/` */ fileSystemPath: string; /** * This is the path to match when a request for the middleware is performed. * * This path depends on the base url of the asset. For example, this can be: * - `"/assets/fonts/Inter-latin-ext-700-italic.woff2"` * - `"/assets/fonts/Inter-latin-ext-400-normal.woff2"` * - `"/assets/css/components/button-.css"` * - `"/assets/css/components/chat-.css"` * - `"/assets/icons/system/dark/accessibility-new.svg"` */ requestPathMatch: string; /** * The extension of the asset. For example, `".css"`, `".svg"` or `".woff2"`. */ extension: string; }; export type MercuryPluginHooksMetadata = { cssBuild: { wasBuilt: boolean; bundleToHashMapping?: Record; middlewareMetadata: Map; }; };