fw-webbuilder 1.1.294 → 1.1.295
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 +10 -2
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -165,8 +165,16 @@ declare class webBuilderService {
|
|
|
165
165
|
updateProject(id: string, data: any): Promise<any>;
|
|
166
166
|
deleteProject(id: string): Promise<any>;
|
|
167
167
|
getProjects_byFields(query: any, sort: any, page?: number, limit?: number): Promise<any>;
|
|
168
|
-
generateAiSite(prompt: string, name?: string, domain_prefix?: string
|
|
169
|
-
|
|
168
|
+
generateAiSite(prompt: string, name?: string, domain_prefix?: string, assets?: Array<{
|
|
169
|
+
file: File;
|
|
170
|
+
role: string;
|
|
171
|
+
caption?: string;
|
|
172
|
+
}>): Promise<any>;
|
|
173
|
+
refineAiSite(projectId: string, prompt: string, assets?: Array<{
|
|
174
|
+
file: File;
|
|
175
|
+
role: string;
|
|
176
|
+
caption?: string;
|
|
177
|
+
}>): Promise<any>;
|
|
170
178
|
getAiSiteHistory(projectId: string): Promise<any>;
|
|
171
179
|
getAiSiteDetail(projectId: string): Promise<any>;
|
|
172
180
|
saveAiSiteHtml(projectId: string, html: string): Promise<any>;
|