Area: facade (src/bucket.ts)
Replication, lifecycle, and default-retention each have full read + write + add/remove helpers, but CORS is only reachable via Bucket.update({ corsRules }) and default SSE only via create/update. No getCorsRules/setCorsRules/addCorsRule/removeCorsRule or getDefaultEncryption/setDefaultEncryption.
Impact: inconsistent API; CORS (high-traffic for browser apps) forces hand-rolled read-modify-write-by-revision.
Expected: add CORS get/set/add/remove and default-SSE get/set helpers mirroring the existing config helpers.
Acceptance criteria:
Source: post-0.1.0 audit.
Area: facade (
src/bucket.ts)Replication, lifecycle, and default-retention each have full read + write + add/remove helpers, but CORS is only reachable via
Bucket.update({ corsRules })and default SSE only via create/update. NogetCorsRules/setCorsRules/addCorsRule/removeCorsRuleorgetDefaultEncryption/setDefaultEncryption.Impact: inconsistent API; CORS (high-traffic for browser apps) forces hand-rolled read-modify-write-by-revision.
Expected: add CORS get/set/add/remove and default-SSE get/set helpers mirroring the existing config helpers.
Acceptance criteria:
Source: post-0.1.0 audit.