Files
persionalBrand/packages/config/src/template-sample-content.ts
T

34 lines
824 B
TypeScript

import type { BrandTemplateKey } from "./template-keys.js";
export interface TemplateSampleContent {
templateKey: BrandTemplateKey;
brandConfig?: Record<string, unknown>;
inquiryFormName: string;
offerings: Array<{
kind: "service" | "product" | "package" | "subscription";
name: string;
coverUrl?: string;
priceText?: string;
priceAmount?: number;
config?: Record<string, unknown>;
summary: string;
categoryKey: string;
}>;
trustContent: Array<{
type: string;
title: string;
content: string;
summary?: string;
config?: Record<string, unknown>;
}>;
fields: Array<{
key: string;
label: string;
type: string;
required: boolean;
options?: Array<{ label: string; value: string }>;
placeholder?: string;
}>;
capabilityKey: string;
}