@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 +6 -0
- package/dist/index.cjs +626 -148
- package/dist/index.d.cts +590 -1
- package/dist/index.d.ts +590 -1
- package/dist/index.js +579 -146
- package/package.json +1 -1
- package/src/index.ts +11 -0
- package/src/taxonomy/taxonomy-filter.schema.ts +84 -0
- package/src/taxonomy/taxonomy.constant.ts +127 -0
- package/src/taxonomy/taxonomy.schema.ts +404 -0
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
|