ionic-vhframeworks 9.8.4 → 9.8.5

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.
@@ -13814,6 +13814,37 @@ export declare class VhQueryAutoWeb {
13814
13814
  * @return Promise => page = {}
13815
13815
  */
13816
13816
  getDetailFrame(id_frame: any): Promise<unknown>;
13817
+ /**
13818
+ * Hàm này lấy nội dụng file sitemap.xml về và hiển thị lên
13819
+ * @example:
13820
+ * this.vhQueryAutoWeb.getFileSitemap()
13821
+ .then((rsp)=>{
13822
+ console.log('getFileSitemap', rsp);
13823
+ },(error:any)=>{
13824
+ console.log('error', error);
13825
+ })
13826
+ * @return Promise => rsp ={vcode, msg, data(object)} / error
13827
+ * @notice : hàm này chỉ add được dữ liệu sau khi nhân viên quản trị đã đăng nhập
13828
+ * vcode == 0: success
13829
+ * vcode == 11: 'not logged in
13830
+ */
13831
+ getFileSitemap(): Promise<unknown>;
13832
+ /**
13833
+ * Hàm này lấy nội dụng đang hiển thị xuống file sitemap.xml
13834
+ * @example:
13835
+ * this.vhQueryAutoWeb.saveFileSitemap()
13836
+ .then((rsp)=>{
13837
+ console.log('saveFileSitemap', rsp);
13838
+ },(error:any)=>{
13839
+ console.log('error', error);
13840
+ })
13841
+ * @param records: [{loc, lastmod, changefreq, priority},...]
13842
+ * @return Promise => rsp ={vcode, msg, data(object)} / error
13843
+ * @notice : hàm này chỉ add được dữ liệu sau khi nhân viên quản trị đã đăng nhập
13844
+ * vcode == 0: success
13845
+ * vcode == 11: 'not logged in
13846
+ */
13847
+ saveFileSitemap(records: any): Promise<unknown>;
13817
13848
  /**
13818
13849
  * Hàm này dùng để thêm trường mới (trường động) cho bất kỳ ngành hàng nào
13819
13850
  * @example:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ionic-vhframeworks",
3
- "version": "9.8.4",
3
+ "version": "9.8.5",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^12.2.0",
6
6
  "@angular/core": "^12.2.0"