Why: src/contracts.ts is fully regenerated from Core by make contracts;
the hand-added interface there is deleted on every sync (surfaced as a
dirty tree in the Dev composite test run).
Evidence: npx vitest run 101/101, tsc --noEmit clean, knip 42 <= 43;
Dev composite CI is authoritative.
Impact: AdminZoneSection now lives in api.ts (backend-only endpoint
type, matching existing local-type precedent); contracts.ts restored to
the generated mirror; imports updated in store and AdminZone.
Refs: WP3-I3; follows Frontend PR #63.
weichen
merged commit d01a3ebd81 into main2026-10-12 02:50:01 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
src/contracts.ts由make contracts从 Core 权威全量重生成,PR #63 手加的 AdminZoneSection 会在每次同步时被删除(Dev 组合测试当场抓到脏树)。本 PR 把类型移到 api.ts(backend 专属端点类型的既有先例:本地定义),contracts.ts 恢复为纯镜像,store/AdminZone 导入随之更新。