builder.io 1.7.30 → 1.7.32

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.
@@ -76,4 +76,6 @@ export interface CLIArgs {
76
76
  enabledTools?: string;
77
77
  /** If true run brief indexing before running code generation */
78
78
  index?: boolean;
79
+ /** If true list indexed repositories */
80
+ listIndexedRepos?: boolean;
79
81
  }
@@ -11,7 +11,8 @@ export declare const storeComponentDocs: (credentials: Credentials, body: StoreC
11
11
  export declare const runCodeGen: (sys: DevToolsSys, credentials: Credentials, sessionId: string, message: GenerateUserMessage, debug?: boolean, designSystemPackage?: string, workspaceConfig?: WorkspaceConfiguration, opts?: {
12
12
  tags?: object;
13
13
  }) => Promise<string>;
14
- export declare const getDesignSystem: (credentials: Credentials) => Promise<DesignSystem | null>;
14
+ export declare const getAllDesignSystems: (credentials: Credentials) => Promise<DesignSystem[]>;
15
+ export declare const getDesignSystemByName: (credentials: Credentials, designSystemName: string) => Promise<DesignSystem | null>;
15
16
  export declare const addDesignSystem: (credentials: Credentials, body: {
16
17
  designSystemName: string;
17
18
  status: string;
@@ -2,7 +2,7 @@ import type { DevToolsSys } from "../../types";
2
2
  import type { CLIArgs } from "../index";
3
3
  import { type Credentials } from "../credentials";
4
4
  import type { Component } from "./types";
5
- export declare const displayComponentLibrarySummary: (components: Component[], indexedComponents: Component[], startTime: number, numFailed?: number, isForce?: boolean) => void;
5
+ export declare const displayComponentLibrarySummary: (components: Component[], indexedComponents: Component[], startTime: number, numFailed?: number, isForce?: boolean, designSystemName?: string) => void;
6
6
  export interface RepoIndexingDoc {
7
7
  name: string;
8
8
  content: string | {
@@ -18,4 +18,7 @@ export interface RepoIndexingDoc {
18
18
  userId: string;
19
19
  }
20
20
  export declare const runRepoIndexing: (sys: DevToolsSys, args: CLIArgs) => Promise<void>;
21
- export declare const isFeatureAllowed: (credentials: Credentials, debug?: boolean) => Promise<boolean>;
21
+ export declare const isFeatureAllowed: (credentials: Credentials, debug?: boolean) => Promise<{
22
+ isAllowed: boolean;
23
+ reason?: string;
24
+ }>;