Skip to content

Commit 3faac8a

Browse files
committed
fix(spec): the per-item publish's packageId description carries the save's no-package-unbound-draft qualifier
Description only. Claude-Session: https://claude.ai/code/session_01HTBbFnY86QT5g7BxeMo3Ub Co-authored-by: Claude <noreply@anthropic.com>
1 parent 4b03f30 commit 3faac8a

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎packages/spec/src/api/protocol.zod.ts‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1056,7 +1056,8 @@ export const PublishMetaItemRequestSchema = lazySchema(() => z.object({
10561056
+ 'exists, as the strict draft read does. For an item never published into '
10571057
+ 'a package it is the package-unbound draft, else the one package\'s '
10581058
+ 'draft. It is refused `409 RESOURCE_CONFLICT` when the active rows (or, '
1059-
+ 'with none, the drafts) are bound to two or more packages. ⚠️ `null` is '
1059+
+ 'with none and no package-unbound draft, the drafts) are bound to two or '
1060+
+ 'more packages. ⚠️ `null` is '
10601061
+ 'NOT the same as absent: the implementation branches on the KEY BEING '
10611062
+ 'PRESENT, and `null` pins the lookup to the package-UNBOUND row. Spread '
10621063
+ 'it in conditionally; a present-and-`undefined` key coerces to `null` '

0 commit comments

Comments
 (0)