fw-webbuilder 1.1.287 → 1.1.288
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/fesm2022/fw-webbuilder.mjs +1 -1
- package/index.d.ts +7 -1
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -26,8 +26,10 @@ declare class webBuilderService {
|
|
|
26
26
|
private pendingBlockUpdates;
|
|
27
27
|
private pendingPageUpdates;
|
|
28
28
|
private pendingProjectUpdates;
|
|
29
|
-
|
|
29
|
+
apiUrl: string;
|
|
30
30
|
private urlBE;
|
|
31
|
+
getAiEditUrl(projectId: string): string;
|
|
32
|
+
getAiPreviewUrl(projectId: string, edit?: boolean): string;
|
|
31
33
|
group: any;
|
|
32
34
|
projectWorking: any;
|
|
33
35
|
/**
|
|
@@ -163,6 +165,10 @@ declare class webBuilderService {
|
|
|
163
165
|
updateProject(id: string, data: any): Promise<any>;
|
|
164
166
|
deleteProject(id: string): Promise<any>;
|
|
165
167
|
getProjects_byFields(query: any, sort: any, page?: number, limit?: number): Promise<any>;
|
|
168
|
+
generateAiSite(prompt: string, name?: string, domain_prefix?: string): Promise<any>;
|
|
169
|
+
refineAiSite(projectId: string, prompt: string): Promise<any>;
|
|
170
|
+
getAiSiteHistory(projectId: string): Promise<any>;
|
|
171
|
+
getAiSiteDetail(projectId: string): Promise<any>;
|
|
166
172
|
getBlockTemplates_byFields(query: any, sort: any, page?: number, limit?: number): Promise<any>;
|
|
167
173
|
/**
|
|
168
174
|
* dùng route khác vì route này không cần đăng nhập
|