disclosure.ts
This file
Path
apps/web/src/features/shared/disclosure.ts
12 lines · 533 bytes · TypeScript
Last changed by
Merge build/comments-web-features into mainoscabrielbefore adoption74bfc72
History of this fileTake it
Close the code browser and drafting wave: its decisions in two ADRs, every rule it added held, and its leftovers folded inoscabrielbefore adoption009640c
lines 1–12why, one step back1import type { Disclosure } from "@repo/protocol/domain/visibility";23export const disclosureWords = {4 counted: "counted: how many it holds, and when they open",5 declared: "declared: that it exists, with its kinds and reason",6 hidden: "hidden: nothing beyond its name",7 public: "public: everything",8 sealed:9 "sealed: counts, authors and a salted root; never names, paths or contents",10 writeOnly:11 "write-only: names, and who set each value and when; never a value",12} as const satisfies Record<Disclosure, string>;