Add partnership request API with media uploads and admin listing.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Alireza Hassani
2026-09-27 21:51:44 +03:30
co-authored by Cursor
parent b661877d77
commit 70c889ab4b
12 changed files with 403 additions and 4 deletions
+5
View File
@@ -8,6 +8,7 @@
* brands/{uuid}{ext}
* users/{uuid}{ext}
* stores/{uuid}{ext}
* partnership/{uuid}{ext}
* temp/{uuid}{ext}
*/
const ROOT = 'mana-collection';
@@ -40,6 +41,10 @@ export function websiteMediaKey(fileName: string): string {
return `${ROOT}/website/${fileName}`;
}
export function partnershipMediaKey(fileName: string): string {
return `${ROOT}/partnership/${fileName}`;
}
export function tempMediaKey(fileName: string): string {
return `${ROOT}/temp/${fileName}`;
}