Support Truthtrance No-Field shipment promises
Verify and publish checkpoint container / container (push) Canceled after 0s

This commit is contained in:
Quintine committed 2026-10-29 10:07:00 +11:00
1 parent 9ab9b9a613
commit 7fccd62814
16 files changed
+658 -32

No files matched your search

+1
View File
@@ -24,6 +24,7 @@ export function shipmentExpressionInputError(value: ShipmentExpression): string
...('terms' in node && Array.isArray(node.terms) ? { terms: node.terms.map(structure) } : {}),
};
if ('constant' in node) return node;
if ('kind' in node && node.kind === 'noField') return node;
// Keep the real territory for an exact sector so the shared parser checks
// their relationship; territory-only draft editing retains its old rules.
return { ...node, territory: Object.hasOwn(node, 'sector') && 'territory' in node