ionic-vhframeworks 9.1.1 → 9.1.2
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:
|
|
@@ -12567,6 +12590,7 @@ export declare class VhQueryAutoWeb {
|
|
|
12567
12590
|
*/
|
|
12568
12591
|
onAuthStateChangedEndUser(): Promise<any>;
|
|
12569
12592
|
getHostings_byEndUser(): Promise<any>;
|
|
12593
|
+
addHosting_byEndUser(): Promise<any>;
|
|
12570
12594
|
/**
|
|
12571
12595
|
* @example
|
|
12572
12596
|
* this.vhQueryAutoWeb.signoutEndUser();
|
|
@@ -18672,7 +18696,7 @@ export declare class VhBuildAutoWeb {
|
|
|
18672
18696
|
* @return Promise => response.data ={vcode, msg, data(object)} / error
|
|
18673
18697
|
* @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
18698
|
* vcode == 0: success
|
|
18675
|
-
* vcode == 11: 'not logged in
|
|
18699
|
+
* vcode == 11: 'not logged in'
|
|
18676
18700
|
* vcode == 2: wrong projectname
|
|
18677
18701
|
*/
|
|
18678
18702
|
dynamic_addDoc_fromDatabase(colname: string, data: object): Promise<unknown>;
|
|
@@ -19499,6 +19523,27 @@ export declare class VhDesignAutoWeb {
|
|
|
19499
19523
|
* vcode == 1: Email address does not exist
|
|
19500
19524
|
*/
|
|
19501
19525
|
deployWebAppsource_toBuild_byEmail(database: string, build_email: string, build_password: string): Promise<any>;
|
|
19526
|
+
/**
|
|
19527
|
+
* @example:
|
|
19528
|
+
* this.vhDesignAutoWeb.deployWebAppsource_toMongoHosting_byEndUser('664483e744da7a03b4d5e1a2', 'domain07.webappgiare.vn')
|
|
19529
|
+
.then(response=>{
|
|
19530
|
+
console.log('response', response);
|
|
19531
|
+
if(response.vcode === 0){
|
|
19532
|
+
//-----------your code 0-----------
|
|
19533
|
+
}else if(response.vcode === 1){
|
|
19534
|
+
//-----------your code 1-----------
|
|
19535
|
+
}
|
|
19536
|
+
},(error:any)=>{
|
|
19537
|
+
console.log('error', error)
|
|
19538
|
+
})
|
|
19539
|
+
* @param email
|
|
19540
|
+
* @param password
|
|
19541
|
+
* @return Promise object => response = {vcode, msg}
|
|
19542
|
+
* vcode == 0: Message sent to email address successfully
|
|
19543
|
+
* vcode == 1: Email address does not exist
|
|
19544
|
+
* vcode == 11: 'not logged in'
|
|
19545
|
+
*/
|
|
19546
|
+
deployWebAppsource_toMongoHosting_byEndUser(database: string, hosting: string): Promise<any>;
|
|
19502
19547
|
/**
|
|
19503
19548
|
* @example:
|
|
19504
19549
|
* this.vhDesignAutoWeb.deployWebAppsource_toMongoHosting_byEmail('nlQaKuDIMi6M7XtwmNMk', 'domain05', 'devhosting@gmail.com', '***')
|
|
@@ -19673,6 +19718,7 @@ export declare class VhDesignAutoWeb {
|
|
|
19673
19718
|
*/
|
|
19674
19719
|
onAuthStateChangedEndUser(database: string): Promise<any>;
|
|
19675
19720
|
getHostings_byEndUser(database: string): Promise<any>;
|
|
19721
|
+
addHosting_byEndUser(hosting: string): Promise<any>;
|
|
19676
19722
|
/**
|
|
19677
19723
|
* @example
|
|
19678
19724
|
* this.vhDesignAutoWeb.signoutEndUser();
|
|
@@ -19773,6 +19819,11 @@ export declare class VhDesignAutoWeb {
|
|
|
19773
19819
|
* @returns
|
|
19774
19820
|
*/
|
|
19775
19821
|
getDetailFreeBlock(id_block: any): Promise<unknown>;
|
|
19822
|
+
/**
|
|
19823
|
+
* vhDesignAutoWeb
|
|
19824
|
+
* @param id_block
|
|
19825
|
+
* @returns
|
|
19826
|
+
*/
|
|
19776
19827
|
getDetailBlock(id_block: any): Promise<unknown>;
|
|
19777
19828
|
/**
|
|
19778
19829
|
* vhDesignAutoWeb
|