feat: 增加门窗行业模板声明与验收夹具

This commit is contained in:
que01 committed 2026-09-23 01:07:56 +08:00
1 parent 8b85cc0403
commit 041a6a7f02
7 files changed
+70 -9

No files matched your search

+2 -2
View File
@@ -104,7 +104,7 @@ export interface ApiErrorBody {
requestId: string | null;
}
export interface BrandTemplateDefinition {
key: "personal" | "food";
key: "personal" | "food" | "doors";
version: string;
name: string;
description: string;
@@ -471,7 +471,7 @@ export class ApiClient {
}> {
return this.request("/admin/workspace");
}
installAdminTemplate(templateKey: "personal" | "food"): Promise<unknown> {
installAdminTemplate(templateKey: "personal" | "food" | "doors"): Promise<unknown> {
return this.request("/admin/workspace/install", { method: "POST", body: { templateKey } });
}
listAdminCapabilities(): Promise<CapabilityInstallation[]> {