builder.io 1.7.15 → 1.7.16
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.
- package/cli/index.cjs +368 -368
- package/cli/index.cjs.map +4 -4
- package/core/index.cjs +1 -1
- package/core/index.mjs +1 -1
- package/node/index.cjs +1 -1
- package/node/index.mjs +1 -1
- package/package.json +1 -1
- package/server/index.cjs +3 -3
- package/server/index.mjs +3 -3
- package/types/cli/repo-indexing/component-indexing.d.ts +1 -0
- package/types/cli/repo-indexing/repo-indexing-utils.d.ts +12 -2
- package/types/cli/repo-indexing/types.d.ts +11 -0
- package/types/tsconfig.tsbuildinfo +1 -1
|
@@ -3,6 +3,7 @@ import type { Credentials } from "../credentials";
|
|
|
3
3
|
import type { Component } from "./types";
|
|
4
4
|
import type { WorkspaceConfiguration } from "$/ai-utils";
|
|
5
5
|
export declare const processComponent: (sys: DevToolsSys, credentials: Credentials, sessionId: string, component: Component, opts?: {
|
|
6
|
+
designSystemId?: string | null;
|
|
6
7
|
designSystemPackage?: string;
|
|
7
8
|
designSystemVersion?: string;
|
|
8
9
|
retriesAllowed?: number;
|
|
@@ -1,9 +1,19 @@
|
|
|
1
1
|
import type { DevToolsSys } from "../../core";
|
|
2
2
|
import { type Credentials } from "../credentials";
|
|
3
|
-
import type { GenerateUserMessage, WorkspaceConfiguration, StoreComponentDocsInput } from "$/ai-utils";
|
|
3
|
+
import type { GenerateUserMessage, WorkspaceConfiguration, StoreComponentDocsInput, UpdateDesignSystemInput } from "$/ai-utils";
|
|
4
|
+
import type { DesignSystem } from "./types";
|
|
4
5
|
export declare const AGENT_FILE = "AGENT.md";
|
|
5
|
-
export declare const
|
|
6
|
+
export declare const parseDesignSystem: (sys: DevToolsSys, designSystemPackage?: string) => Promise<{
|
|
7
|
+
name: any;
|
|
8
|
+
version: string | undefined;
|
|
9
|
+
}>;
|
|
6
10
|
export declare const storeComponentDocs: (credentials: Credentials, body: StoreComponentDocsInput, debug?: boolean) => Promise<any>;
|
|
7
11
|
export declare const runCodeGen: (sys: DevToolsSys, credentials: Credentials, sessionId: string, message: GenerateUserMessage, debug?: boolean, designSystemPackage?: string, workspaceConfig?: WorkspaceConfiguration, opts?: {
|
|
8
12
|
tags?: object;
|
|
9
13
|
}) => Promise<string>;
|
|
14
|
+
export declare const getDesignSystem: (credentials: Credentials) => Promise<DesignSystem | null>;
|
|
15
|
+
export declare const addDesignSystem: (credentials: Credentials, body: {
|
|
16
|
+
designSystemName: string;
|
|
17
|
+
status: string;
|
|
18
|
+
}) => Promise<any>;
|
|
19
|
+
export declare const updateDesignSystem: (credentials: Credentials, body: UpdateDesignSystemInput) => Promise<any>;
|
|
@@ -8,3 +8,14 @@ export interface Component {
|
|
|
8
8
|
designSystemVersion?: string;
|
|
9
9
|
hash?: string;
|
|
10
10
|
}
|
|
11
|
+
export interface DesignSystem {
|
|
12
|
+
id: string;
|
|
13
|
+
spaceId: string;
|
|
14
|
+
rootOrgId: string;
|
|
15
|
+
createdDate: string;
|
|
16
|
+
createdByUserId: string;
|
|
17
|
+
lastUpdatedDate?: string;
|
|
18
|
+
lastUpdatedByUserId?: string;
|
|
19
|
+
designSystemName: string;
|
|
20
|
+
status: "in-progress" | "completed" | "failed";
|
|
21
|
+
}
|