refactor: 拆分业务、信任内容与公共工作台模块

This commit is contained in:
que01 committed 2026-10-12 05:11:26 +08:00
1 parent 357f271639
commit 466dc66907
33 files changed
+4950 -4500

No files matched your search

@@ -7,7 +7,10 @@ import test from "node:test";
const packagesRoot = path.resolve(path.dirname(fileURLToPath(import.meta.url)), "../..");
const runtimeRoot = path.resolve(packagesRoot, "../apps/miniapp");
const adminTrustEditor = fs.readFileSync(
path.resolve(packagesRoot, "../apps/admin/src/features/trust-content/TrustContentPage.tsx"),
path.resolve(
packagesRoot,
"../apps/admin/src/features/trust-content/components/TrustContentEditorModal.tsx",
),
"utf8",
);
@@ -191,7 +191,7 @@ test("shared brand facts have one editor and template-specific offering detail b
);
assert.match(runtimeRenderer, /item\.details\.background\s*\|\|\s*item\.desc/);
const runtimeProjection = fs.readFileSync(
path.resolve(packageRoot, "../apps/api/src/modules/public/public-workspace.controller.ts"),
path.resolve(packageRoot, "../apps/api/src/modules/public/public-workspace.runtime-mapper.ts"),
"utf8",
);
assert.match(runtimeProjection, /projectOfferingDetails\(config\)/);