@stalfh233/omc-cli 0.6.75 → 0.6.76
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/lanes/form.js +10 -0
- package/package.json +3 -3
package/dist/lanes/form.js
CHANGED
|
@@ -435,6 +435,11 @@ export function registerFormLane(tools) {
|
|
|
435
435
|
: (listed.find((sheet) => sheet.formType === "DEFAULT_SHEET" && sheet.sheetCode === args.schemaCode)?.sheetCode ??
|
|
436
436
|
listed.find((sheet) => sheet.sheetCode === args.schemaCode)?.sheetCode ??
|
|
437
437
|
null);
|
|
438
|
+
// r79b 真机(本地 1.1.25):crm_contract 的 bizsheet/list 行 published:false、
|
|
439
|
+
// formType:null,但 form.get 同模型 present:true/15 控件/发布面存在(form.get 自带
|
|
440
|
+
// flagMismatch)。默认面只有旗标,若把它当权威就会写出「没发布」的假结论——
|
|
441
|
+
// 只在出现 false 旗标时加显式警告(全部 true 时不加噪声)。
|
|
442
|
+
const stalePublishedFlag = sheets.some((sheet) => sheet.published === false);
|
|
438
443
|
const base = {
|
|
439
444
|
schemaCode: args.schemaCode,
|
|
440
445
|
modelPresent,
|
|
@@ -443,6 +448,11 @@ export function registerFormLane(tools) {
|
|
|
443
448
|
defaultSheetCode,
|
|
444
449
|
defaultSheetBasis: "formType=DEFAULT_SHEET 且 sheetCode===schemaCode;本键由清单推导(form.get 只认显式 sheetCode)",
|
|
445
450
|
facesNote: "published 是平台旗标位;判「有没有发布面内容」用 detail:true(faces.published.present)",
|
|
451
|
+
...(stalePublishedFlag
|
|
452
|
+
? {
|
|
453
|
+
publishedFlagWarning: "清单里有 published:false——该旗标在部分构建会滞后(r79b 真机 1.1.25:crm_contract 旗标 false,但同模型 form.get 有 15 个控件、发布面存在)。不要据此断言「没发布/没有表单」;权威判定用 detail:true 的 faces.published.present",
|
|
454
|
+
}
|
|
455
|
+
: {}),
|
|
446
456
|
emptyNote: "sheets:[] 只代表该模型还没有表单行(bizsheet/list 已回),不是读不到",
|
|
447
457
|
...(sheetListUnavailable
|
|
448
458
|
? {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stalfh233/omc-cli",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.76",
|
|
4
4
|
"description": "CloudPivot 8.6 configuration capability CLI — governed, fail-closed, coverage-manifest bounded.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
},
|
|
57
57
|
"dependencies": {
|
|
58
58
|
"commander": "14.0.3",
|
|
59
|
-
"omc-core": "0.6.
|
|
59
|
+
"omc-core": "0.6.76",
|
|
60
60
|
"proper-lockfile": "4.1.2",
|
|
61
61
|
"write-file-atomic": "6.0.0",
|
|
62
62
|
"zod": "^3.23.8",
|
|
@@ -74,6 +74,6 @@
|
|
|
74
74
|
"directory": "packages/omc-cli"
|
|
75
75
|
},
|
|
76
76
|
"optionalDependencies": {
|
|
77
|
-
"@stalfh233/omc-fake-platform": "0.6.
|
|
77
|
+
"@stalfh233/omc-fake-platform": "0.6.76"
|
|
78
78
|
}
|
|
79
79
|
}
|