@stalfh233/omc-fake-platform 0.6.55 → 0.6.57

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/dist/app.js CHANGED
@@ -157,6 +157,9 @@ export const appRoute = (ctx, input) => {
157
157
  const json = (value) => Buffer.from(JSON.stringify(value, null, "\t"), "utf8");
158
158
  const files = [];
159
159
  for (const app of ctx.state.apps.values()) {
160
+ // r65 b-F6 测试开关:模拟平台并发修改期静默跳过整个应用(见 state.ts 注释)。
161
+ if (ctx.options.lifecycleSkipApps?.includes(app.code))
162
+ continue;
160
163
  // LifeCycleIEFacadeImpl.exportApps passes NO references per app.
161
164
  files.push(...appPackageFiles(ctx, app, {}, `metadata/app/applist/${app.code}`));
162
165
  }
package/dist/state.d.ts CHANGED
@@ -16,6 +16,12 @@ export interface FakeCloudPivotOptions {
16
16
  * channel keeps working). Pins the BI-boundary teaching offline.
17
17
  */
18
18
  readonly reportServiceDown?: boolean;
19
+ /**
20
+ * r65 b-F6(真机观察一次,回执在档):lifeCycleExport 在并发修改期可能**静默跳过**
21
+ * 整个应用(environment 7 应用、包里只有 6 个)。测试开关:集合里的 appCode 在
22
+ * lifeCycleExport 时不写包,apppackage/list 照常回——用于钉 CLI 的交叉核告警。
23
+ */
24
+ readonly lifecycleSkipApps?: readonly string[];
19
25
  /**
20
26
  * Optional override for the applicationList endpoint. When omitted, the
21
27
  * fake returns a single application keyed off `applicationCode` (default
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stalfh233/omc-fake-platform",
3
- "version": "0.6.55",
3
+ "version": "0.6.57",
4
4
  "description": "OMC 的内存假 CloudPivot 平台(wire 接缝的第二个适配器)+ HTTP 假服务器——@stalfh233/omc-cli 的测试与 bench 基准基座",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -18,7 +18,7 @@
18
18
  "build": "tsc --project tsconfig.build.json"
19
19
  },
20
20
  "dependencies": {
21
- "omc-core": "0.6.55"
21
+ "omc-core": "0.6.57"
22
22
  },
23
23
  "engines": {
24
24
  "node": ">=22.13"