builder.io 1.6.9 → 1.6.10

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.
@@ -44,6 +44,6 @@ export declare const runCodeCommand: (sys: DevToolsSys, subCommand: string, args
44
44
  export declare const runCodeGen: (sys: DevToolsSys, args: CLIArgs) => Promise<undefined>;
45
45
  export declare function createApp(userId: string, spaceId: string, privateKey: string, body: any): Promise<void>;
46
46
  export declare function transformStream(body: ReadableStream<Uint8Array> | null): AsyncGenerator<string, void, unknown>;
47
- export declare function checkProjectRoot(sys: DevToolsSys): Promise<void>;
47
+ export declare function checkProjectRoot(sys: DevToolsSys, interactive: boolean): Promise<undefined>;
48
48
  export declare function getUserContext(sys: DevToolsSys): Promise<UserContext>;
49
49
  export {};
@@ -1,11 +1,11 @@
1
- import type { ComponentInfo, DevToolsSys } from "../types";
1
+ import type { ComponentInfo, ComponentRegistry, DevToolsSys } from "../types";
2
2
  import type { CLIArgs } from "./index";
3
3
  import { type UserContext } from "./code";
4
4
  import { type FigmaComponentInfo } from "./figma-utils";
5
5
  export declare const runFigmaGenerate: (sys: DevToolsSys, args: CLIArgs) => Promise<undefined>;
6
6
  export interface MappingCodeV3 {
7
7
  figmaNode: FigmaComponentInfo;
8
- componentNames: string[];
8
+ registry: ComponentRegistry;
9
9
  userContext?: UserContext;
10
10
  figmaUrl: string;
11
11
  docsUrl?: string;
package/types/types.d.ts CHANGED
@@ -354,6 +354,7 @@ export interface ComponentInfo {
354
354
  meta?: Record<string, any>;
355
355
  dependencies?: AppDependency[];
356
356
  externalImportPath?: string;
357
+ framework: "react" | "angular" | "qwik";
357
358
  }
358
359
  export interface MinimalComponentInfo {
359
360
  filePath: string;