@fusebase/fusebase-gate-sdk 2.2.11-sdk.6 → 2.2.12-sdk.0
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/dist/apis/IsolatedStoresApi.d.ts +2 -2
- package/dist/apis/IsolatedStoresApi.js +2 -2
- package/dist/types/file/file.d.ts +6 -4
- package/dist/types/note/note.d.ts +0 -4
- package/package.json +1 -1
- package/release-notes/2.2.12-sdk.0.md +9 -0
- package/release-notes/latest.md +3 -3
- package/release-notes/2.2.11-sdk.6.md +0 -9
|
@@ -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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
package/release-notes/latest.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
# Release Notes 2.2.
|
|
1
|
+
# Release Notes 2.2.12-sdk.0
|
|
2
2
|
|
|
3
3
|
- Current ref: `HEAD`
|
|
4
|
-
- Previous tag: `v2.2.
|
|
5
|
-
- Generated at: 2026-04-
|
|
4
|
+
- Previous tag: `v2.2.12-sdk.0`
|
|
5
|
+
- Generated at: 2026-04-29T08:19:59.144Z
|
|
6
6
|
|
|
7
7
|
## Included Drafts
|
|
8
8
|
|