ionic-vhframeworks 8.4.5 → 8.4.8
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.
|
@@ -511,8 +511,33 @@ export declare class VhAuth {
|
|
|
511
511
|
* @return Promise => user = {}
|
|
512
512
|
*/
|
|
513
513
|
onAuthStateChanged(): Promise<unknown>;
|
|
514
|
-
|
|
515
|
-
|
|
514
|
+
/**
|
|
515
|
+
* @example:
|
|
516
|
+
* this.vhAuth.signUpOwner_AutoWeb_Designer('huyleduc92@gmail.com', 'Vh123456', '+84909925359',{})
|
|
517
|
+
.then((rsp:any)=>{
|
|
518
|
+
if(rsp.vcode === 0){
|
|
519
|
+
let owner = rsp.data;
|
|
520
|
+
}else if(rsp.vcode === 1){
|
|
521
|
+
//thông báo trùng số đt
|
|
522
|
+
}else if(rsp.vcode === 2){
|
|
523
|
+
//thông báo trùng email
|
|
524
|
+
}else if(rsp.vcode === 3){
|
|
525
|
+
//thông báo số điện thoại sai định dạng
|
|
526
|
+
}
|
|
527
|
+
})
|
|
528
|
+
* @param email
|
|
529
|
+
* @param pwd: password
|
|
530
|
+
* @param phoneNumber
|
|
531
|
+
* @param info
|
|
532
|
+
* @return Promise object => rsp = {vcode, message}
|
|
533
|
+
* vcode === 0: phoneNumber, email trước đây chưa ký trên hệ thông nên bây giờ có thể dùng để đăng ký
|
|
534
|
+
* mã opt gửi về điện thoại người dùng
|
|
535
|
+
* vcode === 1: Hiện thị ra thông báo cho người dùng biết rằng số điện thoại của họ đã được đăng ký sử dụng trước đây, nên giờ ko dùng đc nữa, phải dùng số đt khác
|
|
536
|
+
* vcode === 2: Hiện thị ra thông báo cho người dùng biết rằng email của họ đã được đăng ký sử dụng trước đây, nên giờ ko dùng đc nữa, phải dùng email khác
|
|
537
|
+
* vcode === 3: Hiện thị ra thông báo cho người dùng biết rằng số điện thoại của họ nhập vào không đúng với định dạng của nhà mạng
|
|
538
|
+
* @notice : nhớ kiểm tra email đúng cú pháp và chuỗi trước @gmail.com có chiều dài lớn hơn bằng 6 thì nút "Đồng ý" mới sáng lên
|
|
539
|
+
*/
|
|
540
|
+
signUpOwner_AutoWeb_Designer(email: string, pwd: string, phoneNumber: string, info: object): Promise<unknown>;
|
|
516
541
|
signUpOwner_AutoWeb_Developer(email: string, password: string, phoneNumber: string, info: any): Promise<unknown>;
|
|
517
542
|
/**
|
|
518
543
|
* @example:
|
|
@@ -12009,7 +12034,7 @@ export declare class VhQueryAutoWeb {
|
|
|
12009
12034
|
* @example:
|
|
12010
12035
|
* this.vhQueryAutoWeb.signUpWebAppOwner('huyleduc92@gmail.com', '123456', '+84909925359',{})
|
|
12011
12036
|
.then((owner)=>{
|
|
12012
|
-
console.log('
|
|
12037
|
+
console.log('signUpWebAppOwner', owner);
|
|
12013
12038
|
},(error:any)=>{
|
|
12014
12039
|
console.log('error', error);
|
|
12015
12040
|
})
|
|
@@ -18964,7 +18989,9 @@ export declare class VhDesignAutoWeb {
|
|
|
18964
18989
|
*/
|
|
18965
18990
|
signUpWebAppOwner(email: string, password: string, phoneNumber: any, info: any): Promise<unknown>;
|
|
18966
18991
|
detailPage: any;
|
|
18992
|
+
detailFreeBlock: any;
|
|
18967
18993
|
getDetailPage(id_page: any): Promise<unknown>;
|
|
18994
|
+
getDetailFreeBlock(id_block: any): Promise<unknown>;
|
|
18968
18995
|
getDetailBlock(id_block: any): Promise<unknown>;
|
|
18969
18996
|
getDetailBlock_byBlock(block: any): Promise<unknown>;
|
|
18970
18997
|
getDetailObject(id_object: any): Promise<unknown>;
|
|
@@ -18977,7 +19004,6 @@ export declare class VhDesignAutoWeb {
|
|
|
18977
19004
|
private addBlockOrObject_fromDetailPage;
|
|
18978
19005
|
private addCloneBlockOrObject_fromDetailPage;
|
|
18979
19006
|
private deleteCloneBlockOrObject_fromDetailPage;
|
|
18980
|
-
private updateBlockOrObject_fromDetailPage2;
|
|
18981
19007
|
private updateBlockOrObject_fromDetailPage;
|
|
18982
19008
|
private deleteBlockOrObject_fromDetailPage;
|
|
18983
19009
|
stopSocketDatabase(): void;
|