@torrow/sdk-client 0.25.0 → 0.25.1
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.d.ts +1 -1
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -40575,7 +40575,7 @@ interface PlacementWriteResult {
|
|
|
40575
40575
|
kind: PlacementKindValues;
|
|
40576
40576
|
/** Статус по ACK, не readback. */
|
|
40577
40577
|
status: PlacementWriteStatusValues;
|
|
40578
|
-
/**
|
|
40578
|
+
/** Снятие противоположной связи по ACK: NoOp включает пустой ответ Pinned-маршрута `success:false, linkMetaList:[]`; неполный или неоднозначный ACK даёт Unknown. */
|
|
40579
40579
|
oppositeStatus?: PlacementWriteStatusValues;
|
|
40580
40580
|
}
|
|
40581
40581
|
/** Явный вес одного ребёнка для одного вызова reorder. */
|
package/dist/index.js
CHANGED
|
@@ -14051,7 +14051,9 @@ var PlacementFacade = class {
|
|
|
14051
14051
|
}
|
|
14052
14052
|
const status = included.linkMetaList.length > 0 ? "Applied" /* Applied */ : "NoOp" /* NoOp */;
|
|
14053
14053
|
let oppositeStatus = "Unknown" /* Unknown */;
|
|
14054
|
-
if (excluded?.success ===
|
|
14054
|
+
if (input.kind === "Pinned" /* Pinned */ && excluded?.success === false && Array.isArray(excluded.linkMetaList) && excluded.linkMetaList.length === 0) {
|
|
14055
|
+
oppositeStatus = "NoOp" /* NoOp */;
|
|
14056
|
+
} else if (excluded?.success === true && Array.isArray(excluded.linkMetaList)) {
|
|
14055
14057
|
if (excluded.linkMetaList.some(
|
|
14056
14058
|
(entry) => !matchesKey(entry.key, input.parentId, input.childId) || !Number.isInteger(entry.count) || (entry.count ?? 0) <= 0
|
|
14057
14059
|
)) {
|