@siming-org/core 0.7.0 → 0.7.2
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/index.js +2 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4100,7 +4100,6 @@ function diffAgentPayload(payload, entity) {
|
|
|
4100
4100
|
function diffModelAliasPayload(payload, entity) {
|
|
4101
4101
|
const diffs = [];
|
|
4102
4102
|
if (entity.name !== payload.name) diffs.push("name");
|
|
4103
|
-
if (entity.realModel !== payload.realModel) diffs.push("realModel");
|
|
4104
4103
|
return diffs;
|
|
4105
4104
|
}
|
|
4106
4105
|
|
|
@@ -4220,7 +4219,7 @@ async function buildImportPlan(deps, targetProjectId, bundle) {
|
|
|
4220
4219
|
name: payload.code,
|
|
4221
4220
|
status,
|
|
4222
4221
|
...changeSummary ? { changeSummary } : {},
|
|
4223
|
-
// 模型映射无 version
|
|
4222
|
+
// 模型映射无 version 概念(包侧内容即 name;realModel 归使用方环境,不参与比较——T202609170002)
|
|
4224
4223
|
impact: "global"
|
|
4225
4224
|
});
|
|
4226
4225
|
}
|
|
@@ -4444,7 +4443,7 @@ async function applyImport(deps, targetProjectId, bundle, decisions) {
|
|
|
4444
4443
|
continue;
|
|
4445
4444
|
}
|
|
4446
4445
|
if (existingAlias) {
|
|
4447
|
-
await deps.modelAliasRepo.updateByCode(payload.code, { name: payload.name
|
|
4446
|
+
await deps.modelAliasRepo.updateByCode(payload.code, { name: payload.name });
|
|
4448
4447
|
results.push({ kind: "modelAlias", name: payload.code, action: "updated" });
|
|
4449
4448
|
} else {
|
|
4450
4449
|
const createData = { code: payload.code, name: payload.name, realModel: payload.realModel };
|