Files
nym/tools
Yana Matrosova ec51855500 NYM-1199: fix @nymproject/types generation gap (export NodeAnnotation deps)
The generated NodeAnnotationV1/V2.ts imported DetailedNodePerformanceV1/V2,
DisplayRole, RoutingScore, ConfigScore and StressTestingScore, but those types
(all of which derive ts_rs::TS with an export_to) were missing from
tools/ts-rs-cli, so the files were never emitted — leaving dangling imports that
broke `tsc` for the whole @nymproject/types package.

Add the 6 types to ts-rs-cli (use + do_export!) and regenerate. The package now
builds with 0 tsc errors, and the full nym-wallet Jest run goes from "84 pass +
4 suites unable to run" to 101 pass / 0 fail — recovering delegationIdentity and
unbondedDelegation.acceptance. The 3 touched FamilyInvitation*/PastFamilyInvitation
files are doc-comment syncs from the regeneration (the `at: number` overrides and
enum variants are unchanged).

Out of scope / still failing for a separate reason: api/nodeStatus.test.ts and
api/networkOverview.test.ts reference the network value 'QA', which the Network
enum (nym-wallet-types → SANDBOX | MAINNET) no longer includes — an app-code
drift unrelated to families or type generation.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-10 18:57:13 +03:00
..
2026-06-05 10:36:36 +00:00
2026-06-04 12:15:20 +01:00
2026-06-04 12:15:20 +01:00