feat: add dedicated podcast modal player, integrate video modal player in product page, and add media metadata management in admin
Deploy Canina / deploy (push) Successful in 1m50s
Deploy Canina / deploy (push) Successful in 1m50s
This commit is contained in:
1 parent
27a1517464
commit
f9dad098ef
8 files changed
+954
-138
No files matched your search
@@ -379,8 +379,17 @@ export class AdminService {
|
||||
? [data.images]
|
||||
: [],
|
||||
podcastUrl: data.podcastUrl || null,
|
||||
podcastTitle: data.podcastTitle || null,
|
||||
podcastDescription: data.podcastDescription || null,
|
||||
podcastCover: data.podcastCover || null,
|
||||
videoUrl: data.videoUrl || null,
|
||||
videoTitle: data.videoTitle || null,
|
||||
videoDescription: data.videoDescription || null,
|
||||
videoCover: data.videoCover || null,
|
||||
pdfUrl: data.pdfUrl || null,
|
||||
pdfTitle: data.pdfTitle || null,
|
||||
pdfDescription: data.pdfDescription || null,
|
||||
pdfCover: data.pdfCover || null,
|
||||
metaTitle: data.metaTitle || '',
|
||||
metaDescription: data.metaDescription || '',
|
||||
keywords: data.keywords || '',
|
||||
@@ -435,8 +444,17 @@ export class AdminService {
|
||||
? [data.images]
|
||||
: undefined,
|
||||
podcastUrl: data.podcastUrl !== undefined ? data.podcastUrl : undefined,
|
||||
podcastTitle: data.podcastTitle !== undefined ? data.podcastTitle : undefined,
|
||||
podcastDescription: data.podcastDescription !== undefined ? data.podcastDescription : undefined,
|
||||
podcastCover: data.podcastCover !== undefined ? data.podcastCover : undefined,
|
||||
videoUrl: data.videoUrl !== undefined ? data.videoUrl : undefined,
|
||||
videoTitle: data.videoTitle !== undefined ? data.videoTitle : undefined,
|
||||
videoDescription: data.videoDescription !== undefined ? data.videoDescription : undefined,
|
||||
videoCover: data.videoCover !== undefined ? data.videoCover : undefined,
|
||||
pdfUrl: data.pdfUrl !== undefined ? data.pdfUrl : undefined,
|
||||
pdfTitle: data.pdfTitle !== undefined ? data.pdfTitle : undefined,
|
||||
pdfDescription: data.pdfDescription !== undefined ? data.pdfDescription : undefined,
|
||||
pdfCover: data.pdfCover !== undefined ? data.pdfCover : undefined,
|
||||
metaTitle: data.metaTitle,
|
||||
metaDescription: data.metaDescription,
|
||||
keywords: data.keywords,
|
||||
|
||||
@@ -113,16 +113,61 @@ export class ProductDto {
|
||||
@IsString()
|
||||
podcastUrl?: string | null;
|
||||
|
||||
@ApiPropertyOptional({ description: 'عنوان اختصاصی پادکست' })
|
||||
@IsOptional()
|
||||
@IsString()
|
||||
podcastTitle?: string | null;
|
||||
|
||||
@ApiPropertyOptional({ description: 'توضیحات پادکست' })
|
||||
@IsOptional()
|
||||
@IsString()
|
||||
podcastDescription?: string | null;
|
||||
|
||||
@ApiPropertyOptional({ description: 'تصویر کاور پادکست' })
|
||||
@IsOptional()
|
||||
@IsString()
|
||||
podcastCover?: string | null;
|
||||
|
||||
@ApiPropertyOptional({ description: 'لینک ویدیو' })
|
||||
@IsOptional()
|
||||
@IsString()
|
||||
videoUrl?: string | null;
|
||||
|
||||
@ApiPropertyOptional({ description: 'عنوان اختصاصی ویدیو' })
|
||||
@IsOptional()
|
||||
@IsString()
|
||||
videoTitle?: string | null;
|
||||
|
||||
@ApiPropertyOptional({ description: 'توضیحات ویدیو' })
|
||||
@IsOptional()
|
||||
@IsString()
|
||||
videoDescription?: string | null;
|
||||
|
||||
@ApiPropertyOptional({ description: 'تصویر کاور/پوستر ویدیو' })
|
||||
@IsOptional()
|
||||
@IsString()
|
||||
videoCover?: string | null;
|
||||
|
||||
@ApiPropertyOptional({ description: 'لینک فایل PDF' })
|
||||
@IsOptional()
|
||||
@IsString()
|
||||
pdfUrl?: string | null;
|
||||
|
||||
@ApiPropertyOptional({ description: 'عنوان فایل PDF' })
|
||||
@IsOptional()
|
||||
@IsString()
|
||||
pdfTitle?: string | null;
|
||||
|
||||
@ApiPropertyOptional({ description: 'توضیحات فایل PDF' })
|
||||
@IsOptional()
|
||||
@IsString()
|
||||
pdfDescription?: string | null;
|
||||
|
||||
@ApiPropertyOptional({ description: 'تصویر پیشنمایش فایل PDF' })
|
||||
@IsOptional()
|
||||
@IsString()
|
||||
pdfCover?: string | null;
|
||||
|
||||
@ApiPropertyOptional({ description: 'عنوان سئو' })
|
||||
@IsOptional()
|
||||
@IsString()
|
||||
|
||||
Reference in new issue
Block a user