@thejob/schema 2.5.0 → 2.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CLAUDE.md CHANGED
@@ -54,6 +54,12 @@ their casing is data, not style. Group `managedBy` / `visibility` / `status` are
54
54
  `JobAlertFrequency`. Changing a case is a data migration, not a refactor —
55
55
  existing documents will silently stop matching.
56
56
 
57
+ `src/taxonomy/` (thejob-taxonomy-service) is the one module whose constants are
58
+ `as const` arrays (`SupportedProposalStatuses`) with the type derived from them,
59
+ not enums: that service compares and assigns the values as plain literals
60
+ throughout, which a TS string enum would reject. Several keep underscores
61
+ (`spoken_language`, `rolled_back`) because they are stored as written.
62
+
57
63
  ## The consent fields are a compliance surface
58
64
 
59
65
  Three shapes here decide whether the platform may mail someone, and each behaves