@constructive-io/react 1.21.38 → 1.21.40

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.
@@ -1719,7 +1719,7 @@ export interface UploadFilePayload {
1719
1719
  deduplicated: boolean;
1720
1720
  /** Presigned URL expiry time (null if deduplicated) */
1721
1721
  expiresAt?: string | null;
1722
- /** The projection document for the created file: {id, key, bucket_id, mime, size, filename, url?}. Store this verbatim in an image/upload column — its `id` is what keeps the object from being garbage collected while the column still references it. */
1722
+ /** The projection document for the created file: {id, key, bucket_id, mime, size, filename?}. Store this verbatim in an image/upload column — its `id` is what keeps the object from being garbage collected while the column still references it. After the upload is confirmed, use `file.id` to query the file row's `downloadUrl`. */
1723
1723
  file?: Record<string, unknown> | null;
1724
1724
  /** The file ID (UUID) */
1725
1725
  fileId: string;
@@ -1752,7 +1752,7 @@ export interface UploadPlatformFilePayload {
1752
1752
  deduplicated: boolean;
1753
1753
  /** Presigned URL expiry time (null if deduplicated) */
1754
1754
  expiresAt?: string | null;
1755
- /** The projection document for the created file: {id, key, bucket_id, mime, size, filename, url?}. Store this verbatim in an image/upload column — its `id` is what keeps the object from being garbage collected while the column still references it. */
1755
+ /** The projection document for the created file: {id, key, bucket_id, mime, size, filename?}. Store this verbatim in an image/upload column — its `id` is what keeps the object from being garbage collected while the column still references it. After the upload is confirmed, use `file.id` to query the file row's `downloadUrl`. */
1756
1756
  file?: Record<string, unknown> | null;
1757
1757
  /** The file ID (UUID) */
1758
1758
  fileId: string;
@@ -863,7 +863,7 @@ export interface UploadFilePayload {
863
863
  deduplicated: boolean;
864
864
  /** Presigned URL expiry time (null if deduplicated) */
865
865
  expiresAt?: string | null;
866
- /** The projection document for the created file: {id, key, bucket_id, mime, size, filename, url?}. Store this verbatim in an image/upload column — its `id` is what keeps the object from being garbage collected while the column still references it. */
866
+ /** The projection document for the created file: {id, key, bucket_id, mime, size, filename?}. Store this verbatim in an image/upload column — its `id` is what keeps the object from being garbage collected while the column still references it. After the upload is confirmed, use `file.id` to query the file row's `downloadUrl`. */
867
867
  file?: unknown | null;
868
868
  /** The file ID (UUID) */
869
869
  fileId: string;
@@ -882,7 +882,7 @@ export interface UploadPlatformFilePayload {
882
882
  deduplicated: boolean;
883
883
  /** Presigned URL expiry time (null if deduplicated) */
884
884
  expiresAt?: string | null;
885
- /** The projection document for the created file: {id, key, bucket_id, mime, size, filename, url?}. Store this verbatim in an image/upload column — its `id` is what keeps the object from being garbage collected while the column still references it. */
885
+ /** The projection document for the created file: {id, key, bucket_id, mime, size, filename?}. Store this verbatim in an image/upload column — its `id` is what keeps the object from being garbage collected while the column still references it. After the upload is confirmed, use `file.id` to query the file row's `downloadUrl`. */
886
886
  file?: unknown | null;
887
887
  /** The file ID (UUID) */
888
888
  fileId: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@constructive-io/react",
3
- "version": "1.21.38",
3
+ "version": "1.21.40",
4
4
  "author": "Constructive <developers@constructive.io>",
5
5
  "description": "Constructive React - Auto-generated React Query hooks and ORM client",
6
6
  "main": "index.js",
@@ -41,7 +41,7 @@
41
41
  ],
42
42
  "dependencies": {
43
43
  "@0no-co/graphql.web": "^1.3.3",
44
- "@constructive-io/graphql-query": "^4.24.12",
44
+ "@constructive-io/graphql-query": "^4.24.14",
45
45
  "@constructive-io/graphql-types": "^3.36.4",
46
46
  "@tanstack/react-query": "^5.90.21",
47
47
  "gql-ast": "^3.26.0",
@@ -51,7 +51,7 @@
51
51
  "react": "^18.0.0 || ^19.0.0"
52
52
  },
53
53
  "devDependencies": {
54
- "@constructive-io/graphql-codegen": "^5.25.38",
54
+ "@constructive-io/graphql-codegen": "^5.25.40",
55
55
  "@types/node": "^22.19.11",
56
56
  "@types/react": "^19.2.18",
57
57
  "makage": "^0.8.0",
@@ -59,5 +59,5 @@
59
59
  "tsx": "^4.19.0",
60
60
  "typescript": "^6.0.3"
61
61
  },
62
- "gitHead": "e02d671c081d8441a6b9c8e300cc95ed58e15f7a"
62
+ "gitHead": "67aa67ba96d8b01700ee4dfe8217f64430789d21"
63
63
  }
@@ -1719,7 +1719,7 @@ export interface UploadFilePayload {
1719
1719
  deduplicated: boolean;
1720
1720
  /** Presigned URL expiry time (null if deduplicated) */
1721
1721
  expiresAt?: string | null;
1722
- /** The projection document for the created file: {id, key, bucket_id, mime, size, filename, url?}. Store this verbatim in an image/upload column — its `id` is what keeps the object from being garbage collected while the column still references it. */
1722
+ /** The projection document for the created file: {id, key, bucket_id, mime, size, filename?}. Store this verbatim in an image/upload column — its `id` is what keeps the object from being garbage collected while the column still references it. After the upload is confirmed, use `file.id` to query the file row's `downloadUrl`. */
1723
1723
  file?: Record<string, unknown> | null;
1724
1724
  /** The file ID (UUID) */
1725
1725
  fileId: string;
@@ -1752,7 +1752,7 @@ export interface UploadPlatformFilePayload {
1752
1752
  deduplicated: boolean;
1753
1753
  /** Presigned URL expiry time (null if deduplicated) */
1754
1754
  expiresAt?: string | null;
1755
- /** The projection document for the created file: {id, key, bucket_id, mime, size, filename, url?}. Store this verbatim in an image/upload column — its `id` is what keeps the object from being garbage collected while the column still references it. */
1755
+ /** The projection document for the created file: {id, key, bucket_id, mime, size, filename?}. Store this verbatim in an image/upload column — its `id` is what keeps the object from being garbage collected while the column still references it. After the upload is confirmed, use `file.id` to query the file row's `downloadUrl`. */
1756
1756
  file?: Record<string, unknown> | null;
1757
1757
  /** The file ID (UUID) */
1758
1758
  fileId: string;
@@ -863,7 +863,7 @@ export interface UploadFilePayload {
863
863
  deduplicated: boolean;
864
864
  /** Presigned URL expiry time (null if deduplicated) */
865
865
  expiresAt?: string | null;
866
- /** The projection document for the created file: {id, key, bucket_id, mime, size, filename, url?}. Store this verbatim in an image/upload column — its `id` is what keeps the object from being garbage collected while the column still references it. */
866
+ /** The projection document for the created file: {id, key, bucket_id, mime, size, filename?}. Store this verbatim in an image/upload column — its `id` is what keeps the object from being garbage collected while the column still references it. After the upload is confirmed, use `file.id` to query the file row's `downloadUrl`. */
867
867
  file?: unknown | null;
868
868
  /** The file ID (UUID) */
869
869
  fileId: string;
@@ -882,7 +882,7 @@ export interface UploadPlatformFilePayload {
882
882
  deduplicated: boolean;
883
883
  /** Presigned URL expiry time (null if deduplicated) */
884
884
  expiresAt?: string | null;
885
- /** The projection document for the created file: {id, key, bucket_id, mime, size, filename, url?}. Store this verbatim in an image/upload column — its `id` is what keeps the object from being garbage collected while the column still references it. */
885
+ /** The projection document for the created file: {id, key, bucket_id, mime, size, filename?}. Store this verbatim in an image/upload column — its `id` is what keeps the object from being garbage collected while the column still references it. After the upload is confirmed, use `file.id` to query the file row's `downloadUrl`. */
886
886
  file?: unknown | null;
887
887
  /** The file ID (UUID) */
888
888
  fileId: string;