ionic-vhframeworks 8.8.0 → 8.8.1
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.
|
@@ -1843,7 +1843,7 @@ export declare class VhImage {
|
|
|
1843
1843
|
if(rsp.vcode === 0){
|
|
1844
1844
|
if(options.compress_type == 'no-compress'){
|
|
1845
1845
|
|
|
1846
|
-
}else if(options.compress_type == 'compress-
|
|
1846
|
+
}else if(options.compress_type == 'compress-screen'){
|
|
1847
1847
|
|
|
1848
1848
|
}else if(options.compress_type == 'compress-frame'){
|
|
1849
1849
|
|
|
@@ -1866,10 +1866,10 @@ export declare class VhImage {
|
|
|
1866
1866
|
* @param options: {compress_type, resolution}
|
|
1867
1867
|
* @field compress_type:
|
|
1868
1868
|
* + 'no-compress': Không nén ảnh sau khi tải lên
|
|
1869
|
-
* + 'compress-
|
|
1869
|
+
* + 'compress-screen': Nén ảnh sau khi tải lên, nén ảnh theo tỉ lệ màn hình của mỗi thiết bị
|
|
1870
1870
|
* + 'compress-frame': Nén ảnh sau khi tải lên, nén ảnh theo tỉ lệ màn hình của mỗi khung hình thiết bị
|
|
1871
1871
|
* @field resolution: {} hoặc {width, height} của màn hình hoặc {width, height} của khung hình
|
|
1872
|
-
* @returns Object => obj = {vcode,
|
|
1872
|
+
* @returns Object => obj = {vcode, msg, data, error}
|
|
1873
1873
|
* vcode === 0 : upload ảnh thành công
|
|
1874
1874
|
* vcode === 1 : lỗi import file ảnh
|
|
1875
1875
|
* vcode === 2 : lỗi upload file ảnh
|
|
@@ -12060,9 +12060,9 @@ export declare class VhQueryAutoWeb {
|
|
|
12060
12060
|
*/
|
|
12061
12061
|
deployWebAppsource_toBuild_byEmail(build_email: string, build_password: string): Promise<unknown>;
|
|
12062
12062
|
/**
|
|
12063
|
-
* Hàm này đẩy source webapp từ dự án Autoweb_design lên hosting dự án Autoweb_build
|
|
12063
|
+
* Hàm này đẩy source webapp từ dự án Autoweb_design lên hosting dự án Autoweb_build, dùng database Cloud Mongo của Viethas
|
|
12064
12064
|
* @example:
|
|
12065
|
-
* this.vhQueryAutoWeb.
|
|
12065
|
+
* this.vhQueryAutoWeb.deployWebAppsource_toMongoHosting_byEmail('domain05', 'devdomain05@gmail.com','123456')
|
|
12066
12066
|
.then((rsp:any)=>{
|
|
12067
12067
|
console.log('rsp', rsp);
|
|
12068
12068
|
if(rsp.vcode === 0){
|
|
@@ -12080,7 +12080,48 @@ export declare class VhQueryAutoWeb {
|
|
|
12080
12080
|
* vcode == 0: Message sent to email address successfully
|
|
12081
12081
|
* vcode == 1: Email address does not exist
|
|
12082
12082
|
*/
|
|
12083
|
-
|
|
12083
|
+
deployWebAppsource_toMongoHosting_byEmail(hosting: string, hosting_email: string, hosting_password: string, cloning_options: any): Promise<unknown>;
|
|
12084
|
+
/**
|
|
12085
|
+
* Hàm này đẩy source webapp từ dự án Autoweb_design lên hosting dự án Autoweb_build, dùng database MySQL của hosting
|
|
12086
|
+
* @example:
|
|
12087
|
+
* this.vhQueryAutoWeb.deployWebAppsource_toMySqlHosting_byEmail('domain05', 'devdomain05@gmail.com','123456')
|
|
12088
|
+
.then((rsp:any)=>{
|
|
12089
|
+
console.log('rsp', rsp);
|
|
12090
|
+
if(rsp.vcode === 0){
|
|
12091
|
+
//-----------your code 0-----------
|
|
12092
|
+
}else if(rsp.vcode === 1){
|
|
12093
|
+
//-----------your code 1-----------
|
|
12094
|
+
}
|
|
12095
|
+
},(error:any)=>{
|
|
12096
|
+
console.log('error', error)
|
|
12097
|
+
})
|
|
12098
|
+
* @param hosting_email
|
|
12099
|
+
* @param hosting_password
|
|
12100
|
+
* @param cloning_options = {source_webapp:none/renew/overwrite, template_webapp: none/renew/overwrite, commondata_webapp: none/renew/overwrite, database_webapp: none/renew/overwrite}
|
|
12101
|
+
* @return Promise object => response = {vcode, msg}
|
|
12102
|
+
* vcode == 0: Message sent to email address successfully
|
|
12103
|
+
* vcode == 1: Email address does not exist
|
|
12104
|
+
*/
|
|
12105
|
+
deployWebAppsource_toMySqlHosting_byEmail(hosting: string, hosting_email: string, hosting_password: string, cloning_options: any): Promise<unknown>;
|
|
12106
|
+
/**
|
|
12107
|
+
* Hàm này tải source webapp từ dự án Autoweb_design về dạng package, chép lên hosting, chạy url cài đặt, sau đó vào website bình thường
|
|
12108
|
+
* @example:
|
|
12109
|
+
* this.vhQueryAutoWeb.deployWebAppsource_toMySqlHosting_byEmail()
|
|
12110
|
+
.then((rsp:any)=>{
|
|
12111
|
+
console.log('rsp', rsp);
|
|
12112
|
+
if(rsp.vcode === 0){
|
|
12113
|
+
//-----------your code 0-----------
|
|
12114
|
+
let url = rsp.data;
|
|
12115
|
+
window.open(url);
|
|
12116
|
+
}else if(rsp.vcode === 1){
|
|
12117
|
+
//-----------your code 1-----------
|
|
12118
|
+
}
|
|
12119
|
+
},(error:any)=>{
|
|
12120
|
+
console.log('error', error)
|
|
12121
|
+
})
|
|
12122
|
+
* @return Promise object => response = {vcode, msg, data}
|
|
12123
|
+
*/
|
|
12124
|
+
deployWebAppsource_toPackage(): Promise<unknown>;
|
|
12084
12125
|
/**
|
|
12085
12126
|
* Hàm này tạo tài khoản hosting cho dự án Autoweb_Build
|
|
12086
12127
|
* @example:
|
|
@@ -14811,6 +14852,7 @@ export declare class VhQueryAutoWeb {
|
|
|
14811
14852
|
*/
|
|
14812
14853
|
getCategorys_byFields(query: object, projection?: object, sort?: object, limit?: number, page?: number): Promise<unknown>;
|
|
14813
14854
|
/**
|
|
14855
|
+
* Lấy về cây danh mục phân cấp mới theo id_father_category
|
|
14814
14856
|
* @example:▲
|
|
14815
14857
|
* this.vhQueryAutoWeb.getCategorySteps_byIdFatherCategory("5QKS9fq2rsl4egOJCf7h", {}, {},{},6,1)
|
|
14816
14858
|
.then(response=>{
|
|
@@ -19242,7 +19284,7 @@ export declare class VhDesignAutoWeb {
|
|
|
19242
19284
|
deployWebAppsource_toBuild_byEmail(database: string, build_email: string, build_password: string): Promise<any>;
|
|
19243
19285
|
/**
|
|
19244
19286
|
* @example:
|
|
19245
|
-
* this.vhDesignAutoWeb.
|
|
19287
|
+
* this.vhDesignAutoWeb.deployWebAppsource_toMongoHosting_byEmail('nlQaKuDIMi6M7XtwmNMk', 'domain05', 'devhosting@gmail.com', '***')
|
|
19246
19288
|
.then((response:any)=>{
|
|
19247
19289
|
console.log('response', response);
|
|
19248
19290
|
if(response.vcode === 0){
|
|
@@ -19260,7 +19302,29 @@ export declare class VhDesignAutoWeb {
|
|
|
19260
19302
|
* vcode == 0: Message sent to email address successfully
|
|
19261
19303
|
* vcode == 1: Email address does not exist
|
|
19262
19304
|
*/
|
|
19263
|
-
|
|
19305
|
+
deployWebAppsource_toMongoHosting_byEmail(database: string, hosting: string, hosting_email: string, hosting_password: string, cloning_options: any): Promise<any>;
|
|
19306
|
+
/**
|
|
19307
|
+
* @example:
|
|
19308
|
+
* this.vhDesignAutoWeb.deployWebAppsource_toMySqlHosting_byEmail('nlQaKuDIMi6M7XtwmNMk', 'domain05', 'devhosting@gmail.com', '***')
|
|
19309
|
+
.then((response:any)=>{
|
|
19310
|
+
console.log('response', response);
|
|
19311
|
+
if(response.vcode === 0){
|
|
19312
|
+
//-----------your code 0-----------
|
|
19313
|
+
}else if(response.vcode === 1){
|
|
19314
|
+
//-----------your code 1-----------
|
|
19315
|
+
}
|
|
19316
|
+
},(error:any)=>{
|
|
19317
|
+
console.log('error', error)
|
|
19318
|
+
})
|
|
19319
|
+
* @param email
|
|
19320
|
+
* @param password
|
|
19321
|
+
* @param cloning_options = {source_webapp:none/renew/overwrite, template_webapp: none/renew/overwrite, database_webapp: none/renew/overwrite}
|
|
19322
|
+
* @return Promise object => response = {vcode, msg}
|
|
19323
|
+
* vcode == 0: Message sent to email address successfully
|
|
19324
|
+
* vcode == 1: Email address does not exist
|
|
19325
|
+
*/
|
|
19326
|
+
deployWebAppsource_toMySqlHosting_byEmail(database: string, hosting: string, hosting_email: string, hosting_password: string, cloning_options: any): Promise<any>;
|
|
19327
|
+
deployWebAppsource_toPackage(database: string): Promise<any>;
|
|
19264
19328
|
/**
|
|
19265
19329
|
* @example:
|
|
19266
19330
|
* this.vhDesignAutoWeb.forgotPasswordEndUser_byEmail('salesf110@gmail.com','h674567')
|