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:
Alireza Hassani
2026-09-27 08:57:08 +03:30
co-authored by Cursor
parent 4a9e10e614
commit 1a49576752
11 changed files with 699 additions and 43 deletions
+10
View File
@@ -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 })