Repository navigation
Commit a4cef6c
committed
docs(spec): correct the stale
The pin test's docblock told a reader that `EnvironmentTypeSchema` is declared
by `cloud/environment.zod.ts`, while the file's own import 28 lines below reads
`./discovery.zod`. `packages/spec/src/cloud/` was removed when the `./cloud`
subpath left `@objectstack/spec` (#16325, landed by #17372 / 776d64c) and
the enum was re-declared in `api/discovery.zod.ts:434`, where it lives today.
Two residues of that move are corrected, both prose:
- the declaration table row, now naming `api/discovery.zod.ts`, with one added
sentence recording why both rows name one module — so the next reader does
not read the repetition as a copy-paste slip;
- the reverse cross-reference note, which named the two carrier FILES; it now
names the two DECLARATIONS, which is what the sentence is actually about and
what survives the next move.
Re-derived rather than copied forward: both member lists are unchanged and
correct (`production sandbox development` / those three plus `test staging
preview trial`, `discovery.zod.ts:473` and `:434`), and the two folds the
docblock cites (`staging` -> `sandbox`, `test` -> `development`) match
`NODE_ENV_TO_DISCOVERY_ENVIRONMENT`.
No assertion, message or schema is touched.
Claude-Session: https://claude.ai/code/session_01JbZnqu8bt6YqfJsr9vaFb3
Co-authored-by: Claude <noreply@anthropic.com>cloud/environment.zod.ts attribution in the discovery-environment subset pin1 parent 5ed7ad9 commit a4cef6c
1 file changed
Lines changed: 7 additions & 3 deletions
Lines changed: 7 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
13 | 16 | | |
14 | 17 | | |
15 | 18 | | |
| |||
23 | 26 | | |
24 | 27 | | |
25 | 28 | | |
26 | | - | |
27 | | - | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
28 | 32 | | |
29 | 33 | | |
30 | 34 | | |
| |||
0 commit comments