Skip to content

Commit e53dc61

Browse files
committed
chore(spec): regenerate api-surface-declarations on the merged base
The os-regen driver deferred on packages/spec/api-surface-declarations/data.txt (both sides changed it), so the merge commit carried this branch's side and silently dropped main's. Step 2 restored main's side into the worktree and this regeneration re-derives the branch's declarations on top, so the shard now holds both: this branch's `transactionsUnsupported` / `driverSupportsTransactions` declarations and main's `ResolveApiOptions.userExportAllowed` doc block. Claude-Session: https://claude.ai/code/session_01LvwGppdonww4zGLWZo5rho Co-authored-by: Claude <noreply@anthropic.com>
1 parent 2bab580 commit e53dc61

1 file changed

Lines changed: 13 additions & 2 deletions

File tree

  • packages/spec/api-surface-declarations

‎packages/spec/api-surface-declarations/data.txt‎

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21414,8 +21414,19 @@ declare const ReplicationConfigSchema: z.ZodObject<{
2141421414
interface ResolveApiOptions {
2141521415
/**
2141621416
* User-level export permission slot. `export` derives from `list` AND this
21417-
* flag. Always `true` this phase (there is no user-level export permission
21418-
* bit yet); wiring a real bit in is a zero-contract change (#3391 follow-up).
21417+
* flag.
21418+
*
21419+
* The flag carries the user-level export axis — `PermissionSetSchema`'s
21420+
* `allowExport` bit (`../security/permission.zod`, the authority on its
21421+
* semantics). That bit is an OPT-IN GRANT: unset or `false` means NO export.
21422+
* So this flag is genuinely `false` for a real caller whose permission sets
21423+
* withhold the grant, and `export` is withheld with it (#3391 / #3544).
21424+
*
21425+
* Omitting the option is the NO-USER-CONTEXT case and resolves to `true` —
21426+
* a resolve that carries no permissions does not narrow the object's own
21427+
* exposure, which is what lets {@link apiExposureDenialReason} stay a pure
21428+
* function of `enable`. A caller that HAS permission context passes the
21429+
* resolved bit explicitly.
2141921430
*/
2142021431
userExportAllowed?: boolean;
2142121432
}

0 commit comments

Comments
 (0)