Add OTP-first signup and product catalog PDF uploads.
Signup verifies phone before password; existing Meshkee accounts keep their password. Products can attach an optional PDF catalog (max 2MB) via Pars Pack media. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
co-authored by
Cursor
parent
4a9e10e614
commit
1a49576752
@@ -104,6 +104,11 @@ export class CreateProductDto {
|
||||
@IsString()
|
||||
featuredMediaId?: string;
|
||||
|
||||
/** Optional PDF catalog file (media id; application/pdf, max 2MB). */
|
||||
@IsOptional()
|
||||
@IsString()
|
||||
catalogMediaId?: string;
|
||||
|
||||
@IsOptional()
|
||||
@IsArray()
|
||||
@IsString({ each: true })
|
||||
@@ -165,6 +170,11 @@ export class UpdateProductDto {
|
||||
@IsString()
|
||||
featuredMediaId?: string | null;
|
||||
|
||||
/** Optional PDF catalog file (media id). Pass null to clear. */
|
||||
@IsOptional()
|
||||
@IsString()
|
||||
catalogMediaId?: string | null;
|
||||
|
||||
@IsOptional()
|
||||
@IsArray()
|
||||
@IsString({ each: true })
|
||||
|
||||
Reference in New Issue
Block a user