@builder.io/ai-utils 0.5.24 → 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/repo-indexing.d.ts +46 -4
package/package.json
CHANGED
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 {};
|