@builder.io/dev-tools 1.18.40-dev.202512081828.78246177d → 1.18.41-dev.202512091131.53e860cfb

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +0,0 @@
1
- import type { DevToolsSys } from "../types";
2
- import type { CLIArgs } from "./index";
3
- import { type Credentials } from "./credentials";
4
- export declare const runCodeIndexing: (_sys: DevToolsSys, _args: CLIArgs) => Promise<void>;
5
- export declare const codeIndexing: (sys: DevToolsSys, credentials: Credentials) => Promise<void>;
@@ -1,3 +0,0 @@
1
- export declare const getKVHiddenComment: (key: string, value: string) => string;
2
- export declare const getPreviewUrl: (projectId: string, branchName: string) => string;
3
- export declare const getInitialDescription: (projectId: string, branchName: string) => string;
@@ -1,42 +0,0 @@
1
- /**
2
- * Component Map Builder
3
- *
4
- * Builds a map of component names to their source file locations for the Design tab.
5
- * This allows the Design tab to work without requiring React's _debugSource or customer plugins.
6
- */
7
- import type { DevToolsSys } from "../types";
8
- export interface ComponentLocation {
9
- file: string;
10
- line: number;
11
- column: number;
12
- displayName: string;
13
- }
14
- export type ComponentMap = Record<string, ComponentLocation[]>;
15
- /**
16
- * Build a map of component names to their source locations
17
- */
18
- export declare function buildComponentMap(sys: DevToolsSys, rootDir?: string): Promise<ComponentMap>;
19
- /**
20
- * Cache for component map with file watching
21
- */
22
- export declare class ComponentMapCache {
23
- private cache;
24
- private lastBuilt;
25
- private building;
26
- private readonly ttl;
27
- private sys;
28
- private rootDir;
29
- constructor(sys: DevToolsSys, rootDir?: string);
30
- /**
31
- * Get the component map, building it if necessary
32
- */
33
- get(): Promise<ComponentMap>;
34
- /**
35
- * Invalidate the cache
36
- */
37
- invalidate(): void;
38
- /**
39
- * Force rebuild of the component map
40
- */
41
- rebuild(): Promise<ComponentMap>;
42
- }