fw-webbuilder 1.1.181 → 1.1.183
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 +1 -7
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -153,17 +153,12 @@ declare class webBuilderService {
|
|
|
153
153
|
private wrapApiCall;
|
|
154
154
|
addProject(data: any): Promise<any>;
|
|
155
155
|
copyProject(data: any): Promise<any>;
|
|
156
|
-
checkSubDomain(
|
|
156
|
+
checkSubDomain(domain: any): Promise<any>;
|
|
157
157
|
updateProject(id: string, data: any): Promise<any>;
|
|
158
158
|
deleteProject(id: string): Promise<any>;
|
|
159
159
|
getProjects_byFields(query: any, sort: any, page?: number, limit?: number): Promise<any>;
|
|
160
160
|
/**
|
|
161
161
|
* dùng route khác vì route này không cần đăng nhập
|
|
162
|
-
* @param query
|
|
163
|
-
* @param sort
|
|
164
|
-
* @param page
|
|
165
|
-
* @param limit
|
|
166
|
-
* @returns
|
|
167
162
|
*/
|
|
168
163
|
getTemplates_byFields(query: any, sort: any, page?: number, limit?: number): Promise<any>;
|
|
169
164
|
addTemplate(data: any): Promise<any>;
|
|
@@ -230,7 +225,6 @@ declare class webBuilderService {
|
|
|
230
225
|
deleteObject(id: string, code?: any): Promise<any>;
|
|
231
226
|
uploadFile(file: File, newPath: string, options?: any): Promise<Object>;
|
|
232
227
|
upLoadImage(file: any, oldPath: string, newPath: string, options?: any): Promise<any>;
|
|
233
|
-
upLoadAdminImage(file: any, oldPath: string, newPath: string, options?: any): Promise<any>;
|
|
234
228
|
addCategory(data: any): Promise<any>;
|
|
235
229
|
updateCategory(id: string, data: any): Promise<any>;
|
|
236
230
|
deleteCategory(id: string): Promise<any>;
|