@plyaz/api 1.7.1 → 1.7.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.
@@ -1 +1 @@
1
- {"version":3,"file":"downloadFile.d.ts","sourceRoot":"","sources":["../../../../../src/api/services/files/GET/downloadFile.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAOH,OAAO,KAAK,EAAE,mBAAmB,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAE5E,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAE7C;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,wBAAsB,YAAY,CAAC,UAAU,GAAG,aAAa,EAC3D,OAAO,EAAE,mBAAmB,EAC5B,OAAO,CAAC,EAAE,cAAc,CAAC,UAAU,CAAC,GACnC,OAAO,CAAC,aAAa,CAAC,CA8BxB"}
1
+ {"version":3,"file":"downloadFile.d.ts","sourceRoot":"","sources":["../../../../../src/api/services/files/GET/downloadFile.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAOH,OAAO,KAAK,EAAE,mBAAmB,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAE5E,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAE7C;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,wBAAsB,YAAY,CAAC,UAAU,GAAG,aAAa,EAC3D,OAAO,EAAE,mBAAmB,EAC5B,OAAO,CAAC,EAAE,cAAc,CAAC,UAAU,CAAC,GACnC,OAAO,CAAC,aAAa,CAAC,CA6BxB"}
@@ -1 +1 @@
1
- {"version":3,"file":"useDownloadFile.d.ts","sourceRoot":"","sources":["../../../../../src/api/services/files/GET/useDownloadFile.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAIH,OAAO,KAAK,EACV,mBAAmB,EACnB,oBAAoB,EACpB,cAAc,EACd,QAAQ,EACR,cAAc,EACd,eAAe,EAChB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACzD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAErD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,wBAAgB,eAAe,CAAC,UAAU,GAAG,aAAa,EACxD,QAAQ,EAAE,QAAQ,EAClB,OAAO,EAAE,mBAAmB,EAC5B,cAAc,CAAC,EAAE,cAAc,CAAC,UAAU,CAAC,EAC3C,YAAY,CAAC,EAAE,IAAI,CACjB,eAAe,CAAC,oBAAoB,EAAE,aAAa,CAAC,EACpD,WAAW,GAAG,WAAW,CAC1B,GACA,cAAc,CAAC,oBAAoB,EAAE,aAAa,CAAC,CAarD"}
1
+ {"version":3,"file":"useDownloadFile.d.ts","sourceRoot":"","sources":["../../../../../src/api/services/files/GET/useDownloadFile.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAIH,OAAO,KAAK,EACV,mBAAmB,EACnB,oBAAoB,EACpB,cAAc,EACd,QAAQ,EACR,cAAc,EACd,eAAe,EAChB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACzD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAErD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,wBAAgB,eAAe,CAAC,UAAU,GAAG,aAAa,EACxD,QAAQ,EAAE,QAAQ,EAClB,OAAO,EAAE,mBAAmB,EAC5B,cAAc,CAAC,EAAE,cAAc,CAAC,UAAU,CAAC,EAC3C,YAAY,CAAC,EAAE,IAAI,CACjB,eAAe,CAAC,oBAAoB,EAAE,aAAa,CAAC,EACpD,WAAW,GAAG,WAAW,CAC1B,GACA,cAAc,CAAC,oBAAoB,EAAE,aAAa,CAAC,CASrD"}
@@ -23699,7 +23699,7 @@ async function downloadFile(request, options) {
23699
23699
  );
23700
23700
  }
23701
23701
  const serviceDefaults = {
23702
- unifiedStrategy: "background",
23702
+ unifiedStrategy: "mutation",
23703
23703
  timeout: 6e4
23704
23704
  // 60 seconds for downloads
23705
23705
  };
@@ -23754,11 +23754,7 @@ __name(useGetFile, "useGetFile");
23754
23754
 
23755
23755
  // src/api/services/files/GET/useDownloadFile.ts
23756
23756
  function useDownloadFile(queryKey, request, serviceOptions, queryOptions) {
23757
- return createApiQuery(downloadFile, {
23758
- apiConfig: {
23759
- unifiedStrategy: "background"
23760
- }
23761
- })(queryKey, request, serviceOptions, queryOptions);
23757
+ return createApiQuery(downloadFile)(queryKey, request, serviceOptions, queryOptions);
23762
23758
  }
23763
23759
  __name(useDownloadFile, "useDownloadFile");
23764
23760