builder.io 1.11.10 → 1.11.12

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.
@@ -2,6 +2,6 @@ import type { DevToolsSys } from "../types";
2
2
  import type { CLIArgs } from "./index";
3
3
  import { type UserContext } from "$/ai-utils";
4
4
  export declare const runCodeCommand: (sys: DevToolsSys, subCommand: string, args: CLIArgs) => Promise<void>;
5
- export declare const runCodeGen: (sys: DevToolsSys, args: CLIArgs) => Promise<void>;
5
+ export declare const runCodeGen: (sys: DevToolsSys, args: CLIArgs) => Promise<undefined>;
6
6
  export declare function checkProjectRoot(sys: DevToolsSys, interactive: boolean): Promise<void>;
7
7
  export declare function getUserContext(sys: DevToolsSys): Promise<UserContext>;
@@ -2,4 +2,5 @@ import { type FusionConfig } from "$/ai-utils";
2
2
  import type { LaunchArgs } from "../launch";
3
3
  import type { DevToolsSys } from "types";
4
4
  export declare function getFusionConfig(sys: DevToolsSys, args: LaunchArgs): Promise<FusionConfig>;
5
+ export declare function saveFusionConfig(sys: DevToolsSys, fusionConfig: FusionConfig): Promise<void>;
5
6
  export declare function trackConfigData(sys: DevToolsSys, fusionConfig: FusionConfig): void;
@@ -1,6 +1,6 @@
1
1
  import type { DevToolsSys } from "../../core";
2
2
  import { type Credentials } from "../credentials";
3
- import type { DesignSystem, GenerateUserMessage, WorkspaceConfiguration, StoreComponentDocsInput, UpdateDesignSystemInput, DesignSystemScope } from "$/ai-utils";
3
+ import type { DesignSystem, GenerateUserMessage, WorkspaceConfiguration, StoreComponentDocsInput, UpdateDesignSystemInput, DesignSystemScope, DisplayDesignSystem } from "$/ai-utils";
4
4
  export declare const AGENT_FILE = "AGENTS.md";
5
5
  export interface UserSettings {
6
6
  isAdminInOrganization: boolean;
@@ -17,6 +17,7 @@ export declare const runCodeGen: (sys: DevToolsSys, credentials: Credentials, se
17
17
  maxTokens?: number;
18
18
  }, metadata?: any) => Promise<string>;
19
19
  export declare const getAllDesignSystems: (credentials: Credentials, userSettings: UserSettings | null, onlyEditAccess?: boolean) => Promise<DesignSystem[]>;
20
+ export declare const getDisplayDesignSystems: (credentials: Credentials) => Promise<DisplayDesignSystem[]>;
20
21
  export declare const getDesignSystemsByScope: (scope: DesignSystemScope, designSystems: DesignSystem[]) => DesignSystem[];
21
22
  export declare const getDesignSystemByName: (designSystemName: string, designSystems: DesignSystem[]) => DesignSystem | null;
22
23
  export declare const getDesignSystemByNameAndScope: (credentials: Credentials, designSystemName: string, scope: DesignSystemScope, designSystems: DesignSystem[]) => DesignSystem | null;