8 lines
392 B
TypeScript
8 lines
392 B
TypeScript
export type PlanContext = {
|
|
template: { id: string; name: string; about: string; how: string[] }
|
|
fields: { key: string; label: string }[]
|
|
current: Record<string, string>
|
|
weather: unknown
|
|
}
|
|
export function runPlan(ctx: PlanContext, opts?: { topic?: string; feedback?: string; fixed?: { question?: string; cards?: string[] } }): Promise<{ topic: string; copy: Record<string, string> }>
|