@fusebase/fusebase-gate-sdk 2.2.11-sdk.6 → 2.2.11

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.
@@ -74,7 +74,7 @@ export declare class IsolatedStoresApi {
74
74
  }): Promise<CreateIsolatedStoreResponseContract>;
75
75
  /**
76
76
  * Create isolated store checkpoint
77
- * Creates a new revision marker for the selected stage instance. For sql/postgres stages, gate also creates a physical pg_dump snapshot. The resulting file URL is stored in snapshotRef; a caller-provided snapshotRef is preserved in revision metadata as an external reference.
77
+ * Creates a new revision marker for the selected stage instance. For sql/postgres stages, gate also creates a physical pg_dump snapshot. The resulting provider-backed snapshot reference is stored in snapshotRef; a caller-provided snapshotRef is preserved in revision metadata as an external reference.
78
78
  */
79
79
  createIsolatedStoreCheckpoint(params: {
80
80
  path: {
@@ -302,7 +302,7 @@ export declare class IsolatedStoresApi {
302
302
  }): Promise<IsolatedStoreSqlQueryResponseContract>;
303
303
  /**
304
304
  * Restore isolated store revision
305
- * Restores a sql/postgres stage from a previously created physical file snapshot. For auto-provisioned dedicated stage databases, gate recreates the target database before running pg_restore. Only file:// snapshotRef values are restorable in MVP.
305
+ * Restores a sql/postgres stage from a previously created physical snapshot. For auto-provisioned dedicated stage databases, gate recreates the target database before running pg_restore. Restorable snapshotRef values depend on the configured snapshot storage provider; gate currently supports file:// and azure-blob:// refs.
306
306
  */
307
307
  restoreIsolatedStoreRevision(params: {
308
308
  path: {
@@ -88,7 +88,7 @@ class IsolatedStoresApi {
88
88
  }
89
89
  /**
90
90
  * Create isolated store checkpoint
91
- * Creates a new revision marker for the selected stage instance. For sql/postgres stages, gate also creates a physical pg_dump snapshot. The resulting file URL is stored in snapshotRef; a caller-provided snapshotRef is preserved in revision metadata as an external reference.
91
+ * Creates a new revision marker for the selected stage instance. For sql/postgres stages, gate also creates a physical pg_dump snapshot. The resulting provider-backed snapshot reference is stored in snapshotRef; a caller-provided snapshotRef is preserved in revision metadata as an external reference.
92
92
  */
93
93
  async createIsolatedStoreCheckpoint(params) {
94
94
  return this.client.request({
@@ -352,7 +352,7 @@ class IsolatedStoresApi {
352
352
  }
353
353
  /**
354
354
  * Restore isolated store revision
355
- * Restores a sql/postgres stage from a previously created physical file snapshot. For auto-provisioned dedicated stage databases, gate recreates the target database before running pg_restore. Only file:// snapshotRef values are restorable in MVP.
355
+ * Restores a sql/postgres stage from a previously created physical snapshot. For auto-provisioned dedicated stage databases, gate recreates the target database before running pg_restore. Restorable snapshotRef values depend on the configured snapshot storage provider; gate currently supports file:// and azure-blob:// refs.
356
356
  */
357
357
  async restoreIsolatedStoreRevision(params) {
358
358
  return this.client.request({
@@ -10,10 +10,7 @@ export interface StartMultipartFileUploadRequestContract {
10
10
  export interface DeleteFileRequestContract {
11
11
  fileId: string;
12
12
  }
13
- export interface FileUploadHeadersContract {
14
- "Content-Type": string;
15
- "Content-Length"?: string;
16
- }
13
+ export type FileUploadHeadersContract = Record<string, string>;
17
14
  export interface DeleteFileResponseContract {
18
15
  fileId: string;
19
16
  deleted: boolean;
@@ -34,6 +31,11 @@ export interface StartMultipartFileUploadResponseContract {
34
31
  partsUrls: string[];
35
32
  partSize: number;
36
33
  method: FileUploadMethodContract;
34
+ /**
35
+ * Optional headers for the direct PUT request. For AWS presigned URLs, do not
36
+ * add headers unless they are explicitly allowed by X-Amz-SignedHeaders.
37
+ * If the URL has X-Amz-SignedHeaders=host, send no custom headers.
38
+ */
37
39
  headers: FileUploadHeadersContract;
38
40
  tempStoredfileName: string;
39
41
  partNumber: number;
@@ -58,10 +58,6 @@ export interface AddWorkspaceNoteAttachmentRequestContract {
58
58
  * Stored-file UUID returned by completeMultipartFileUpload.
59
59
  */
60
60
  storedFileUUID: string;
61
- /**
62
- * Whether the attachment should appear in the note attachment list.
63
- */
64
- inList?: boolean | null;
65
61
  }
66
62
  export interface WorkspaceNoteAttachmentContract {
67
63
  globalId: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fusebase/fusebase-gate-sdk",
3
- "version": "2.2.11-sdk.6",
3
+ "version": "2.2.11",
4
4
  "description": "TypeScript SDK for Fusebase Gate APIs - Generated from contract introspection",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -2,8 +2,46 @@
2
2
 
3
3
  - Current ref: `HEAD`
4
4
  - Previous tag: `v2.2.11-sdk.6`
5
- - Generated at: 2026-04-28T07:14:08.829Z
5
+ - Generated at: 2026-04-28T13:08:33.113Z
6
6
 
7
7
  ## Included Drafts
8
8
 
9
- - None
9
+ - `docs/release-notes/2026-04-28-note-attachments-inlist-internal.md` - 2026-04-28-note-attachments-inlist-internal
10
+
11
+ ## Summary
12
+
13
+ ### 2026-04-28-note-attachments-inlist-internal
14
+
15
+ Note attachment creation now always sends `inList: false` to note-service and no longer exposes `inList` as an input field.
16
+
17
+
18
+ ## API / SDK Changes
19
+
20
+ ### 2026-04-28-note-attachments-inlist-internal
21
+
22
+ - Removed `inList` from `AddWorkspaceNoteAttachmentRequest`.
23
+ - Regenerated runtime schemas, OpenAPI, and SDK artifacts.
24
+
25
+
26
+ ## Consumer Impact
27
+
28
+ ### 2026-04-28-note-attachments-inlist-internal
29
+
30
+ Consumers should pass only the completed upload `storedFileUUID` when attaching a file to a note. Attachment list visibility is controlled by Gate and remains disabled for this operation.
31
+
32
+
33
+ ## Verification
34
+
35
+ ### 2026-04-28-note-attachments-inlist-internal
36
+
37
+ - `npm run generate:runtime-schema-defs`
38
+ - `npm run test:unit -- tests/unit/notes-controller.test.ts tests/unit/files-controller.test.ts`
39
+ - `npm run release:notes`
40
+ - `npm run build:sdk`
41
+
42
+
43
+ ## Follow-ups
44
+
45
+ ### 2026-04-28-note-attachments-inlist-internal
46
+
47
+ - None.
@@ -0,0 +1,9 @@
1
+ # Release Notes 2.2.11
2
+
3
+ - Current ref: `HEAD`
4
+ - Previous tag: `v2.2.11`
5
+ - Generated at: 2026-04-29T08:17:15.991Z
6
+
7
+ ## Included Drafts
8
+
9
+ - None
@@ -1,8 +1,8 @@
1
- # Release Notes 2.2.11-sdk.6
1
+ # Release Notes 2.2.11
2
2
 
3
3
  - Current ref: `HEAD`
4
- - Previous tag: `v2.2.11-sdk.6`
5
- - Generated at: 2026-04-28T07:14:08.829Z
4
+ - Previous tag: `v2.2.11`
5
+ - Generated at: 2026-04-29T08:17:15.991Z
6
6
 
7
7
  ## Included Drafts
8
8