fix(admin-panel): fix blog bugs and add ingredients editor, draft autosave, and category seeding
This commit is contained in:
1 parent
ebc61d5be2
commit
913e6acd3d
11 files changed
+375
-20
No files matched your search
@@ -38,6 +38,16 @@ export class ProductDto {
|
||||
@IsString()
|
||||
shortDescription?: string;
|
||||
|
||||
@ApiPropertyOptional({ description: 'متن ترکیبات و مواد تشکیلدهنده محصول' })
|
||||
@IsOptional()
|
||||
@IsString()
|
||||
ingredients?: string;
|
||||
|
||||
@ApiPropertyOptional({ description: 'لیست ترکیبات کلیدی و مواد مؤثره محصول' })
|
||||
@IsOptional()
|
||||
@IsArray()
|
||||
ingredientList?: string[];
|
||||
|
||||
@ApiPropertyOptional({ description: 'شناسه دستهبندی' })
|
||||
@IsOptional()
|
||||
@IsString()
|
||||
|
||||
Reference in new issue
Block a user