@buildbase/sdk 0.0.84 → 0.0.85
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/CHANGELOG.md +12 -0
- package/dist/index.d.ts +6 -3
- package/dist/mcp/index.d.ts +5 -2
- package/dist/react/index.d.ts +6 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,18 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [0.0.85] - 2026-10-17
|
|
9
|
+
|
|
10
|
+
### Changed
|
|
11
|
+
|
|
12
|
+
- **Type change:** `ISettings['workspace']['canCreateWorkspace']` is now
|
|
13
|
+
`boolean` (it was `boolean | 'owner-only'`). The platform removed the
|
|
14
|
+
"Owner only" setting, which was never enforced and behaved as "Everyone";
|
|
15
|
+
a server on this release never sends the string. Code that compared the
|
|
16
|
+
value with `'owner-only'` no longer compiles and can drop that branch. No
|
|
17
|
+
runtime change: a value from an older server is still read as truthy, which
|
|
18
|
+
is what that server enforces.
|
|
19
|
+
|
|
8
20
|
## [0.0.84] - 2026-10-17
|
|
9
21
|
|
|
10
22
|
### Fixed
|
package/dist/index.d.ts
CHANGED
|
@@ -1108,8 +1108,11 @@ interface ISettings {
|
|
|
1108
1108
|
maxWorkspaceUsers: number;
|
|
1109
1109
|
/** Workspace mode: 'personal' (solo) or 'platform' (multi-user, default) */
|
|
1110
1110
|
mode: WorkspaceMode;
|
|
1111
|
-
/**
|
|
1112
|
-
|
|
1111
|
+
/**
|
|
1112
|
+
* Whether users can create workspaces themselves. `false` hides the create
|
|
1113
|
+
* button; auto-create on first sign-in, when on, still runs.
|
|
1114
|
+
*/
|
|
1115
|
+
canCreateWorkspace: boolean;
|
|
1113
1116
|
/** Whether members can invite others. false = disabled, 'admin-only' = restricted */
|
|
1114
1117
|
canInviteMembers: boolean | 'admin-only';
|
|
1115
1118
|
/** Custom role→permission mapping. Overrides SDK defaults when provided by backend. */
|
|
@@ -2960,7 +2963,7 @@ interface SettingsLike {
|
|
|
2960
2963
|
permissions?: Record<string, string[]>;
|
|
2961
2964
|
customPermissions?: WorkspacePermissionDefinition[];
|
|
2962
2965
|
canInviteMembers?: boolean | 'admin-only';
|
|
2963
|
-
canCreateWorkspace?: boolean
|
|
2966
|
+
canCreateWorkspace?: boolean;
|
|
2964
2967
|
};
|
|
2965
2968
|
}
|
|
2966
2969
|
interface PermissionContext {
|
package/dist/mcp/index.d.ts
CHANGED
|
@@ -1166,8 +1166,11 @@ interface ISettings {
|
|
|
1166
1166
|
maxWorkspaceUsers: number;
|
|
1167
1167
|
/** Workspace mode: 'personal' (solo) or 'platform' (multi-user, default) */
|
|
1168
1168
|
mode: WorkspaceMode;
|
|
1169
|
-
/**
|
|
1170
|
-
|
|
1169
|
+
/**
|
|
1170
|
+
* Whether users can create workspaces themselves. `false` hides the create
|
|
1171
|
+
* button; auto-create on first sign-in, when on, still runs.
|
|
1172
|
+
*/
|
|
1173
|
+
canCreateWorkspace: boolean;
|
|
1171
1174
|
/** Whether members can invite others. false = disabled, 'admin-only' = restricted */
|
|
1172
1175
|
canInviteMembers: boolean | 'admin-only';
|
|
1173
1176
|
/** Custom role→permission mapping. Overrides SDK defaults when provided by backend. */
|
package/dist/react/index.d.ts
CHANGED
|
@@ -1116,8 +1116,11 @@ interface ISettings {
|
|
|
1116
1116
|
maxWorkspaceUsers: number;
|
|
1117
1117
|
/** Workspace mode: 'personal' (solo) or 'platform' (multi-user, default) */
|
|
1118
1118
|
mode: WorkspaceMode;
|
|
1119
|
-
/**
|
|
1120
|
-
|
|
1119
|
+
/**
|
|
1120
|
+
* Whether users can create workspaces themselves. `false` hides the create
|
|
1121
|
+
* button; auto-create on first sign-in, when on, still runs.
|
|
1122
|
+
*/
|
|
1123
|
+
canCreateWorkspace: boolean;
|
|
1121
1124
|
/** Whether members can invite others. false = disabled, 'admin-only' = restricted */
|
|
1122
1125
|
canInviteMembers: boolean | 'admin-only';
|
|
1123
1126
|
/** Custom role→permission mapping. Overrides SDK defaults when provided by backend. */
|
|
@@ -2968,7 +2971,7 @@ interface SettingsLike {
|
|
|
2968
2971
|
permissions?: Record<string, string[]>;
|
|
2969
2972
|
customPermissions?: WorkspacePermissionDefinition[];
|
|
2970
2973
|
canInviteMembers?: boolean | 'admin-only';
|
|
2971
|
-
canCreateWorkspace?: boolean
|
|
2974
|
+
canCreateWorkspace?: boolean;
|
|
2972
2975
|
};
|
|
2973
2976
|
}
|
|
2974
2977
|
interface PermissionContext {
|