Add button and custom modal flow implemented

This commit is contained in:
adilallo
2026-05-07 21:15:27 -06:00
parent dee2dd800e
commit 26bcd61ea3
43 changed files with 1444 additions and 81 deletions
@@ -19,6 +19,8 @@ export type CustomMethodCardFieldBlock =
id: string;
blockTitle: string;
fileName?: string;
/** App path from `POST /api/uploads` (e.g. `/api/uploads/{uuid}`). */
assetUrl?: string;
}
| {
kind: "proportion";
@@ -51,6 +53,7 @@ const customMethodUploadBlockSchema = z
id: z.string().max(80),
blockTitle: z.string().max(200),
fileName: z.string().max(500).optional(),
assetUrl: z.string().max(512).optional(),
})
.strict();