feat: 增加行业模板注册与切换能力

This commit is contained in:
que01 committed 2026-09-19 12:28:15 +08:00
1 parent 3c7ce2a8fa
commit 5b831b6740
7 files changed
+18 -6

No files matched your search

+2 -1
View File
@@ -4,13 +4,14 @@ import type {
ContactPreference,
FulfillmentType,
PublicService,
BrandTemplateKey,
} from "@personal-brand/types";
export type { BookingStatus } from "@personal-brand/types";
export interface BrandProfile {
id: string;
name: string;
templateKey: string;
templateKey: BrandTemplateKey;
tagline: string | null;
description: string | null;
avatarUrl: string | null;
+2
View File
@@ -3,6 +3,8 @@ export type BookingRequestType = "package" | "private_chef";
export type ContactPreference = "wechat" | "phone" | "none";
export type FulfillmentType = "pickup" | "delivery";
export type OrderStatus = BookingStatus;
export type BrandTemplateKey = "food" | "personal";
export const BRAND_TEMPLATE = { FOOD: "food", PERSONAL: "personal" } as const satisfies Record<Uppercase<BrandTemplateKey>, BrandTemplateKey>;
export const HTTP_STATUS = {
OK: 200,