feat(api): add AI text-to-deck generation, wallet deposit structure, and profile/notification endpoints
Fills the gaps between the admin panel screens and the backend: a full free-text + slide-count + language -> AI-generated presentation flow with new slide-cloning logic in TemplateFillService, a "my presentations" list endpoint, a swappable payment-gateway structure for wallet top-ups (fake driver for now), and avatar upload / public-profile toggle / account deletion / password change / notification preference endpoints. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@@ -15,6 +15,8 @@ use Illuminate\Database\Eloquent\Relations\HasMany;
|
||||
'file_path',
|
||||
'thumbnail_path',
|
||||
'is_active',
|
||||
'is_ai_enabled',
|
||||
'ai_repeatable_slide_number',
|
||||
'created_by',
|
||||
])]
|
||||
class Template extends Model
|
||||
@@ -58,6 +60,8 @@ class Template extends Model
|
||||
{
|
||||
return [
|
||||
'is_active' => 'boolean',
|
||||
'is_ai_enabled' => 'boolean',
|
||||
'ai_repeatable_slide_number' => 'integer',
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user