Questions about an analysis or forecast, answered by the model that wrote it
CI / test (push) Successful in 1m5s
CI / build (push) Successful in 4m56s
CI / deploy (push) Skipped

- 3 questions in every package, +5 questions add-on (1 000 Ft); question units, refund on failure
- The answer sees the chart data, the analysis and earlier questions; at most 250 words
- Editable question prompt (Promptok → Kérdés-válasz); admins regenerate answers
- Package texts and FAQ updated

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
This commit is contained in:
feco
2026-11-18 18:44:20 +00:00
co-authored by Claude Opus 5.5
parent 22292f533b
commit 182d71fe65
33 changed files with 1233 additions and 59 deletions
+18 -1
View File
@@ -34,6 +34,8 @@ export interface Package {
synastry: number;
forecast: number;
persons: number;
/** Questions about the user's analyses and forecasts. */
questions: number;
badge: string | null;
list_price_huf: number;
savings_percent: number | null;
@@ -60,6 +62,21 @@ export interface UnitBalance {
natal: number;
synastry: number;
forecast: number;
/** Questions about a finished analysis or forecast. */
question: number;
}
/** A question about a finished analysis and its answer. */
export interface Question {
id: string;
analysis_id: string;
question: string;
status: "pending" | "running" | "done" | "failed";
answer: string | null;
error: string | null;
credits_charged: number;
created_at: string;
completed_at: string | null;
}
export interface PublicConfig {
@@ -229,7 +246,7 @@ export interface AdminUser {
analyses_left: UnitBalance;
}
export type PromptKind = "summary" | "natal" | "synastry" | "forecast";
export type PromptKind = "summary" | "natal" | "synastry" | "forecast" | "question";
/** Admin: the model writing one kind of analysis. */
export interface ModelFunction {