@fusebase/fusebase-gate-sdk 2.2.2-sdk.6 → 2.2.2-sdk.7

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.
@@ -23,7 +23,7 @@ export declare class NotesApi {
23
23
  }): Promise<CreateWorkspaceNoteResponseContract>;
24
24
  /**
25
25
  * Create workspace note folder
26
- * Creates a folder in the requested workspace. When parentId is omitted, gate uses `root`.
26
+ * Creates a folder in the requested workspace. When parentId is omitted, gate uses `default`.
27
27
  */
28
28
  createWorkspaceNoteFolder(params: {
29
29
  path: {
@@ -58,7 +58,7 @@ export declare class NotesApi {
58
58
  }): Promise<WorkspaceNoteFolderListResponseContract>;
59
59
  /**
60
60
  * List workspace notes
61
- * Returns non-portal notes for the requested workspace and parent folder. When parentId is omitted, gate defaults to the workspace root folder id `root`.
61
+ * Returns non-portal notes for the requested workspace and parent folder. When parentId is omitted, gate defaults to the workspace default folder id `default`.
62
62
  */
63
63
  listWorkspaceNotes(params: {
64
64
  path: {
@@ -28,7 +28,7 @@ class NotesApi {
28
28
  }
29
29
  /**
30
30
  * Create workspace note folder
31
- * Creates a folder in the requested workspace. When parentId is omitted, gate uses `root`.
31
+ * Creates a folder in the requested workspace. When parentId is omitted, gate uses `default`.
32
32
  */
33
33
  async createWorkspaceNoteFolder(params) {
34
34
  return this.client.request({
@@ -71,7 +71,7 @@ class NotesApi {
71
71
  }
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 root folder id `root`.
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`.
75
75
  */
76
76
  async listWorkspaceNotes(params) {
77
77
  return this.client.request({
@@ -21,14 +21,14 @@ export type WorkspaceNoteParentIdInQueryOptional = string | null;
21
21
  export type WorkspaceNoteContentFormatContract = "text" | "html";
22
22
  export interface WorkspaceNoteListQueryContract {
23
23
  /**
24
- * Folder global id to list notes from. When omitted, gate defaults to `root`.
24
+ * Folder global id to list notes from. When omitted, gate defaults to `default`.
25
25
  */
26
26
  parentId?: WorkspaceNoteParentIdInQueryOptional;
27
27
  }
28
28
  export interface CreateWorkspaceNoteFolderRequestContract {
29
29
  title: string;
30
30
  /**
31
- * Parent folder global id. Defaults to `root`.
31
+ * Parent folder global id. Defaults to `default`.
32
32
  */
33
33
  parentId?: string | null;
34
34
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fusebase/fusebase-gate-sdk",
3
- "version": "2.2.2-sdk.6",
3
+ "version": "2.2.2-sdk.7",
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,48 @@
1
+ # Release Notes 2.2.2-sdk.7
2
+
3
+ - Current ref: `HEAD`
4
+ - Previous tag: `v2.2.2-sdk.7`
5
+ - Generated at: 2026-03-31T12:18:57.038Z
6
+
7
+ ## Included Drafts
8
+
9
+ - `docs/release-notes/2026-03-31-notes-default-parent-id.md` - 2026-03-31-notes-default-parent-id
10
+
11
+ ## Summary
12
+
13
+ ### 2026-03-31-notes-default-parent-id
14
+
15
+ Notes top-level parent handling now consistently uses the default folder id `default` instead of `root`.
16
+
17
+
18
+ ## API / SDK Changes
19
+
20
+ ### 2026-03-31-notes-default-parent-id
21
+
22
+ - `listWorkspaceNotes` now defaults omitted `parentId` to `default`.
23
+ - `createWorkspaceNoteFolder` now defaults omitted `parentId` to `default`.
24
+ - Notes contract descriptions and generated SDK/OpenAPI artifacts now document `default` as the top-level folder id.
25
+
26
+
27
+ ## Consumer Impact
28
+
29
+ ### 2026-03-31-notes-default-parent-id
30
+
31
+ - Consumers that relied on omitted folder parent ids resolving to `root` should switch to `default`.
32
+ - SDK, MCP, and raw HTTP callers can now treat top-level notes and top-level folders consistently.
33
+
34
+
35
+ ## Verification
36
+
37
+ ### 2026-03-31-notes-default-parent-id
38
+
39
+ - `npm run lint -- src/controllers/notes/helpers.ts src/api/contracts/ops/notes/notes.ts src/api/contracts/schemas/note/note.ts tests/fixtures/note-service.ts tests/unit/notes-controller.test.ts tests/e2e-sdk/notes/0.list-workspace-notes.test.ts tests/e2e-sdk/notes/1.get-workspace-note.test.ts tests/e2e-sdk/notes/2.create-workspace-note.test.ts tests/mcp-e2e/notes/1.get-workspace-note.test.ts tests/mcp-e2e/notes/2.create-workspace-note.test.ts generated/sdk-client/src/types/note/note.ts generated/sdk-client/src/apis/NotesApi.ts src/api/contracts/schemas/runtime-schema-defs.generated.ts generated/openapi/openapi-generated-from-contracts.yaml`
40
+ - `npm run test:unit -- --runTestsByPath tests/unit/notes-controller.test.ts tests/unit/notes-contracts.test.ts tests/unit/notes-routes.test.ts`
41
+ - Blocked locally: `env USE_BUILD_ARTIFACT=true npm run test:e2e-sdk:full` and `env USE_BUILD_ARTIFACT=true npm run test:mcp-e2e:full` failed before notes assertions because `db:migrate:test` could not connect to MySQL at `localhost:3306`
42
+
43
+
44
+ ## Follow-ups
45
+
46
+ ### 2026-03-31-notes-default-parent-id
47
+
48
+ - Re-run the SDK and MCP E2E suites in CI or any environment with the test MySQL instance available.
@@ -1,9 +1,48 @@
1
- # Release Notes 2.2.2-sdk.6
1
+ # Release Notes 2.2.2-sdk.7
2
2
 
3
3
  - Current ref: `HEAD`
4
- - Previous tag: `v2.2.2-sdk.6`
5
- - Generated at: 2026-03-31T12:04:02.391Z
4
+ - Previous tag: `v2.2.2-sdk.7`
5
+ - Generated at: 2026-03-31T12:18:57.038Z
6
6
 
7
7
  ## Included Drafts
8
8
 
9
- - None
9
+ - `docs/release-notes/2026-03-31-notes-default-parent-id.md` - 2026-03-31-notes-default-parent-id
10
+
11
+ ## Summary
12
+
13
+ ### 2026-03-31-notes-default-parent-id
14
+
15
+ Notes top-level parent handling now consistently uses the default folder id `default` instead of `root`.
16
+
17
+
18
+ ## API / SDK Changes
19
+
20
+ ### 2026-03-31-notes-default-parent-id
21
+
22
+ - `listWorkspaceNotes` now defaults omitted `parentId` to `default`.
23
+ - `createWorkspaceNoteFolder` now defaults omitted `parentId` to `default`.
24
+ - Notes contract descriptions and generated SDK/OpenAPI artifacts now document `default` as the top-level folder id.
25
+
26
+
27
+ ## Consumer Impact
28
+
29
+ ### 2026-03-31-notes-default-parent-id
30
+
31
+ - Consumers that relied on omitted folder parent ids resolving to `root` should switch to `default`.
32
+ - SDK, MCP, and raw HTTP callers can now treat top-level notes and top-level folders consistently.
33
+
34
+
35
+ ## Verification
36
+
37
+ ### 2026-03-31-notes-default-parent-id
38
+
39
+ - `npm run lint -- src/controllers/notes/helpers.ts src/api/contracts/ops/notes/notes.ts src/api/contracts/schemas/note/note.ts tests/fixtures/note-service.ts tests/unit/notes-controller.test.ts tests/e2e-sdk/notes/0.list-workspace-notes.test.ts tests/e2e-sdk/notes/1.get-workspace-note.test.ts tests/e2e-sdk/notes/2.create-workspace-note.test.ts tests/mcp-e2e/notes/1.get-workspace-note.test.ts tests/mcp-e2e/notes/2.create-workspace-note.test.ts generated/sdk-client/src/types/note/note.ts generated/sdk-client/src/apis/NotesApi.ts src/api/contracts/schemas/runtime-schema-defs.generated.ts generated/openapi/openapi-generated-from-contracts.yaml`
40
+ - `npm run test:unit -- --runTestsByPath tests/unit/notes-controller.test.ts tests/unit/notes-contracts.test.ts tests/unit/notes-routes.test.ts`
41
+ - Blocked locally: `env USE_BUILD_ARTIFACT=true npm run test:e2e-sdk:full` and `env USE_BUILD_ARTIFACT=true npm run test:mcp-e2e:full` failed before notes assertions because `db:migrate:test` could not connect to MySQL at `localhost:3306`
42
+
43
+
44
+ ## Follow-ups
45
+
46
+ ### 2026-03-31-notes-default-parent-id
47
+
48
+ - Re-run the SDK and MCP E2E suites in CI or any environment with the test MySQL instance available.
@@ -1,9 +0,0 @@
1
- # Release Notes 2.2.2-sdk.6
2
-
3
- - Current ref: `HEAD`
4
- - Previous tag: `v2.2.2-sdk.6`
5
- - Generated at: 2026-03-31T12:04:02.391Z
6
-
7
- ## Included Drafts
8
-
9
- - None