@xata.io/client 0.26.3 → 0.26.4
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.
- package/.turbo/turbo-add-version.log +1 -1
- package/.turbo/turbo-build.log +4 -4
- package/CHANGELOG.md +8 -0
- package/dist/index.cjs +15 -10
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +18 -9
- package/dist/index.mjs +15 -10
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/.turbo/turbo-build.log
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
|
2
|
-
> @xata.io/client@0.26.
|
2
|
+
> @xata.io/client@0.26.4 build /home/runner/work/client-ts/client-ts/packages/client
|
3
3
|
> rimraf dist && rollup -c
|
4
4
|
|
5
5
|
[36m
|
6
6
|
[1msrc/index.ts[22m → [1mdist/index.cjs[22m...[39m
|
7
|
-
[32mcreated [1mdist/index.cjs[22m in [
|
7
|
+
[32mcreated [1mdist/index.cjs[22m in [1m1s[22m[39m
|
8
8
|
[36m
|
9
9
|
[1msrc/index.ts[22m → [1mdist/index.mjs[22m...[39m
|
10
|
-
[32mcreated [1mdist/index.mjs[22m in [
|
10
|
+
[32mcreated [1mdist/index.mjs[22m in [1m768ms[22m[39m
|
11
11
|
[36m
|
12
12
|
[1msrc/index.ts[22m → [1mdist/index.d.ts[22m...[39m
|
13
|
-
[32mcreated [1mdist/index.d.ts[22m in [
|
13
|
+
[32mcreated [1mdist/index.d.ts[22m in [1m8.1s[22m[39m
|
package/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# @xata.io/client
|
2
2
|
|
3
|
+
## 0.26.4
|
4
|
+
|
5
|
+
### Patch Changes
|
6
|
+
|
7
|
+
- [#1160](https://github.com/xataio/client-ts/pull/1160) [`7166797c`](https://github.com/xataio/client-ts/commit/7166797c28839198d20a9115d0414cebc2fed39b) Thanks [@SferaDev](https://github.com/SferaDev)! - [Files] Return file id on array
|
8
|
+
|
9
|
+
- [#1156](https://github.com/xataio/client-ts/pull/1156) [`b85df75f`](https://github.com/xataio/client-ts/commit/b85df75f2f466762a8b3d9824c9292c7e3db03fd) Thanks [@SferaDev](https://github.com/SferaDev)! - [Files] Add download transformation
|
10
|
+
|
3
11
|
## 0.26.3
|
4
12
|
|
5
13
|
### Patch Changes
|
package/dist/index.cjs
CHANGED
@@ -529,7 +529,7 @@ function defaultOnOpen(response) {
|
|
529
529
|
}
|
530
530
|
}
|
531
531
|
|
532
|
-
const VERSION = "0.26.
|
532
|
+
const VERSION = "0.26.4";
|
533
533
|
|
534
534
|
var __defProp$7 = Object.defineProperty;
|
535
535
|
var __defNormalProp$7 = (obj, key, value) => key in obj ? __defProp$7(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
@@ -2720,19 +2720,23 @@ var __publicField$6 = (obj, key, value) => {
|
|
2720
2720
|
class XataFile {
|
2721
2721
|
constructor(file) {
|
2722
2722
|
/**
|
2723
|
-
*
|
2723
|
+
* Identifier of the file.
|
2724
|
+
*/
|
2725
|
+
__publicField$6(this, "id");
|
2726
|
+
/**
|
2727
|
+
* Name of the file.
|
2724
2728
|
*/
|
2725
2729
|
__publicField$6(this, "name");
|
2726
2730
|
/**
|
2727
|
-
* Media type of
|
2731
|
+
* Media type of the file.
|
2728
2732
|
*/
|
2729
2733
|
__publicField$6(this, "mediaType");
|
2730
2734
|
/**
|
2731
|
-
* Base64 encoded content of
|
2735
|
+
* Base64 encoded content of the file.
|
2732
2736
|
*/
|
2733
2737
|
__publicField$6(this, "base64Content");
|
2734
2738
|
/**
|
2735
|
-
* Whether to enable public url for
|
2739
|
+
* Whether to enable public url for the file.
|
2736
2740
|
*/
|
2737
2741
|
__publicField$6(this, "enablePublicUrl");
|
2738
2742
|
/**
|
@@ -2740,25 +2744,26 @@ class XataFile {
|
|
2740
2744
|
*/
|
2741
2745
|
__publicField$6(this, "signedUrlTimeout");
|
2742
2746
|
/**
|
2743
|
-
* Size of
|
2747
|
+
* Size of the file.
|
2744
2748
|
*/
|
2745
2749
|
__publicField$6(this, "size");
|
2746
2750
|
/**
|
2747
|
-
* Version of
|
2751
|
+
* Version of the file.
|
2748
2752
|
*/
|
2749
2753
|
__publicField$6(this, "version");
|
2750
2754
|
/**
|
2751
|
-
* Url of
|
2755
|
+
* Url of the file.
|
2752
2756
|
*/
|
2753
2757
|
__publicField$6(this, "url");
|
2754
2758
|
/**
|
2755
|
-
* Signed url of
|
2759
|
+
* Signed url of the file.
|
2756
2760
|
*/
|
2757
2761
|
__publicField$6(this, "signedUrl");
|
2758
2762
|
/**
|
2759
|
-
* Attributes of
|
2763
|
+
* Attributes of the file.
|
2760
2764
|
*/
|
2761
2765
|
__publicField$6(this, "attributes");
|
2766
|
+
this.id = file.id;
|
2762
2767
|
this.name = file.name || "";
|
2763
2768
|
this.mediaType = file.mediaType || "application/octet-stream";
|
2764
2769
|
this.base64Content = file.base64Content;
|