Rocky_Mountain_Vending/.pnpm-store/v10/files/3c/252f41bdc8e5a0beb2e7154e6dcd73067ac2db21914f9d2cb202464d1aa6bfee84a13295c4c91540f691930f51f57cb093df22ffe5861a1af2343caafc9617
DMleadgen 46d973904b
Initial commit: Rocky Mountain Vending website
Next.js website for Rocky Mountain Vending company featuring:
- Product catalog with Stripe integration
- Service areas and parts pages
- Admin dashboard with Clerk authentication
- SEO optimized pages with JSON-LD structured data

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12 16:22:15 -07:00

62 lines
1.5 KiB
Text

/**
* @license
* Copyright 2020 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import {Result as AuditResult} from './audit-result.js';
import {Locale} from './settings.js';
declare module Treemap {
interface Options {
lhr: {
mainDocumentUrl?: string;
finalUrl?: string;
finalDisplayedUrl: string;
audits: {
'script-treemap-data': AuditResult;
};
configSettings: {
locale: Locale;
}
},
initialView?: ViewMode['id'],
}
type NodePath = string[];
interface Selector {
type: 'depthOneNode' | 'group';
value: string;
}
interface Highlight {
path: NodePath;
/** If not set, will use the color based on the d1Node. */
color?: string;
}
interface ViewMode {
id: 'all' | 'unused-bytes' | 'duplicate-modules';
label: string;
subLabel: string;
enabled: boolean;
partitionBy?: 'resourceBytes' | 'unusedBytes';
highlights?: Highlight[];
}
interface Node {
/** Could be a url, a path component from a source map, or an arbitrary string. */
name: string;
resourceBytes: number;
/** Transfer size of the script. Only set for non-inline top-level script nodes. */
encodedBytes?: number;
/** Unused bytes, in terms of resource size. */
unusedBytes?: number;
/** If present, this module is a duplicate. String is normalized source path. See ModuleDuplication.normalizeSource */
duplicatedNormalizedModuleName?: string;
children?: Node[];
}
}
export default Treemap;