@fusebase/fusebase-gate-sdk 2.2.11 → 2.2.12-sdk.1

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.
@@ -137,6 +137,19 @@ export declare class IsolatedStoresApi {
137
137
  };
138
138
  headers?: Record<string, string>;
139
139
  }): Promise<IsolatedStoreSqlDescribeTableResponseContract>;
140
+ /**
141
+ * Download isolated store revision snapshot
142
+ * Streams the stored physical snapshot artifact for the selected isolated store revision. This is an operator-facing download path for backup extraction and works through gate regardless of whether the snapshot provider is local_file or azure_blob.
143
+ */
144
+ downloadIsolatedStoreRevisionSnapshot(params: {
145
+ path: {
146
+ orgId: orgIdInPathRequired;
147
+ storeId: IsolatedStoreIdInPathRequired;
148
+ stage: IsolatedStoreStageInPathRequired;
149
+ revisionId: IsolatedStoreRevisionIdInPathRequired;
150
+ };
151
+ headers?: Record<string, string>;
152
+ }): Promise<unknown>;
140
153
  /**
141
154
  * Run writable SQL statement
142
155
  * Runs a single raw DML statement with execute access against the postgres binding of the selected isolated store stage instance. Only INSERT, UPDATE, and DELETE are allowed on this privileged escape hatch. DDL and schema changes are blocked here and must go through applyIsolatedStoreSqlMigrations so the stage migration journal (fusebase_schema_migrations) stays authoritative.
@@ -159,6 +159,20 @@ class IsolatedStoresApi {
159
159
  expectedContentType: "application/json",
160
160
  });
161
161
  }
162
+ /**
163
+ * Download isolated store revision snapshot
164
+ * Streams the stored physical snapshot artifact for the selected isolated store revision. This is an operator-facing download path for backup extraction and works through gate regardless of whether the snapshot provider is local_file or azure_blob.
165
+ */
166
+ async downloadIsolatedStoreRevisionSnapshot(params) {
167
+ return this.client.request({
168
+ method: "GET",
169
+ path: "/:orgId/isolated-stores/:storeId/stages/:stage/revisions/:revisionId/download",
170
+ pathParams: params.path,
171
+ headers: params.headers,
172
+ opId: "downloadIsolatedStoreRevisionSnapshot",
173
+ expectedContentType: "application/octet-stream",
174
+ });
175
+ }
162
176
  /**
163
177
  * Run writable SQL statement
164
178
  * Runs a single raw DML statement with execute access against the postgres binding of the selected isolated store stage instance. Only INSERT, UPDATE, and DELETE are allowed on this privileged escape hatch. DDL and schema changes are blocked here and must go through applyIsolatedStoreSqlMigrations so the stage migration journal (fusebase_schema_migrations) stays authoritative.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fusebase/fusebase-gate-sdk",
3
- "version": "2.2.11",
3
+ "version": "2.2.12-sdk.1",
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",
@@ -0,0 +1,9 @@
1
+ # Release Notes 2.2.12-sdk.1
2
+
3
+ - Current ref: `HEAD`
4
+ - Previous tag: `v2.2.12-sdk.1`
5
+ - Generated at: 2026-04-30T15:44:51.116Z
6
+
7
+ ## Included Drafts
8
+
9
+ - None
@@ -1,8 +1,8 @@
1
- # Release Notes 2.2.11
1
+ # Release Notes 2.2.12-sdk.1
2
2
 
3
3
  - Current ref: `HEAD`
4
- - Previous tag: `v2.2.11`
5
- - Generated at: 2026-04-29T08:17:15.991Z
4
+ - Previous tag: `v2.2.12-sdk.1`
5
+ - Generated at: 2026-04-30T15:44:51.116Z
6
6
 
7
7
  ## Included Drafts
8
8
 
@@ -1,47 +0,0 @@
1
- # Release Notes 2.2.11-sdk.6
2
-
3
- - Current ref: `HEAD`
4
- - Previous tag: `v2.2.11-sdk.6`
5
- - Generated at: 2026-04-28T13:08:33.113Z
6
-
7
- ## Included Drafts
8
-
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.
@@ -1,9 +0,0 @@
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