Repository navigation
Commit d72c980
committed
refactor(metadata-protocol): keep non-private inferred-return methods in protocol.ts and widen the by-path censuses
The declaration bar on the built .d.ts refused the previous split: moving
getDiscovery's body made the compiler re-infer its printed return type
through the moved function, which dropped the @deprecated docblock on one
key. The pilot's rule is back: a non-private method with an inferred return
type stays. Regenerated: 61/284 methods move into 9 section modules;
protocol.ts goes from 23135 to 15318 lines.
The censuses that read protocol.ts by path now also read the modules the
split moved bodies to, where the class is spelled host. instead of this.
(ruling 6597555122): the recovery-door emit and projector counts, the
write-through and registerItem caller sets, the lookupArtifactItem sites,
the read-verb fold population (the signature is read off the class member,
the fold off the moved body) and the stored-row write census of the view
expansion reconcile.
Claude-Session: https://claude.ai/code/session_01WGufzgddMBbTQd9yVo4Yuz
Co-Authored-By: Claude <noreply@anthropic.com>1 parent c453e2f commit d72c980
17 files changed
Lines changed: 1733 additions & 1714 deletions
File tree
- packages/metadata-protocol/src
- scripts
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | | - | |
| 6 | + | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
44 | 43 | | |
45 | 44 | | |
46 | 45 | | |
| |||
367 | 366 | | |
368 | 367 | | |
369 | 368 | | |
370 | | - | |
371 | | - | |
372 | | - | |
373 | | - | |
374 | | - | |
375 | | - | |
376 | | - | |
377 | | - | |
378 | | - | |
379 | 369 | | |
380 | 370 | | |
381 | 371 | | |
| |||
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
37 | 36 | | |
38 | 37 | | |
39 | 38 | | |
| |||
141 | 140 | | |
142 | 141 | | |
143 | 142 | | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | 143 | | |
154 | 144 | | |
155 | 145 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | 64 | | |
69 | 65 | | |
70 | | - | |
71 | 66 | | |
72 | | - | |
73 | | - | |
74 | 67 | | |
75 | | - | |
76 | | - | |
77 | 68 | | |
78 | 69 | | |
79 | 70 | | |
| |||
91 | 82 | | |
92 | 83 | | |
93 | 84 | | |
94 | | - | |
95 | 85 | | |
96 | 86 | | |
97 | 87 | | |
| |||
176 | 166 | | |
177 | 167 | | |
178 | 168 | | |
179 | | - | |
180 | 169 | | |
181 | 170 | | |
182 | 171 | | |
| |||
223 | 212 | | |
224 | 213 | | |
225 | 214 | | |
226 | | - | |
227 | 215 | | |
228 | 216 | | |
229 | 217 | | |
230 | 218 | | |
231 | 219 | | |
232 | 220 | | |
233 | 221 | | |
234 | | - | |
235 | 222 | | |
236 | | - | |
237 | 223 | | |
238 | | - | |
239 | 224 | | |
240 | 225 | | |
241 | 226 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | | - | |
| 9 | + | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
46 | 45 | | |
47 | 46 | | |
48 | 47 | | |
| |||
1880 | 1879 | | |
1881 | 1880 | | |
1882 | 1881 | | |
1883 | | - | |
1884 | | - | |
1885 | | - | |
1886 | | - | |
1887 | | - | |
1888 | | - | |
1889 | | - | |
1890 | | - | |
1891 | | - | |
1892 | 1882 | | |
1893 | 1883 | | |
1894 | 1884 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
| 7 | + | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
52 | 51 | | |
53 | 52 | | |
54 | 53 | | |
| |||
205 | 204 | | |
206 | 205 | | |
207 | 206 | | |
208 | | - | |
209 | | - | |
210 | | - | |
211 | | - | |
212 | | - | |
213 | | - | |
214 | | - | |
215 | | - | |
216 | | - | |
217 | 207 | | |
218 | 208 | | |
219 | 209 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
371 | 371 | | |
372 | 372 | | |
373 | 373 | | |
374 | | - | |
375 | | - | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
376 | 379 | | |
377 | 380 | | |
0 commit comments