@builder.io/ai-utils 0.5.23 → 0.5.25
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/package.json +1 -1
- package/src/codegen.d.ts +2 -1
- package/src/repo-indexing.d.ts +46 -4
package/package.json
CHANGED
package/src/codegen.d.ts
CHANGED
|
@@ -120,7 +120,6 @@ export interface TodoWriteToolInput {
|
|
|
120
120
|
todos: {
|
|
121
121
|
content: string;
|
|
122
122
|
status: "pending" | "in_progress" | "completed";
|
|
123
|
-
priority: "high" | "medium" | "low";
|
|
124
123
|
id: string;
|
|
125
124
|
}[];
|
|
126
125
|
}
|
|
@@ -633,6 +632,8 @@ export interface CodegenFeedback {
|
|
|
633
632
|
acceptedLines?: number;
|
|
634
633
|
beforeCommit?: string;
|
|
635
634
|
afterCommit?: string;
|
|
635
|
+
linesOfCodeAdded?: number;
|
|
636
|
+
linesOfCodeRemoved?: number;
|
|
636
637
|
}
|
|
637
638
|
export interface CodegenSetLastCompletion {
|
|
638
639
|
sessionId: string;
|
package/src/repo-indexing.d.ts
CHANGED
|
@@ -1,4 +1,15 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type StoreComponentDocsInput = StoreComponentDocsInputV1 | StoreComponentDocsInputV2;
|
|
2
|
+
/**
|
|
3
|
+
* @deprecated
|
|
4
|
+
* While some documents may still use this format, new documents should use the
|
|
5
|
+
* latest interface.
|
|
6
|
+
*/
|
|
7
|
+
interface StoreComponentDocsInputV1 {
|
|
8
|
+
id?: string;
|
|
9
|
+
ownerId?: string;
|
|
10
|
+
userId?: string;
|
|
11
|
+
createdDate?: Date;
|
|
12
|
+
deprecated?: boolean;
|
|
2
13
|
description: string;
|
|
3
14
|
name: string;
|
|
4
15
|
relatedComponents: string[];
|
|
@@ -10,16 +21,47 @@ export interface StoreComponentDocsInput {
|
|
|
10
21
|
hash?: string;
|
|
11
22
|
designSystemId?: string;
|
|
12
23
|
}
|
|
24
|
+
interface StoreComponentDocsInputV2 {
|
|
25
|
+
id?: string;
|
|
26
|
+
ownerId?: string;
|
|
27
|
+
userId?: string;
|
|
28
|
+
createdDate?: Date;
|
|
29
|
+
deprecated?: boolean;
|
|
30
|
+
description: string;
|
|
31
|
+
name: string;
|
|
32
|
+
relatedComponents: string[];
|
|
33
|
+
relevantFiles: string[];
|
|
34
|
+
content: string;
|
|
35
|
+
sessionId: string;
|
|
36
|
+
hash?: string;
|
|
37
|
+
designSystemId?: string;
|
|
38
|
+
}
|
|
13
39
|
export interface AddDesignSystemInput {
|
|
14
40
|
designSystemName: string;
|
|
41
|
+
designSystemPackage?: string;
|
|
42
|
+
designSystemVersion?: string;
|
|
15
43
|
status: string;
|
|
16
44
|
spaceId: string;
|
|
17
45
|
rootOrgId: string;
|
|
18
46
|
}
|
|
19
47
|
export interface UpdateDesignSystemInput {
|
|
20
48
|
id: string;
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
49
|
+
designSystemName: string;
|
|
50
|
+
designSystemPackage?: string;
|
|
51
|
+
designSystemVersion?: string;
|
|
24
52
|
status?: "in-progress" | "completed" | "failed";
|
|
25
53
|
}
|
|
54
|
+
export interface DesignSystem {
|
|
55
|
+
id: string;
|
|
56
|
+
spaceId: string;
|
|
57
|
+
rootOrgId: string;
|
|
58
|
+
createdDate: Date;
|
|
59
|
+
createdByUserId: string;
|
|
60
|
+
lastUpdatedDate?: string;
|
|
61
|
+
lastUpdatedByUserId?: string;
|
|
62
|
+
designSystemName: string;
|
|
63
|
+
designSystemVersion?: string;
|
|
64
|
+
designSystemPackage?: string;
|
|
65
|
+
status: "in-progress" | "completed" | "failed";
|
|
66
|
+
}
|
|
67
|
+
export {};
|