feat(ECR-012–016): 合规、题库、时辰刷新、头像、MBTI OEJTS 与埋点
落地输入合规、探索题库、报告日/时辰刷新、账号头像、OEJTS 量表,并补齐 H5 埋点与 Admin 漏斗;同步 ESS 工件、切至自建 Git、清理 GitHub Actions。 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -58,12 +58,15 @@ export interface AuthUser {
|
||||
id: string
|
||||
phone: string
|
||||
nickname: string
|
||||
avatar_url?: string
|
||||
}
|
||||
|
||||
export interface AuthSession {
|
||||
token: string
|
||||
expires_at: string
|
||||
user: AuthUser
|
||||
/** true when OpenLogin created a new account (auto-register) */
|
||||
is_new?: boolean
|
||||
}
|
||||
|
||||
/** 探索测试列表项 — 对齐 Go ScaleListItem / listScales 响应 */
|
||||
@@ -78,19 +81,28 @@ export interface ScaleQuestionOption {
|
||||
text: string
|
||||
}
|
||||
|
||||
export interface ScaleQuestion {
|
||||
id: string
|
||||
sort: number
|
||||
body: { prompt: string; options: ScaleQuestionOption[] }
|
||||
}
|
||||
|
||||
export interface ScaleDetail {
|
||||
slug: string
|
||||
title: string
|
||||
description: string
|
||||
access?: 'free' | 'membership' | string
|
||||
locked?: boolean
|
||||
questions: ScaleQuestion[]
|
||||
}
|
||||
|
||||
export interface ScaleQuestion {
|
||||
id: string
|
||||
sort: number
|
||||
body: {
|
||||
prompt: string
|
||||
format?: string
|
||||
left?: string
|
||||
right?: string
|
||||
dimension?: string
|
||||
options: ScaleQuestionOption[]
|
||||
}
|
||||
}
|
||||
|
||||
export interface ScaleSubmitResult {
|
||||
id: string
|
||||
result: Record<string, unknown>
|
||||
@@ -197,6 +209,10 @@ export interface HomeDailyTips {
|
||||
source: 'llm' | 'fallback' | string
|
||||
gua_name?: string
|
||||
day_part?: string
|
||||
as_of?: string
|
||||
shichen?: number
|
||||
shichen_name?: string
|
||||
valid_until?: string
|
||||
need_birth?: boolean
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user