@fusebase/fusebase-gate-sdk 2.2.21-sdk.4 → 2.2.21-sdk.6
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.
|
@@ -73,6 +73,19 @@ export declare class IsolatedStoresApi {
|
|
|
73
73
|
headers?: Record<string, string>;
|
|
74
74
|
body: IsolatedStoreSqlCountRequestContract;
|
|
75
75
|
}): Promise<IsolatedStoreSqlCountResponseContract>;
|
|
76
|
+
/**
|
|
77
|
+
* Count rows with RLS bypass
|
|
78
|
+
* Counts rows in a postgres table through the explicit audited RLS-bypass read path. Intended for Studio/admin data explorer views only; normal runtime reads must use countIsolatedStoreSqlRows.
|
|
79
|
+
*/
|
|
80
|
+
countIsolatedStoreSqlRowsRlsBypass(params: {
|
|
81
|
+
path: {
|
|
82
|
+
orgId: orgIdInPathRequired;
|
|
83
|
+
storeId: IsolatedStoreIdInPathRequired;
|
|
84
|
+
stage: IsolatedStoreStageInPathRequired;
|
|
85
|
+
};
|
|
86
|
+
headers?: Record<string, string>;
|
|
87
|
+
body: IsolatedStoreSqlCountRequestContract;
|
|
88
|
+
}): Promise<IsolatedStoreSqlCountResponseContract>;
|
|
76
89
|
/**
|
|
77
90
|
* Create isolated store
|
|
78
91
|
* Registers a low-level store and binds it to the organization scope plus an isolated source scope such as app.
|
|
@@ -379,6 +392,19 @@ export declare class IsolatedStoresApi {
|
|
|
379
392
|
headers?: Record<string, string>;
|
|
380
393
|
body: IsolatedStoreSqlSelectRequestContract;
|
|
381
394
|
}): Promise<IsolatedStoreSqlSelectResponseContract>;
|
|
395
|
+
/**
|
|
396
|
+
* Select rows with RLS bypass
|
|
397
|
+
* Reads rows through the explicit audited RLS-bypass read path. Intended for Studio/admin data explorer views only; normal runtime reads must use selectIsolatedStoreSqlRows.
|
|
398
|
+
*/
|
|
399
|
+
selectIsolatedStoreSqlRowsRlsBypass(params: {
|
|
400
|
+
path: {
|
|
401
|
+
orgId: orgIdInPathRequired;
|
|
402
|
+
storeId: IsolatedStoreIdInPathRequired;
|
|
403
|
+
stage: IsolatedStoreStageInPathRequired;
|
|
404
|
+
};
|
|
405
|
+
headers?: Record<string, string>;
|
|
406
|
+
body: IsolatedStoreSqlSelectRequestContract;
|
|
407
|
+
}): Promise<IsolatedStoreSqlSelectResponseContract>;
|
|
382
408
|
/**
|
|
383
409
|
* Update rows
|
|
384
410
|
* Updates rows in a postgres table using structured filters. Filterless updates are blocked unless allowAll=true is explicitly set.
|
|
@@ -86,6 +86,21 @@ class IsolatedStoresApi {
|
|
|
86
86
|
expectedContentType: "application/json",
|
|
87
87
|
});
|
|
88
88
|
}
|
|
89
|
+
/**
|
|
90
|
+
* Count rows with RLS bypass
|
|
91
|
+
* Counts rows in a postgres table through the explicit audited RLS-bypass read path. Intended for Studio/admin data explorer views only; normal runtime reads must use countIsolatedStoreSqlRows.
|
|
92
|
+
*/
|
|
93
|
+
async countIsolatedStoreSqlRowsRlsBypass(params) {
|
|
94
|
+
return this.client.request({
|
|
95
|
+
method: "POST",
|
|
96
|
+
path: "/:orgId/isolated-stores/:storeId/stages/:stage/sql/rows/count/rls-bypass",
|
|
97
|
+
pathParams: params.path,
|
|
98
|
+
headers: params.headers,
|
|
99
|
+
body: params.body,
|
|
100
|
+
opId: "countIsolatedStoreSqlRowsRlsBypass",
|
|
101
|
+
expectedContentType: "application/json",
|
|
102
|
+
});
|
|
103
|
+
}
|
|
89
104
|
/**
|
|
90
105
|
* Create isolated store
|
|
91
106
|
* Registers a low-level store and binds it to the organization scope plus an isolated source scope such as app.
|
|
@@ -438,6 +453,21 @@ class IsolatedStoresApi {
|
|
|
438
453
|
expectedContentType: "application/json",
|
|
439
454
|
});
|
|
440
455
|
}
|
|
456
|
+
/**
|
|
457
|
+
* Select rows with RLS bypass
|
|
458
|
+
* Reads rows through the explicit audited RLS-bypass read path. Intended for Studio/admin data explorer views only; normal runtime reads must use selectIsolatedStoreSqlRows.
|
|
459
|
+
*/
|
|
460
|
+
async selectIsolatedStoreSqlRowsRlsBypass(params) {
|
|
461
|
+
return this.client.request({
|
|
462
|
+
method: "POST",
|
|
463
|
+
path: "/:orgId/isolated-stores/:storeId/stages/:stage/sql/rows/select/rls-bypass",
|
|
464
|
+
pathParams: params.path,
|
|
465
|
+
headers: params.headers,
|
|
466
|
+
body: params.body,
|
|
467
|
+
opId: "selectIsolatedStoreSqlRowsRlsBypass",
|
|
468
|
+
expectedContentType: "application/json",
|
|
469
|
+
});
|
|
470
|
+
}
|
|
441
471
|
/**
|
|
442
472
|
* Update rows
|
|
443
473
|
* Updates rows in a postgres table using structured filters. Filterless updates are blocked unless allowAll=true is explicitly set.
|
package/package.json
CHANGED
package/release-notes/latest.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
# Release Notes 2.2.21-sdk.
|
|
1
|
+
# Release Notes 2.2.21-sdk.6
|
|
2
2
|
|
|
3
3
|
- Current ref: `HEAD`
|
|
4
|
-
- Previous tag: `v2.2.21-sdk.
|
|
5
|
-
- Generated at: 2026-06-
|
|
4
|
+
- Previous tag: `v2.2.21-sdk.6`
|
|
5
|
+
- Generated at: 2026-06-04T13:33:04.522Z
|
|
6
6
|
|
|
7
7
|
## Included Drafts
|
|
8
8
|
|