ionic-vhframeworks 9.2.7 → 9.2.9

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.
@@ -913,6 +913,12 @@ export declare class VhAuth {
913
913
  * @return: nơi lưu trữ dữ liệu 'firebase-mongo' hoặc 'firebase'
914
914
  */
915
915
  getDBstorage(): any;
916
+ /**
917
+ * @example:
918
+ * let tplstorage = this.vhAuth.getTPLstorage();
919
+ * @return: nơi lưu trữ template 'mongo' hoặc 'file'
920
+ */
921
+ getTPLstorage(): any;
916
922
  /**
917
923
  * @example:
918
924
  * let imgstorage = this.vhAuth.getDBstorage();
@@ -946,17 +952,17 @@ export declare class VhAuth {
946
952
  * @param projectname
947
953
  * @param dbstorage: 'firebase' or 'firebase-mongo'
948
954
  * @param imgstorage: 'firebase' or 'viethas'
949
- * @param cssstorage : nơi css sẽ được lưu trữ 'local', 'database', or 'file'
955
+ * @param tplstorage : nơi css sẽ được lưu trữ 'local', 'mongo', or 'file'
950
956
  * @param dbserverversion
951
957
  * @param camserverversion
952
958
  * @param fwcode
953
959
  * @param database : tất cả database 'all' hoặc một database nào đó '4wk3JMSwSjh4kOLWOMbLbWt0Rdk2'
954
960
  * @returns void
955
961
  */
956
- initializeProject(projectname: string, dbstorage: string, imgstorage: string, cssstorage: string, dbserverversion: string, camserverversion: string, fwcode: number, database: string): any;
962
+ initializeProject(projectname: string, dbstorage: string, imgstorage: string, tplstorage: string, dbserverversion: string, camserverversion: string, fwcode: number, database: string): any;
957
963
  /**
958
964
  * @example:
959
- * this.vhAuth.initializeBuildProject('vhsales','firebase-mongo', 'viethas', 'firebase', 'research', 'research', 324852, 'all')
965
+ * this.vhAuth.initializeBuildProject('vhsales','mongo', 'viethas', 'file', 'research', 'research', 324852, 'all')
960
966
  .then(()=>{
961
967
  resolve(null);
962
968
  },error=>{
@@ -965,14 +971,14 @@ export declare class VhAuth {
965
971
  * @param projectname
966
972
  * @param dbstorage: 'firebase', 'firebase-mongo', 'mongo', or 'mysqlphp'
967
973
  * @param imgstorage: 'firebase', 'viethas' or 'hosting'
968
- * @param cssstorage : nơi css sẽ được lưu trữ 'local', 'database', or 'file'
974
+ * @param tplstorage : nơi template sẽ được lưu trữ 'mongo', or 'file'
969
975
  * @param dbserverversion
970
976
  * @param camserverversion
971
977
  * @param fwcode
972
978
  * @param database : tất cả database 'all' hoặc một database nào đó '4wk3JMSwSjh4kOLWOMbLbWt0Rdk2'
973
979
  * @returns Promise
974
980
  */
975
- initializeBuildProject(projectname: string, dbstorage: string, imgstorage: string, cssstorage: string, dbserverversion: string, camserverversion: string, fwcode: number, database: string): Promise<unknown>;
981
+ initializeBuildProject(projectname: string, dbstorage: string, imgstorage: string, tplstorage: string, dbserverversion: string, camserverversion: string, fwcode: number, database: string): Promise<unknown>;
976
982
  /**
977
983
  * @example:
978
984
  * this.vhAuth.initializeDesignProject('vhuserweb','mongo', 'viethas', 'mongo', 'research', 'research', 240...)
@@ -984,13 +990,13 @@ export declare class VhAuth {
984
990
  * @param projectname
985
991
  * @param dbstorage: 'firebase', 'firebase-mongo', or 'mongo'
986
992
  * @param imgstorage: 'firebase' or 'viethas'
987
- * @param cssstorage : nơi css sẽ được lưu trữ 'local', 'firebase', 'mongo' or 'file'
993
+ * @param tplstorage : nơi css sẽ được lưu trữ 'local', 'firebase', 'mongo' or 'file'
988
994
  * @param dbserverversion
989
995
  * @param camserverversion
990
996
  * @param fwcode
991
997
  * @returns Promise
992
998
  */
993
- initializeDesignProject(projectname: string, dbstorage: string, imgstorage: string, cssstorage: string, dbserverversion: string, camserverversion: string, fwcode: number): any;
999
+ initializeDesignProject(projectname: string, dbstorage: string, imgstorage: string, tplstorage: string, dbserverversion: string, camserverversion: string, fwcode: number): any;
994
1000
  /**
995
1001
  * @example:
996
1002
  * this.vhAuth.initializeWebAppProject('vhsales', 356842, 'all');
@@ -18867,7 +18873,7 @@ export declare class VhBuildAutoWeb {
18867
18873
  */
18868
18874
  signUpWebAppOwner(email: string, password: string, phoneNumber: any, info: any): Promise<unknown>;
18869
18875
  getProjectName(): string;
18870
- getCSSstorage(): any;
18876
+ getTPLstorage(): any;
18871
18877
  getDBstorage(): any;
18872
18878
  /**
18873
18879
  * @example SET:
@@ -19469,7 +19475,6 @@ export declare class VhBuildAutoWeb {
19469
19475
  * @param id_doc
19470
19476
  * @return null or object
19471
19477
  */
19472
- static_getDoc_fromService(colname: string, id_doc: string): Promise<unknown>;
19473
19478
  /**
19474
19479
  * @example:
19475
19480
  * this.vhBuildAutoWeb.static_updateDoc_fromDatabase('categories', '5fb6780ca2148e09806c5b01', {name: 'Quảng cáo 1'})
@@ -19502,7 +19507,7 @@ export declare class VhBuildAutoWeb {
19502
19507
  static_getDoc_fromDatabase(colname: string, id_doc: string): Promise<unknown>;
19503
19508
  /**
19504
19509
  * @example:
19505
- * this.vhBuildAutoWeb.static_getDocs_fromService_byFields_byPages('webapp_abouts', {name:{$eq:'name abc'}}, {},{},6,1)
19510
+ * this.vhBuildAutoWeb.static_getDocs_fromDatabase_byFields_byPages('webapp_abouts', {name:{$eq:'name abc'}}, {},{},6,1)
19506
19511
  .then(response=>{
19507
19512
  console.log('response', response);
19508
19513
  if(response.vcode === 0){
@@ -19520,10 +19525,10 @@ export declare class VhBuildAutoWeb {
19520
19525
  * @param page — null hoặc 0 hoặc 1: get về trang đầu tiên; 2: get về trang thứ 2
19521
19526
  * @return Promise object => response = {vcode, msg, data(array), limit, page, totalpages}
19522
19527
  */
19523
- static_getDocs_fromService_byFields_byPages(colname: string, query: any, projection?: object, sort?: any, limit?: number, page?: number): Promise<unknown>;
19528
+ static_getDocs_fromDatabase_byFields_byPages(colname: string, query: any, projection?: object, sort?: any, limit?: number, page?: number): Promise<unknown>;
19524
19529
  /**
19525
19530
  * @example:
19526
- * this.vhBuildAutoWeb.static_getDocs_fromService_byFields('webapp_abouts', {name:{$eq:'name abc'}}, {},{},6,1)
19531
+ * this.vhBuildAutoWeb.static_getDocs_fromDatabase_byFields('webapp_abouts', {name:{$eq:'name abc'}}, {},{},6,1)
19527
19532
  .then(response=>{
19528
19533
  console.log('response', response);
19529
19534
  if(response.vcode === 0){
@@ -19541,22 +19546,6 @@ export declare class VhBuildAutoWeb {
19541
19546
  * @param page — null hoặc 0 hoặc 1: get về trang đầu tiên; 2: get về trang thứ 2
19542
19547
  * @return Promise => array(object) = [{},{},..]
19543
19548
  */
19544
- static_getDocs_fromService_byFields(colname: string, query: any, projection?: object, sort?: any, limit?: number): Promise<unknown>;
19545
- /**
19546
- * @example:
19547
- * this.vhBuildAutoWeb.static_getDocs_fromDatabase_byFields('webapp_abouts', {name:{$eq:'name abc'}}, {},{},6,1)
19548
- .then(webapp_abouts=>{
19549
- console.log('static_getDocs_fromDatabase_byFields', webapp_abouts);
19550
- },(error:any)=>{
19551
- console.log('error', error)
19552
- })
19553
- * @param colname
19554
- * @param query
19555
- * @param projection — đang tìm hiểu, tạm thời để giá trị là {}
19556
- * @param sort — null hoặc {}:không sắp xếp; {date:1}: sắp xếp theo ASC; {date:-1}: sắp xếp theo DESC
19557
- * @param limit — null hoặc 0: không giới hạn record get về; 2: get về 2 record
19558
- * @return Promise => array(object) = [{},{},..]
19559
- */
19560
19549
  static_getDocs_fromDatabase_byFields(colname: string, query: any, projection?: object, sort?: any, limit?: number): Promise<unknown>;
19561
19550
  /**
19562
19551
  * @example:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ionic-vhframeworks",
3
- "version": "9.2.7",
3
+ "version": "9.2.9",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^12.2.0",
6
6
  "@angular/core": "^12.2.0"