@fusebase/fusebase-gate-sdk 2.7.1-sdk.1 → 2.7.2-sdk.1
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.
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export type OrgRoleContract = "owner" | "manager" | "member" | "client" | "guest" | "visitor";
|
|
2
2
|
export type PermissionContract = string & {
|
|
3
|
-
__pattern: "^[a-z][a-z0-9_]*(\\.[a-z0-9_]+)*\\.(read|write|delete|execute|send|create|manage|bypass|delegate)$";
|
|
3
|
+
__pattern: "^[a-z][a-z0-9_]*(\\.[a-z0-9_]+)*\\.(read|write|delete|execute|send|create|manage|bypass|delegate|client_invite)$";
|
|
4
4
|
};
|
|
5
5
|
export type RootEntityContract = "custom" | "portal" | "workspace" | "org" | "user" | "client" | "form" | "form-response" | "tracker" | "tracker-result" | "meeting";
|
|
6
6
|
export type ScopeTypeContract = "org" | "workspace" | "portal" | "user" | "client" | "block" | "tracker" | "parent_row" | "parent_table";
|
|
@@ -37,7 +37,7 @@ exports.ScopeTypeContract = {
|
|
|
37
37
|
exports.ScopeTypeOrgContract = {
|
|
38
38
|
Org: "org"
|
|
39
39
|
};
|
|
40
|
-
const PERMISSION_RE = /^[a-z][a-z0-9_]*(\.[a-z0-9_]+)*\.(read|write|delete|execute|send|create|manage|bypass|delegate)$/;
|
|
40
|
+
const PERMISSION_RE = /^[a-z][a-z0-9_]*(\.[a-z0-9_]+)*\.(read|write|delete|execute|send|create|manage|bypass|delegate|client_invite)$/;
|
|
41
41
|
function asPermission(value) {
|
|
42
42
|
if (!PERMISSION_RE.test(value)) {
|
|
43
43
|
throw new Error(`Invalid permission: ${value}`);
|
package/package.json
CHANGED
|
@@ -1,9 +1,51 @@
|
|
|
1
1
|
# Release Notes 2.7.1-sdk.1
|
|
2
2
|
|
|
3
3
|
- Current ref: `HEAD`
|
|
4
|
-
- Previous tag: `v2.7.1-sdk.
|
|
5
|
-
- Generated at: 2026-08-17T11:
|
|
4
|
+
- Previous tag: `v2.7.1-sdk.0`
|
|
5
|
+
- Generated at: 2026-08-17T11:47:57.765Z
|
|
6
6
|
|
|
7
7
|
## Included Drafts
|
|
8
8
|
|
|
9
|
-
-
|
|
9
|
+
- `docs/release-notes/2026-08-17-paperclip-services-gate-read-api.md` - Paperclip Services Gate API
|
|
10
|
+
|
|
11
|
+
## Summary
|
|
12
|
+
|
|
13
|
+
### Paperclip Services Gate API
|
|
14
|
+
|
|
15
|
+
Adds the org-scoped FuseBase Gate facade for Paperclip service reads and
|
|
16
|
+
lifecycle operations.
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
## API / SDK Changes
|
|
20
|
+
|
|
21
|
+
### Paperclip Services Gate API
|
|
22
|
+
|
|
23
|
+
Adds `paperclip_services.read` and `paperclip_services.write` permissions.
|
|
24
|
+
Exposes capabilities, capacity, health, install, delete, upgrade, backup,
|
|
25
|
+
restore, retry, and durable operation status under
|
|
26
|
+
`/:orgId/paperclip-services`. Generated OpenAPI and SDK artifacts are included.
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
## Consumer Impact
|
|
30
|
+
|
|
31
|
+
### Paperclip Services Gate API
|
|
32
|
+
|
|
33
|
+
Paperclip may call these public Gate operations with a dedicated, org-scoped
|
|
34
|
+
Gate bearer token. Gate uses its standard authorization middleware and forwards
|
|
35
|
+
the authenticated token subject to nimbus-ai through the existing
|
|
36
|
+
`Internal <userId>:gate` service identity; Nimbus internal credentials remain
|
|
37
|
+
inside the Nimbus service network.
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
## Verification
|
|
41
|
+
|
|
42
|
+
### Paperclip Services Gate API
|
|
43
|
+
|
|
44
|
+
Targeted authorization tests, typecheck/build, and generated SDK validation.
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
## Follow-ups
|
|
48
|
+
|
|
49
|
+
### Paperclip Services Gate API
|
|
50
|
+
|
|
51
|
+
Add token provisioning/rotation before the dev canary.
|
package/release-notes/latest.md
CHANGED