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:
17
app/Enums/TemplateGenerationSource.php
Normal file
17
app/Enums/TemplateGenerationSource.php
Normal file
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
namespace App\Enums;
|
||||
|
||||
enum TemplateGenerationSource: string
|
||||
{
|
||||
case Template = 'template';
|
||||
case AiText = 'ai_text';
|
||||
|
||||
public function label(): string
|
||||
{
|
||||
return match ($this) {
|
||||
self::Template => 'قالب آماده',
|
||||
self::AiText => 'ساخت با هوش مصنوعی از متن',
|
||||
};
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user