Commit 5647006
`TenantPlan(Schema)` 曾由 `./cloud` 与 `./system` 各自导出一个声明:cloud 侧
5 值(free/starter/pro/enterprise/custom)嵌 `EnvironmentSchema.plan` /
`TenantContextSchema.plan` / `ProvisionTenantRequestSchema.plan`,cloud 仓
service-tenant 实际消费;system 侧 3 值子集只嵌 `TenantProvisioningRequest/
Result`,而该 provisioning 协议(连同 contracts 的 `IProvisioningService` /
`ITenantRouter`)objectstack / cloud / objectui 三仓 import 语句级实测零实现
零调用 —— declared-only,已被 cloud 的 `Provision*` 家族整体取代。按维护者
裁决(#4739,路线 B)删 system 侧全家族,cloud 侧一字未动。
- 删 system/provisioning.zod.ts(+测试):TenantPlan / TenantRegion /
TenantProvisioningStatus / ProvisioningStep / TenantProvisioningRequest /
TenantProvisioningResult 六 def 全家
- 删 contracts/provisioning-service.ts、contracts/tenant-router.ts(+测试):
两文件除三个 declared-only 接口外无他物,整文件退役;两 index 留 #4739
指路注释(#4212/#4451 同款)
- dual-source-exports.baseline.json:删 TenantPlan / TenantPlanSchema 两行
(12 → 10,rebase 携带 C6 #4745 落地后的起点)
- authorable-surface.json:21 行随三个整 def 出账(#4650 门禁判定三组
「def no longer emitted」自证路径,输出见 PR)
- json-schema.manifest.json:删六 def 键(#2978 蓄意移除通道)
- api-surface.json:恰好 15 行删除(./system 12 + ./contracts 3),零新增
- docs:system/provisioning.mdx 与幽灵页 cloud/provisioning.mdx 随生成器
消失,cloud/TenantPlan 文档回到真家 cloud/tenant.mdx(#4696 病灶随重名
根因消除);docs-import-surface.baseline.json 经生成器收缩一行
- 回归 pin(cloud/tenant.test.ts):compiler-API 断言全入口(package.json
exports 枚举)任何叫 TenantPlan(Schema) 的导出唯一解析到 cloud 声明、
./system 不再命名之、三个契约接口全包消失,防空转守卫;S1(重加声明)/
S2(禁止的 re-export 路线)sabotage 均红
- changeset:@objectstack/spec major(移除 15 个已发布导出名,TS2305),
零元数据迁移;strictness-ledger 实跑零变化(该文件不在台账辖区)
Claude-Session: https://claude.ai/code/session_0176qgxgCXTJCUv4YFLtusP9
Co-authored-by: Claude <noreply@anthropic.com>
1 parent 65f184b commit 5647006
21 files changed
Lines changed: 271 additions & 939 deletions
File tree
- .changeset
- content/docs/references
- cloud
- system
- packages/spec
- src
- cloud
- contracts
- system
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | 10 | | |
12 | 11 | | |
13 | 12 | | |
| |||
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
32 | | - | |
| 31 | + | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| |||
161 | 161 | | |
162 | 162 | | |
163 | 163 | | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
164 | 177 | | |
165 | 178 | | |
166 | 179 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
35 | 34 | | |
36 | 35 | | |
37 | 36 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | 13 | | |
15 | 14 | | |
16 | 15 | | |
| |||
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1162 | 1162 | | |
1163 | 1163 | | |
1164 | 1164 | | |
1165 | | - | |
1166 | | - | |
1167 | 1165 | | |
1168 | 1166 | | |
1169 | 1167 | | |
| |||
1324 | 1322 | | |
1325 | 1323 | | |
1326 | 1324 | | |
1327 | | - | |
1328 | | - | |
1329 | | - | |
1330 | | - | |
1331 | | - | |
1332 | | - | |
1333 | | - | |
1334 | | - | |
1335 | 1325 | | |
1336 | 1326 | | |
1337 | | - | |
1338 | | - | |
1339 | 1327 | | |
1340 | 1328 | | |
1341 | 1329 | | |
| |||
3752 | 3740 | | |
3753 | 3741 | | |
3754 | 3742 | | |
3755 | | - | |
3756 | 3743 | | |
3757 | 3744 | | |
3758 | 3745 | | |
| |||
3772 | 3759 | | |
3773 | 3760 | | |
3774 | 3761 | | |
3775 | | - | |
3776 | 3762 | | |
3777 | 3763 | | |
3778 | 3764 | | |
| |||
3853 | 3839 | | |
3854 | 3840 | | |
3855 | 3841 | | |
3856 | | - | |
3857 | 3842 | | |
3858 | 3843 | | |
3859 | 3844 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6569 | 6569 | | |
6570 | 6570 | | |
6571 | 6571 | | |
6572 | | - | |
6573 | | - | |
6574 | | - | |
6575 | | - | |
6576 | | - | |
6577 | | - | |
6578 | 6572 | | |
6579 | 6573 | | |
6580 | 6574 | | |
| |||
6887 | 6881 | | |
6888 | 6882 | | |
6889 | 6883 | | |
6890 | | - | |
6891 | | - | |
6892 | | - | |
6893 | | - | |
6894 | | - | |
6895 | | - | |
6896 | | - | |
6897 | | - | |
6898 | | - | |
6899 | | - | |
6900 | | - | |
6901 | | - | |
6902 | | - | |
6903 | | - | |
6904 | | - | |
6905 | 6884 | | |
6906 | 6885 | | |
6907 | 6886 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
106 | | - | |
107 | 106 | | |
108 | 107 | | |
109 | 108 | | |
| |||
0 commit comments