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:
@@ -60,6 +60,11 @@ class KeysRelationManager extends RelationManager
|
||||
Toggle::make('is_required')
|
||||
->label('اجباری')
|
||||
->default(true),
|
||||
Toggle::make('is_repeatable')
|
||||
->label('تکرارشونده (برای ساخت با هوش مصنوعی)')
|
||||
->helperText('اگر فعال باشد، این کلید در اسلاید تکرارشونده قرار دارد و برای هر اسلاید تولیدشده با هوش مصنوعی مقدار جداگانه دریافت میکند.')
|
||||
->default(false)
|
||||
->visible(fn (Get $get): bool => $get('type') === TemplateKeyType::Text->value),
|
||||
TextInput::make('sort_order')
|
||||
->label('ترتیب نمایش')
|
||||
->numeric()
|
||||
@@ -90,6 +95,9 @@ class KeysRelationManager extends RelationManager
|
||||
IconColumn::make('is_required')
|
||||
->label('اجباری')
|
||||
->boolean(),
|
||||
IconColumn::make('is_repeatable')
|
||||
->label('تکرارشونده')
|
||||
->boolean(),
|
||||
TextColumn::make('sort_order')
|
||||
->label('ترتیب')
|
||||
->sortable(),
|
||||
|
||||
Reference in New Issue
Block a user