rust-store-node 2.7.0 → 3.1.0
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/index.d.ts
CHANGED
|
@@ -170,4 +170,10 @@ export declare class Registry {
|
|
|
170
170
|
setRbac(policy?: any | undefined | null): void
|
|
171
171
|
/** RBAC 策略是否已注入 */
|
|
172
172
|
rbacEnabled(): boolean
|
|
173
|
+
/** 豁免角色清单(命中者在一切判决环节直接放行)。判决唯一在 core:本层零判决。 */
|
|
174
|
+
setExemptRoles(roles: Array<string>): void
|
|
175
|
+
/** 拒写角色清单(命中者一切写路径拒绝,读不受影响) */
|
|
176
|
+
setDenyWriteRoles(roles: Array<string>): void
|
|
177
|
+
/** 未配置姿态("open" / "closed");未知值抛错(fail-fast,对齐 setRbac) */
|
|
178
|
+
setUnconfiguredPolicy(policy: string): void
|
|
173
179
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rust-store-node",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.1.0",
|
|
4
4
|
"description": "Node.js binding (napi-rs) for the rust-store multi-backend data engine: GQL parsing, permissions, computed columns and SQL dialect translation for MongoDB, MySQL, SQLite and PostgreSQL",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"types": "index.d.ts",
|
|
@@ -68,10 +68,10 @@
|
|
|
68
68
|
"sql.js": "^1.8.0"
|
|
69
69
|
},
|
|
70
70
|
"optionalDependencies": {
|
|
71
|
-
"rust-store-node-win32-x64-msvc": "
|
|
72
|
-
"rust-store-node-linux-x64-gnu": "
|
|
73
|
-
"rust-store-node-linux-arm64-gnu": "
|
|
74
|
-
"rust-store-node-darwin-x64": "
|
|
75
|
-
"rust-store-node-darwin-arm64": "
|
|
71
|
+
"rust-store-node-win32-x64-msvc": "3.1.0",
|
|
72
|
+
"rust-store-node-linux-x64-gnu": "3.1.0",
|
|
73
|
+
"rust-store-node-linux-arm64-gnu": "3.1.0",
|
|
74
|
+
"rust-store-node-darwin-x64": "3.1.0",
|
|
75
|
+
"rust-store-node-darwin-arm64": "3.1.0"
|
|
76
76
|
}
|
|
77
77
|
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|