@fusebase/fusebase-gate-sdk 2.3.16-sdk.0 → 2.3.16-sdk.2
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/NotesApi.d.ts
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Domain: notes
|
|
6
6
|
*/
|
|
7
7
|
import type { Client } from "../runtime/transport";
|
|
8
|
-
import type { AddWorkspaceNoteAttachmentRequestContract, AddWorkspaceNoteAttachmentResponseContract, CreateWorkspaceNoteFolderRequestContract, CreateWorkspaceNoteFolderResponseContract, CreateWorkspaceNoteRequestContract, CreateWorkspaceNoteResponseContract, orgIdInPathRequired, WorkspaceIdInPathRequired, WorkspaceNoteContentResponseContract, WorkspaceNoteFolderListResponseContract, WorkspaceNoteIdInPathRequired, WorkspaceNoteListResponseContract, WorkspaceNoteParentIdInQueryOptional } from "../types";
|
|
8
|
+
import type { AddWorkspaceNoteAttachmentRequestContract, AddWorkspaceNoteAttachmentResponseContract, AppendWorkspaceNoteContentRequestContract, CreateWorkspaceNoteFolderRequestContract, CreateWorkspaceNoteFolderResponseContract, CreateWorkspaceNoteRequestContract, CreateWorkspaceNoteResponseContract, orgIdInPathRequired, WorkspaceIdInPathRequired, WorkspaceNoteContentResponseContract, WorkspaceNoteFolderListResponseContract, WorkspaceNoteIdInPathRequired, WorkspaceNoteListResponseContract, WorkspaceNoteParentIdInQueryOptional } from "../types";
|
|
9
9
|
export declare class NotesApi {
|
|
10
10
|
private client;
|
|
11
11
|
constructor(client: Client);
|
|
@@ -22,6 +22,19 @@ export declare class NotesApi {
|
|
|
22
22
|
headers?: Record<string, string>;
|
|
23
23
|
body: AddWorkspaceNoteAttachmentRequestContract;
|
|
24
24
|
}): Promise<AddWorkspaceNoteAttachmentResponseContract>;
|
|
25
|
+
/**
|
|
26
|
+
* Append content to workspace note
|
|
27
|
+
* Appends text or html to the end of an existing workspace note without replacing current content, then returns the refreshed note md. 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. For markdown sources, apps should render markdown to html before calling this operation when formatting fidelity matters; otherwise send markdown-like text as `format: text`.
|
|
28
|
+
*/
|
|
29
|
+
appendWorkspaceNoteContent(params: {
|
|
30
|
+
path: {
|
|
31
|
+
orgId: orgIdInPathRequired;
|
|
32
|
+
workspaceId: WorkspaceIdInPathRequired;
|
|
33
|
+
noteId: WorkspaceNoteIdInPathRequired;
|
|
34
|
+
};
|
|
35
|
+
headers?: Record<string, string>;
|
|
36
|
+
body: AppendWorkspaceNoteContentRequestContract;
|
|
37
|
+
}): Promise<WorkspaceNoteContentResponseContract>;
|
|
25
38
|
/**
|
|
26
39
|
* Create workspace note
|
|
27
40
|
* 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.
|
package/dist/apis/NotesApi.js
CHANGED
|
@@ -26,6 +26,21 @@ class NotesApi {
|
|
|
26
26
|
expectedContentType: "application/json",
|
|
27
27
|
});
|
|
28
28
|
}
|
|
29
|
+
/**
|
|
30
|
+
* Append content to workspace note
|
|
31
|
+
* Appends text or html to the end of an existing workspace note without replacing current content, then returns the refreshed note md. 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. For markdown sources, apps should render markdown to html before calling this operation when formatting fidelity matters; otherwise send markdown-like text as `format: text`.
|
|
32
|
+
*/
|
|
33
|
+
async appendWorkspaceNoteContent(params) {
|
|
34
|
+
return this.client.request({
|
|
35
|
+
method: "POST",
|
|
36
|
+
path: "/:orgId/workspaces/:workspaceId/notes/:noteId/content",
|
|
37
|
+
pathParams: params.path,
|
|
38
|
+
headers: params.headers,
|
|
39
|
+
body: params.body,
|
|
40
|
+
opId: "appendWorkspaceNoteContent",
|
|
41
|
+
expectedContentType: "application/json",
|
|
42
|
+
});
|
|
43
|
+
}
|
|
29
44
|
/**
|
|
30
45
|
* Create workspace note
|
|
31
46
|
* 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.
|
|
@@ -53,6 +53,16 @@ export interface CreateWorkspaceNoteRequestContract {
|
|
|
53
53
|
export interface CreateWorkspaceNoteResponseContract {
|
|
54
54
|
note: WorkspaceNoteSummaryContract;
|
|
55
55
|
}
|
|
56
|
+
export interface AppendWorkspaceNoteContentRequestContract {
|
|
57
|
+
/**
|
|
58
|
+
* Text or html to append to the end of the existing note.
|
|
59
|
+
*/
|
|
60
|
+
content: string;
|
|
61
|
+
/**
|
|
62
|
+
* Content format used with `content`. Defaults to `text`.
|
|
63
|
+
*/
|
|
64
|
+
format?: WorkspaceNoteContentFormatContract | null;
|
|
65
|
+
}
|
|
56
66
|
export interface AddWorkspaceNoteAttachmentRequestContract {
|
|
57
67
|
/**
|
|
58
68
|
* Stored-file UUID returned by completeMultipartFileUpload.
|
package/package.json
CHANGED
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
# Release Notes 2.3.16-sdk.2
|
|
2
|
+
|
|
3
|
+
- Current ref: `HEAD`
|
|
4
|
+
- Previous tag: `v2.3.16`
|
|
5
|
+
- Generated at: 2026-06-30T12:56:59.790Z
|
|
6
|
+
|
|
7
|
+
## Included Drafts
|
|
8
|
+
|
|
9
|
+
- `docs/release-notes/2026-06-30-append-workspace-note-content.md` - Append workspace note content
|
|
10
|
+
|
|
11
|
+
## Summary
|
|
12
|
+
|
|
13
|
+
### Append workspace note content
|
|
14
|
+
|
|
15
|
+
Add an append-only workspace note content operation for apps that need to add content to an existing note without replacing the note body.
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
## API / SDK Changes
|
|
19
|
+
|
|
20
|
+
### Append workspace note content
|
|
21
|
+
|
|
22
|
+
- Added `appendWorkspaceNoteContent`.
|
|
23
|
+
- The operation accepts a workspace note id plus non-empty `content`, with optional `format: "text" | "html"`.
|
|
24
|
+
- The operation appends to the end of the note and returns the refreshed note metadata plus `note.md`.
|
|
25
|
+
- Regenerated SDK/OpenAPI artifacts include the new Notes API method and request contract.
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
## Consumer Impact
|
|
29
|
+
|
|
30
|
+
### Append workspace note content
|
|
31
|
+
|
|
32
|
+
Apps can now update existing notes by appending text or HTML instead of creating a new note. For Markdown sources, apps should render Markdown to HTML before calling the operation when formatting fidelity matters; otherwise send the content as text.
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
## Verification
|
|
36
|
+
|
|
37
|
+
### Append workspace note content
|
|
38
|
+
|
|
39
|
+
- `npm run build:sdk`
|
|
40
|
+
- `npm run mcp:skills:generate`
|
|
41
|
+
- `npm run mcp:skills:validate`
|
|
42
|
+
- `npm run mcp:skills:copy-to-apps-cli:local`
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
## Follow-ups
|
|
46
|
+
|
|
47
|
+
### Append workspace note content
|
|
48
|
+
|
|
49
|
+
- Full note replacement/editing remains a separate product/API decision because it needs a canonical Markdown-to-editor-content conversion path.
|
package/release-notes/latest.md
CHANGED
|
@@ -1,9 +1,49 @@
|
|
|
1
|
-
# Release Notes 2.3.16-sdk.
|
|
1
|
+
# Release Notes 2.3.16-sdk.2
|
|
2
2
|
|
|
3
3
|
- Current ref: `HEAD`
|
|
4
|
-
- Previous tag: `v2.3.16
|
|
5
|
-
- Generated at: 2026-06-
|
|
4
|
+
- Previous tag: `v2.3.16`
|
|
5
|
+
- Generated at: 2026-06-30T12:56:59.790Z
|
|
6
6
|
|
|
7
7
|
## Included Drafts
|
|
8
8
|
|
|
9
|
-
-
|
|
9
|
+
- `docs/release-notes/2026-06-30-append-workspace-note-content.md` - Append workspace note content
|
|
10
|
+
|
|
11
|
+
## Summary
|
|
12
|
+
|
|
13
|
+
### Append workspace note content
|
|
14
|
+
|
|
15
|
+
Add an append-only workspace note content operation for apps that need to add content to an existing note without replacing the note body.
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
## API / SDK Changes
|
|
19
|
+
|
|
20
|
+
### Append workspace note content
|
|
21
|
+
|
|
22
|
+
- Added `appendWorkspaceNoteContent`.
|
|
23
|
+
- The operation accepts a workspace note id plus non-empty `content`, with optional `format: "text" | "html"`.
|
|
24
|
+
- The operation appends to the end of the note and returns the refreshed note metadata plus `note.md`.
|
|
25
|
+
- Regenerated SDK/OpenAPI artifacts include the new Notes API method and request contract.
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
## Consumer Impact
|
|
29
|
+
|
|
30
|
+
### Append workspace note content
|
|
31
|
+
|
|
32
|
+
Apps can now update existing notes by appending text or HTML instead of creating a new note. For Markdown sources, apps should render Markdown to HTML before calling the operation when formatting fidelity matters; otherwise send the content as text.
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
## Verification
|
|
36
|
+
|
|
37
|
+
### Append workspace note content
|
|
38
|
+
|
|
39
|
+
- `npm run build:sdk`
|
|
40
|
+
- `npm run mcp:skills:generate`
|
|
41
|
+
- `npm run mcp:skills:validate`
|
|
42
|
+
- `npm run mcp:skills:copy-to-apps-cli:local`
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
## Follow-ups
|
|
46
|
+
|
|
47
|
+
### Append workspace note content
|
|
48
|
+
|
|
49
|
+
- Full note replacement/editing remains a separate product/API decision because it needs a canonical Markdown-to-editor-content conversion path.
|