feat(shipping-notice): 完成货代发货通知全门禁恢复MVP收口
完成全门禁恢复MVP版本交付:调整自动上传与重试配置,重构正式执行链路;修复多处代码bug,新增测试与审计工具;更新全流程文档与契约规范。
This commit is contained in:
1 parent
8e0bbf7a81
commit
c94d173f92
181 files changed
+12947
-1724
No files matched your search
@@ -0,0 +1,15 @@
|
||||
/**
|
||||
* features/chat/api/shipping.api.legacy-entrypoints.spec.ts
|
||||
* 用途:锁定 Shipping 前端 API 不再暴露直接匹配/导出业务入口。
|
||||
* 依赖:shipping.api 的模块导出。
|
||||
* 逻辑:正式业务动作只能由 Projection + Process Gate Action 驱动;旧函数名不得重新被页面调用。
|
||||
*/
|
||||
import * as shippingApi from './shipping.api';
|
||||
import { describe, expect, it } from 'vitest';
|
||||
|
||||
describe('shipping API runtime entrypoints', () => {
|
||||
it('does not expose direct inventory match or Excel generation actions', () => {
|
||||
expect(Object.prototype.hasOwnProperty.call(shippingApi, 'matchWorkspaceShippingInventory')).toBe(false);
|
||||
expect(Object.prototype.hasOwnProperty.call(shippingApi, 'generateWorkspaceShippingExcel')).toBe(false);
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user