rust-store-node 4.1.1 → 4.3.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
|
@@ -81,6 +81,8 @@ export declare class Registry {
|
|
|
81
81
|
planLoad(config: any, files: any): any
|
|
82
82
|
/** 带定位批量注册(D13 批次唯一);`items` = `[{defn, location}]`,`ctx` 缺省 = 无上下文。 */
|
|
83
83
|
registerBatch(items: any, ctx?: any | undefined | null): void
|
|
84
|
+
/** 本地磁盘数据源纯求值(宿主提供集合快照 → 返回 `{result, changed, collections}`) */
|
|
85
|
+
localEval(collections: any, command: any): any
|
|
84
86
|
canRead(model: string, ctx?: any | undefined | null): boolean
|
|
85
87
|
canWrite(model: string, ctx?: any | undefined | null): boolean
|
|
86
88
|
shouldInjectOwner(model: string, ctx?: any | undefined | null): boolean
|
|
@@ -134,6 +136,11 @@ export declare class Registry {
|
|
|
134
136
|
* deleteCommand。creator 探针语义同 planUpdate。
|
|
135
137
|
*/
|
|
136
138
|
planRemove(model: string, condition: any, ctx?: any | undefined | null, probeFound?: boolean | undefined | null, probeDoc?: any | undefined | null, routeOverride?: any | undefined | null): any
|
|
139
|
+
/**
|
|
140
|
+
* 枚举全 registry 的 schedule 触发器:`[{schema, name, cron, step}]`。
|
|
141
|
+
* 宿主定时任务插件启动时拉取,按 cron 到点执行 step(占位符仅 `{{now}}`)。
|
|
142
|
+
*/
|
|
143
|
+
expandScheduleTriggers(ctx?: any | undefined | null): any
|
|
137
144
|
/** 归档文档命令:源文档补 `deletedAt` 后批量写入 `<collection>_deleted` */
|
|
138
145
|
planArchiveDocs(model: string, docs: Array<any>, now: number, routeOverride?: any | undefined | null): any
|
|
139
146
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rust-store-node",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.3.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": "4.
|
|
72
|
-
"rust-store-node-linux-x64-gnu": "4.
|
|
73
|
-
"rust-store-node-linux-arm64-gnu": "4.
|
|
74
|
-
"rust-store-node-darwin-x64": "4.
|
|
75
|
-
"rust-store-node-darwin-arm64": "4.
|
|
71
|
+
"rust-store-node-win32-x64-msvc": "4.3.0",
|
|
72
|
+
"rust-store-node-linux-x64-gnu": "4.3.0",
|
|
73
|
+
"rust-store-node-linux-arm64-gnu": "4.3.0",
|
|
74
|
+
"rust-store-node-darwin-x64": "4.3.0",
|
|
75
|
+
"rust-store-node-darwin-arm64": "4.3.0"
|
|
76
76
|
}
|
|
77
77
|
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|