Add Schema.org JSON-LD, SEO meta overrides, and resilient bulk SMS.
Expose Organization/LocalBusiness and Product/BlogPosting jsonLd, optional seoMeta fields on content/categories, and continue mass SMS after per-recipient failures. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
co-authored by
Cursor
parent
db305c58a4
commit
aaf7a83742
@@ -11,6 +11,7 @@ import {
|
||||
Matches,
|
||||
Min,
|
||||
MinLength,
|
||||
MaxLength,
|
||||
} from 'class-validator';
|
||||
|
||||
export class ListProductsDto {
|
||||
@@ -112,6 +113,17 @@ export class CreateProductDto {
|
||||
@IsArray()
|
||||
@IsString({ each: true })
|
||||
tags?: string[];
|
||||
@IsOptional()
|
||||
@IsString()
|
||||
@MaxLength(70)
|
||||
seoMetaTitle?: string | null;
|
||||
|
||||
@IsOptional()
|
||||
@IsString()
|
||||
@MaxLength(160)
|
||||
seoMetaDescription?: string | null;
|
||||
|
||||
|
||||
|
||||
@IsOptional()
|
||||
@IsString()
|
||||
@@ -162,6 +174,17 @@ export class UpdateProductDto {
|
||||
@IsArray()
|
||||
@IsString({ each: true })
|
||||
tags?: string[];
|
||||
@IsOptional()
|
||||
@IsString()
|
||||
@MaxLength(70)
|
||||
seoMetaTitle?: string | null;
|
||||
|
||||
@IsOptional()
|
||||
@IsString()
|
||||
@MaxLength(160)
|
||||
seoMetaDescription?: string | null;
|
||||
|
||||
|
||||
|
||||
@IsOptional()
|
||||
@IsString()
|
||||
|
||||
Reference in New Issue
Block a user