UNPKG

morphic-engine-lukaswolfden

Version:

Advanced relationship analysis engine with psychological insights, momentum scoring, and seduction psychology framework

91 lines 2.51 kB
/** * Core Types for Morphic Engine */ export interface SentimentAnalysis { score: number; engagement: number; emotions?: string[]; } export interface MorphoScore { overall: number; positivity: number; engagement: number; empathy: number; authenticity: number; } export interface ConversationMessage { id?: string; user_id: string; userId: string; content: string; timestamp: Date | string; createdAt: any; sentiment?: SentimentAnalysis; metadata?: Record<string, any>; } export interface ConversationData { id?: string; participants: string[]; messages: ConversationMessage[]; metadata?: Record<string, any>; } export interface RelationshipAnalysis { conversation_id: string; participants: string[]; message_count: number; relationship_scores: Record<string, number>; emotional_patterns: EmotionalPattern[]; seduction_profiles?: Record<string, SeductionProfile>; compatibility_score?: number; processing_time_ms: number; timestamp: string; status: 'success' | 'error'; from_cache?: boolean; } export interface EmotionalPattern { type: string; confidence: number; description: string; timeframe: string; participants: string[]; } export interface SeductionProfile { primary_archetype: string; secondary_archetype?: string; archetype_confidence: number; attractive_traits: string[]; seduction_strengths: string[]; current_stage?: string; vulnerability_score: number; psychological_gaps: string[]; language_patterns: Record<string, any>; } export interface CompatibilityAnalysis { user1_id: string; user2_id: string; compatibility_score: number; user1_profile: SeductionProfile; user2_profile: SeductionProfile; insights: string[]; breakdown: { base_archetype_match: number; gap_alignment: number; stage_compatibility: number; }; } export interface MorphicEngineConfig { use_case?: 'dating_app' | 'therapy' | 'business' | 'general'; enable_seduction_analysis?: boolean; enable_voice_processing?: boolean; cache_enabled?: boolean; max_messages_per_analysis?: number; timezone?: string; } export interface AnalysisOptions { include_seduction_profiles?: boolean; include_compatibility?: boolean; include_predictions?: boolean; cache_results?: boolean; override_config?: Partial<MorphicEngineConfig>; } //# sourceMappingURL=types.d.ts.map