ionic-vhframeworks 9.1.1 → 9.1.3
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.
|
@@ -12132,6 +12132,29 @@ export declare class VhQueryAutoWeb {
|
|
|
12132
12132
|
* vcode == 1: Email address does not exist
|
|
12133
12133
|
*/
|
|
12134
12134
|
deployWebAppsource_toBuild_byEmail(build_email: string, build_password: string): Promise<unknown>;
|
|
12135
|
+
/**
|
|
12136
|
+
* Hàm này Enduser deploy source webapp CHỈ từ dự án webappgiare.vn (chạy trong Autoweb_design và autoweb_build) lên máy chủ (server) của dự án Autoweb_build
|
|
12137
|
+
* Lưu ý: hàm này tự động kiểm tra enduser đã đăng nhập mới cho deploy
|
|
12138
|
+
* @example:
|
|
12139
|
+
* this.vhQueryAutoWeb.deployWebAppsource_toBuild_byEmail('664483e744da7a03b4d5e1a2', 'domain07.webappgiare.vn')
|
|
12140
|
+
.then((rsp:any)=>{
|
|
12141
|
+
console.log('rsp', rsp);
|
|
12142
|
+
if(rsp.vcode === 0){
|
|
12143
|
+
//-----------your code 0-----------
|
|
12144
|
+
}else if(rsp.vcode === 1){
|
|
12145
|
+
//-----------your code 1-----------
|
|
12146
|
+
}
|
|
12147
|
+
},(error:any)=>{
|
|
12148
|
+
console.log('error', error)
|
|
12149
|
+
})
|
|
12150
|
+
* @param build_email
|
|
12151
|
+
* @param build_password
|
|
12152
|
+
* @return Promise object => response = {vcode, msg}
|
|
12153
|
+
* vcode == 0: Message sent to email address successfully
|
|
12154
|
+
* vcode == 1: Email address does not exist
|
|
12155
|
+
* vcode == 11: 'not logged in'
|
|
12156
|
+
*/
|
|
12157
|
+
deployWebAppsource_toMongoHosting_byEndUser(database: string, hosting: string): Promise<unknown>;
|
|
12135
12158
|
/**
|
|
12136
12159
|
* 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
|
|
12137
12160
|
* @example:
|
|
@@ -12566,7 +12589,16 @@ export declare class VhQueryAutoWeb {
|
|
|
12566
12589
|
* vcode == 4: Please reset your password
|
|
12567
12590
|
*/
|
|
12568
12591
|
onAuthStateChangedEndUser(): Promise<any>;
|
|
12592
|
+
/**
|
|
12593
|
+
* this.vhQueryAutoWeb.getHostings_byEndUser()
|
|
12594
|
+
* @returns
|
|
12595
|
+
*/
|
|
12569
12596
|
getHostings_byEndUser(): Promise<any>;
|
|
12597
|
+
/**
|
|
12598
|
+
* this.vhQueryAutoWeb.createHosting_byEndUser()
|
|
12599
|
+
* @returns
|
|
12600
|
+
*/
|
|
12601
|
+
createHosting_byEndUser(): Promise<any>;
|
|
12570
12602
|
/**
|
|
12571
12603
|
* @example
|
|
12572
12604
|
* this.vhQueryAutoWeb.signoutEndUser();
|
|
@@ -18672,7 +18704,7 @@ export declare class VhBuildAutoWeb {
|
|
|
18672
18704
|
* @return Promise => response.data ={vcode, msg, data(object)} / error
|
|
18673
18705
|
* @notice : hàm này chỉ add được dữ liệu sau khi khách hàng hoặc nhân viên đã đăng nhập
|
|
18674
18706
|
* vcode == 0: success
|
|
18675
|
-
* vcode == 11: 'not logged in
|
|
18707
|
+
* vcode == 11: 'not logged in'
|
|
18676
18708
|
* vcode == 2: wrong projectname
|
|
18677
18709
|
*/
|
|
18678
18710
|
dynamic_addDoc_fromDatabase(colname: string, data: object): Promise<unknown>;
|
|
@@ -19499,6 +19531,27 @@ export declare class VhDesignAutoWeb {
|
|
|
19499
19531
|
* vcode == 1: Email address does not exist
|
|
19500
19532
|
*/
|
|
19501
19533
|
deployWebAppsource_toBuild_byEmail(database: string, build_email: string, build_password: string): Promise<any>;
|
|
19534
|
+
/**
|
|
19535
|
+
* @example:
|
|
19536
|
+
* this.vhDesignAutoWeb.deployWebAppsource_toMongoHosting_byEndUser('664483e744da7a03b4d5e1a2', 'domain07.webappgiare.vn')
|
|
19537
|
+
.then(response=>{
|
|
19538
|
+
console.log('response', response);
|
|
19539
|
+
if(response.vcode === 0){
|
|
19540
|
+
//-----------your code 0-----------
|
|
19541
|
+
}else if(response.vcode === 1){
|
|
19542
|
+
//-----------your code 1-----------
|
|
19543
|
+
}
|
|
19544
|
+
},(error:any)=>{
|
|
19545
|
+
console.log('error', error)
|
|
19546
|
+
})
|
|
19547
|
+
* @param email
|
|
19548
|
+
* @param password
|
|
19549
|
+
* @return Promise object => response = {vcode, msg}
|
|
19550
|
+
* vcode == 0: Message sent to email address successfully
|
|
19551
|
+
* vcode == 1: Email address does not exist
|
|
19552
|
+
* vcode == 11: 'not logged in'
|
|
19553
|
+
*/
|
|
19554
|
+
deployWebAppsource_toMongoHosting_byEndUser(database: string, hosting: string): Promise<any>;
|
|
19502
19555
|
/**
|
|
19503
19556
|
* @example:
|
|
19504
19557
|
* this.vhDesignAutoWeb.deployWebAppsource_toMongoHosting_byEmail('nlQaKuDIMi6M7XtwmNMk', 'domain05', 'devhosting@gmail.com', '***')
|
|
@@ -19673,6 +19726,7 @@ export declare class VhDesignAutoWeb {
|
|
|
19673
19726
|
*/
|
|
19674
19727
|
onAuthStateChangedEndUser(database: string): Promise<any>;
|
|
19675
19728
|
getHostings_byEndUser(database: string): Promise<any>;
|
|
19729
|
+
createHosting_byEndUser(hosting: string): Promise<any>;
|
|
19676
19730
|
/**
|
|
19677
19731
|
* @example
|
|
19678
19732
|
* this.vhDesignAutoWeb.signoutEndUser();
|
|
@@ -19773,6 +19827,11 @@ export declare class VhDesignAutoWeb {
|
|
|
19773
19827
|
* @returns
|
|
19774
19828
|
*/
|
|
19775
19829
|
getDetailFreeBlock(id_block: any): Promise<unknown>;
|
|
19830
|
+
/**
|
|
19831
|
+
* vhDesignAutoWeb
|
|
19832
|
+
* @param id_block
|
|
19833
|
+
* @returns
|
|
19834
|
+
*/
|
|
19776
19835
|
getDetailBlock(id_block: any): Promise<unknown>;
|
|
19777
19836
|
/**
|
|
19778
19837
|
* vhDesignAutoWeb
|