Initial commit of Vellum, an event photo product for guest uploads, host moderation, and original-quality galleries.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
export function originalObjectKey(eventId: string, photoId: string) {
|
||||
return `events/${eventId}/photos/${photoId}/original`;
|
||||
}
|
||||
|
||||
export function displayObjectKey(eventId: string, photoId: string) {
|
||||
return `events/${eventId}/photos/${photoId}/display.jpg`;
|
||||
}
|
||||
|
||||
export function thumbObjectKey(eventId: string, photoId: string) {
|
||||
return `events/${eventId}/photos/${photoId}/thumb.jpg`;
|
||||
}
|
||||
|
||||
export function photoObjectPrefix(eventId: string, photoId: string) {
|
||||
return `events/${eventId}/photos/${photoId}/`;
|
||||
}
|
||||
Reference in New Issue
Block a user