@fusebase/fusebase-gate-sdk 2.2.11-sdk.5 → 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.
- package/dist/apis/IsolatedStoresApi.d.ts +2 -2
- package/dist/apis/IsolatedStoresApi.js +2 -2
- package/dist/apis/NotesApi.d.ts +6 -6
- package/dist/apis/NotesApi.js +6 -6
- 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.11-sdk.6.md +47 -0
- package/release-notes/2.2.11.md +9 -0
- package/release-notes/latest.md +3 -3
- package/release-notes/2.2.11-sdk.5.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({
|
package/dist/apis/NotesApi.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ export declare class NotesApi {
|
|
|
11
11
|
constructor(client: Client);
|
|
12
12
|
/**
|
|
13
13
|
* Add workspace note attachment
|
|
14
|
-
* Attaches a stored-file UUID from the files upload flow to a workspace note, then appends an image blot for image attachments or a file blot for all other attachment types.
|
|
14
|
+
* Attaches a stored-file UUID from the files upload flow to a workspace note, then appends an image blot for image attachments or a file blot for all other attachment types. Prefer a real workspace id; when the path workspaceId is `default`, gate resolves it to the organization's default workspace before calling note-service and editor-server.
|
|
15
15
|
*/
|
|
16
16
|
addWorkspaceNoteAttachment(params: {
|
|
17
17
|
path: {
|
|
@@ -24,7 +24,7 @@ export declare class NotesApi {
|
|
|
24
24
|
}): Promise<AddWorkspaceNoteAttachmentResponseContract>;
|
|
25
25
|
/**
|
|
26
26
|
* Create workspace note
|
|
27
|
-
* Creates a note in the requested workspace. When parentId is omitted, gate uses `default`. Optional initial text or html can be appended after creation.
|
|
27
|
+
* Creates a note in the requested workspace. Prefer a real workspace id; when the path workspaceId is `default`, gate resolves it to the organization's default workspace before calling note-service and editor-server. When parentId is omitted, gate uses `default`. Optional initial text or html can be appended after creation.
|
|
28
28
|
*/
|
|
29
29
|
createWorkspaceNote(params: {
|
|
30
30
|
path: {
|
|
@@ -36,7 +36,7 @@ export declare class NotesApi {
|
|
|
36
36
|
}): Promise<CreateWorkspaceNoteResponseContract>;
|
|
37
37
|
/**
|
|
38
38
|
* Create workspace note folder
|
|
39
|
-
* Creates a folder in the requested workspace. When parentId is omitted, gate uses `default`.
|
|
39
|
+
* Creates a folder in the requested workspace. Prefer a real workspace id; when the path workspaceId is `default`, gate resolves it to the organization's default workspace before calling note-service. When parentId is omitted, gate uses `default`.
|
|
40
40
|
*/
|
|
41
41
|
createWorkspaceNoteFolder(params: {
|
|
42
42
|
path: {
|
|
@@ -48,7 +48,7 @@ export declare class NotesApi {
|
|
|
48
48
|
}): Promise<CreateWorkspaceNoteFolderResponseContract>;
|
|
49
49
|
/**
|
|
50
50
|
* Read workspace note
|
|
51
|
-
* Returns the note title, parent metadata, and md content for the requested workspace note.
|
|
51
|
+
* Returns the note title, parent metadata, and md content for the requested workspace note. Prefer a real workspace id; when the path workspaceId is `default`, gate resolves it to the organization's default workspace before calling note-service and editor-server.
|
|
52
52
|
*/
|
|
53
53
|
getWorkspaceNote(params: {
|
|
54
54
|
path: {
|
|
@@ -60,7 +60,7 @@ export declare class NotesApi {
|
|
|
60
60
|
}): Promise<WorkspaceNoteContentResponseContract>;
|
|
61
61
|
/**
|
|
62
62
|
* List workspace note folders
|
|
63
|
-
* Returns non-portal note folders for the requested workspace.
|
|
63
|
+
* Returns non-portal note folders for the requested workspace. Prefer a real workspace id; when the path workspaceId is `default`, gate resolves it to the organization's default workspace before calling note-service.
|
|
64
64
|
*/
|
|
65
65
|
listWorkspaceNoteFolders(params: {
|
|
66
66
|
path: {
|
|
@@ -71,7 +71,7 @@ export declare class NotesApi {
|
|
|
71
71
|
}): Promise<WorkspaceNoteFolderListResponseContract>;
|
|
72
72
|
/**
|
|
73
73
|
* List workspace notes
|
|
74
|
-
* Returns non-portal notes for the requested workspace and parent folder. When parentId is omitted, gate defaults to the workspace default folder id `default`.
|
|
74
|
+
* Returns non-portal notes for the requested workspace and parent folder. Prefer a real workspace id; when the path workspaceId is `default`, gate resolves it to the organization's default workspace before calling note-service. When parentId is omitted, gate defaults to the workspace default folder id `default`.
|
|
75
75
|
*/
|
|
76
76
|
listWorkspaceNotes(params: {
|
|
77
77
|
path: {
|
package/dist/apis/NotesApi.js
CHANGED
|
@@ -13,7 +13,7 @@ class NotesApi {
|
|
|
13
13
|
}
|
|
14
14
|
/**
|
|
15
15
|
* Add workspace note attachment
|
|
16
|
-
* Attaches a stored-file UUID from the files upload flow to a workspace note, then appends an image blot for image attachments or a file blot for all other attachment types.
|
|
16
|
+
* Attaches a stored-file UUID from the files upload flow to a workspace note, then appends an image blot for image attachments or a file blot for all other attachment types. Prefer a real workspace id; when the path workspaceId is `default`, gate resolves it to the organization's default workspace before calling note-service and editor-server.
|
|
17
17
|
*/
|
|
18
18
|
async addWorkspaceNoteAttachment(params) {
|
|
19
19
|
return this.client.request({
|
|
@@ -28,7 +28,7 @@ class NotesApi {
|
|
|
28
28
|
}
|
|
29
29
|
/**
|
|
30
30
|
* Create workspace note
|
|
31
|
-
* Creates a note in the requested workspace. When parentId is omitted, gate uses `default`. Optional initial text or html can be appended after creation.
|
|
31
|
+
* Creates a note in the requested workspace. Prefer a real workspace id; when the path workspaceId is `default`, gate resolves it to the organization's default workspace before calling note-service and editor-server. When parentId is omitted, gate uses `default`. Optional initial text or html can be appended after creation.
|
|
32
32
|
*/
|
|
33
33
|
async createWorkspaceNote(params) {
|
|
34
34
|
return this.client.request({
|
|
@@ -43,7 +43,7 @@ class NotesApi {
|
|
|
43
43
|
}
|
|
44
44
|
/**
|
|
45
45
|
* Create workspace note folder
|
|
46
|
-
* Creates a folder in the requested workspace. When parentId is omitted, gate uses `default`.
|
|
46
|
+
* Creates a folder in the requested workspace. Prefer a real workspace id; when the path workspaceId is `default`, gate resolves it to the organization's default workspace before calling note-service. When parentId is omitted, gate uses `default`.
|
|
47
47
|
*/
|
|
48
48
|
async createWorkspaceNoteFolder(params) {
|
|
49
49
|
return this.client.request({
|
|
@@ -58,7 +58,7 @@ class NotesApi {
|
|
|
58
58
|
}
|
|
59
59
|
/**
|
|
60
60
|
* Read workspace note
|
|
61
|
-
* Returns the note title, parent metadata, and md content for the requested workspace note.
|
|
61
|
+
* Returns the note title, parent metadata, and md content for the requested workspace note. Prefer a real workspace id; when the path workspaceId is `default`, gate resolves it to the organization's default workspace before calling note-service and editor-server.
|
|
62
62
|
*/
|
|
63
63
|
async getWorkspaceNote(params) {
|
|
64
64
|
return this.client.request({
|
|
@@ -72,7 +72,7 @@ class NotesApi {
|
|
|
72
72
|
}
|
|
73
73
|
/**
|
|
74
74
|
* List workspace note folders
|
|
75
|
-
* Returns non-portal note folders for the requested workspace.
|
|
75
|
+
* Returns non-portal note folders for the requested workspace. Prefer a real workspace id; when the path workspaceId is `default`, gate resolves it to the organization's default workspace before calling note-service.
|
|
76
76
|
*/
|
|
77
77
|
async listWorkspaceNoteFolders(params) {
|
|
78
78
|
return this.client.request({
|
|
@@ -86,7 +86,7 @@ class NotesApi {
|
|
|
86
86
|
}
|
|
87
87
|
/**
|
|
88
88
|
* List workspace notes
|
|
89
|
-
* Returns non-portal notes for the requested workspace and parent folder. When parentId is omitted, gate defaults to the workspace default folder id `default`.
|
|
89
|
+
* Returns non-portal notes for the requested workspace and parent folder. Prefer a real workspace id; when the path workspaceId is `default`, gate resolves it to the organization's default workspace before calling note-service. When parentId is omitted, gate defaults to the workspace default folder id `default`.
|
|
90
90
|
*/
|
|
91
91
|
async listWorkspaceNotes(params) {
|
|
92
92
|
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
|
@@ -0,0 +1,47 @@
|
|
|
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.
|
package/release-notes/latest.md
CHANGED